我尝试在 iPhone 上本地运行 Flutter 代码,但每当我尝试运行它时,我都会收到以下错误消息:
Error (Xcode): Cycle inside Runner; building could produce unreliable results.
Cycle details:
→ Target 'Runner': ExtractAppIntentsMetadata
○ Target 'Runner' has copy command from '/Users/matthewlee/flutterflow/AppName/build/ios/Debug-iphoneos/ImageNotification.appex' to
'/Users/matthewlee/flutterflow/AppName/build/ios/Debug-iphoneos/Runner.app/PlugIns/ImageNotification.appex'
○ Target 'Runner' has compile command with input '/Users/matthewlee/flutterflow/AppName/ios/Runner/Base.lproj/LaunchScreen.storyboard'
○ That command depends on command in Target 'Runner': script phase “Thin Binary”
○ Target 'Runner' has process command with output '/Users/matthewlee/flutterflow/AppName/build/ios/Debug-iphoneos/Runner.app/Info.plist'
我一直在尝试重新安排 Xcode 中的构建阶段,但似乎还没有任何效果。如何解决阻止我的应用程序运行的问题?
以下是修复构建问题的一些常见解决方案。
如果上述步骤不起作用,您可以尝试以下方法:
如果您仍然遇到问题,可以尝试以下操作: