【发布时间】:2023-03-27 06:57:01
【问题描述】:
我有一个使用 Firebase / Firestore 的颤振应用程序。在我的颤振应用程序中,颤振构建 iOS 正在运行,但在 Xcode 中,存档和构建通常失败
Command PhaseScriptExecution failed with a nonzero exit code
我已经试过了:
- 钥匙串访问->右键登录->再次锁定和解锁->清除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
【问题讨论】:
-
你能解决吗?
-
@Nehal 使用不同的机器解决了它,所以我猜它是我电脑缓存中的东西。但它不在派生数据或其他东西中,因为我在尝试使用其他电脑等其他解决方案之前删除并清理了 1000 次之类的东西
标签: ios xcode firebase flutter google-cloud-firestore