gpt4 book ai didi

ios - Xcode 11.6 失败并显示 : Command PhaseScriptExecution failed with a nonzero exit code

转载 作者:行者123 更新时间:2023-12-01 21:45:56 25 4
gpt4 key购买 nike

我有一个使用 Firebase/Firestore 的 flutter 应用程序。在我的 flutter 应用程序中, flutter 构建 iOS 正在运行,但在 Xcode 中,存档和构建通常失败

Command PhaseScriptExecution failed with a nonzero exit code
我已经尝试过:
  • 钥匙串(keychain)访问 -> 右键单击​​登录 -> 再次锁定和解锁 -> 清除 Xcode 项目并再次构建。
  • pod deintegrate 等也无法正常工作

  • 但它不起作用。还尝试设置新项目,但在 firestore 集成后失败。
    The domain/default pair of (/Users/username/Library/Developer/Xcode/DerivedData/Runner-bhnxzkbbayxxhjauqwbcxaiedcis/Build/Products/Debug-iphonesimulator/Runner.app/Frameworks/App.framework/flutter_assets/ios/Flutter/App.framework/Info.plist, CFBundleExecutable) does not exist
    fatal error: lipo: can't map input file: /Users/username/Library/Developer/Xcode/DerivedData/Runner-bhnxzkbbayxxhjauqwbcxaiedcis/Build/Products/Debug-iphonesimulator/Runner.app/Frameworks/App.framework/flutter_assets/ios/Flutter/App.framework/ (Invalid argument)
    fatal error: lipo: can't map input file: /Users/username/Library/Developer/Xcode/DerivedData/Runner-bhnxzkbbayxxhjauqwbcxaiedcis/Build/Products/Debug-iphonesimulator/Runner.app/Frameworks/App.framework/flutter_assets/ios/Flutter/App.framework/ (Invalid argument)
    Failed to extract x86_64 for /Users/username/Library/Developer/Xcode/DerivedData/Runner-bhnxzkbbayxxhjauqwbcxaiedcis/Build/Products/Debug-iphonesimulator/Runner.app/Frameworks/App.framework/flutter_assets/ios/Flutter/App.framework/. Running lipo -info:
    fatal error: lipo: can't map input file: /Users/username/Library/Developer/Xcode/DerivedData/Runner-bhnxzkbbayxxhjauqwbcxaiedcis/Build/Products/Debug-iphonesimulator/Runner.app/Frameworks/App.framework/flutter_assets/ios/Flutter/App.framework/ (Invalid argument)
    Command PhaseScriptExecution failed with a nonzero exit code

    最佳答案

    好的,所以在我的情况下,问题发生在 flutter 升级之后。我的应用程序在稳定 channel 上,我将其更新为当前稳定版本。
    在此之前它在 1.17.5 上运行,一切正常,错误发生在 1.20.0
    所以解决方案是降级回 1.17.5

    关于ios - Xcode 11.6 失败并显示 : Command PhaseScriptExecution failed with a nonzero exit code,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62243013/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com