颤抖:无法构建ios(xcode问题,pod问题?)

时间:2020-02-11 22:34:53

标签: ios xcode flutter

复制步骤

只需尝试将我的应用发布到ios商店。已在Play商店中提供。 我无法在Xcode中存档,经常遇到问题。当前尝试存档时存在以下问题:

image

当尝试在ios目录中运行pod install时,我继续收到此警告(根据我的研究,它似乎更多是错误的):

image

我尝试关注this very long thread线程中的所有内容以解决此问题,但是没有任何效果。

我能够通过取消注释Podfile中的第2行platform :ios, '9.0'来删除另一个警告。

我尝试在进行更改时关闭Xcode,并尝试重新启动计算机。

我可以flutter run,并且该应用程序在连接到Macbook时可以在iPhone上正常运行。

我尝试过的所有其他线程:

预期结果:

我可以在Xcode中成功存档。

实际结果:

Flutter医生似乎表明一切正常,但是尝试归档时我仍然遇到此错误。

AdministorsMBP4:mem_plus_plus matt$ flutter doctor --verbose
[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.15.3 19D76, locale en-US)
    • Flutter version 1.12.13+hotfix.5 at /Users/matt/development/flutter
    • Framework revision 27321ebbad (9 weeks ago), 2019-12-10 18:15:01 -0800
    • Engine revision 2994f7e1e6
    • Dart version 2.7.0


[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
    • Android SDK at /Users/matt/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.1, Build version 11A1027
    • CocoaPods version 1.8.4

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 37.1.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[!] IntelliJ IDEA Community Edition (version 2019.2.4)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[✓] Connected device (1 available)
    • Takkeezi’s iPhone • {redacted} • ios • iOS 12.4.4

enter image description here

1 个答案:

答案 0 :(得分:0)

尝试这个。

  1. 干净整洁
  2. pod安装
  3. 构建项目

检查广告连播模块

enter image description here

Pod文件

enter image description here