错误(Xcode):转轮内循环;建造可能产生不可靠的结果。循环详情:→目标‘奔跑者’:ExtractAppIntentsMetadata ○目标"Runner"将命令从"/Users/datnguyen/WorkSpaces/project_template/flutter_getx_template/build/ios/log-develop-iphonesimulator/ImageNotification. appex "复制到"/Users/datnguyen/WorkSpaces/project_template/flutter_getx_template/build/ios/log-develop-iphonesimulator/Runner. app/PlugIns/ImageNotification. appex" ○该命令取决于目标"Runner"中的命令:脚本阶段"精简二进制文件" ○目标"Runner"具有带输出的进程命令"/Users/datnguyen/WorkSpaces/project_template/flutter_getx_template/build/ios/Pig-develop-iphonesimulator/Runner. app/Info. plist "○目标" Runner "具有从"/Users/datnguyen/WorkSpaces/project_template/flutter_getx_template/build/ios/Pig-develop-iphonesimulator/ImageNotification. appex"到"/Users/datnguyen/WorkSpaces/project_template/flutter_getx_template/build/ios/Pig-develop-iphonesimulator/Runner. app/PlugIns/ImageNotification. appex "的复制命令 原始依赖循环跟踪: 目标:-> 节点:-> 命令:-> node:/Users/datnguyen/Library/Developer/Xcode/DerivedData/Runner-bhtoumdqsgiaregnjytyoapucbjm/Build/Intermediates. noindex/Runner. build/ExtractedAppShortcutsMetadata. stringsdata-> 命令:P0:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:log-develop:ExtractAppIntentsMetadata-> 节点:-> 命令:P0:Gate target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase7--cp--embed-pods-frameworks-> node:/Users/datnguyen/Library/Developer/Xcode/DerivedData/Runner-bhtoumdqsgiaregnjytyoapucbjm/Build/Intermediates. noindex/Runner. build/InputFileList-1739A84D50484D6E4E41EDFB-Pods-Runner-frameworks-Inputg-develop-input-files-744cbbea3dded29901e6b34dae91a16a-resolved. xcfilm-> 命令:P2:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3bebb 2e9f90bde3f49-:开发:WritecompliaryFile/Users/datnguyen/Library/Developer/Xcode/DerivedData/Runner-bhtoumdqsgiaregnjytyoapucbjm/Build/Intermediates. noindex/Runner。build/programm-develop-iphonesimulator/Runner。build/InputFileList-1739A84D50484D6E4E41EDFB-Pods-Runner-frameworks-Bullg-develop-input-files-744cbbea3dded29 901e6b34dae91a16a已解决。xcfilm-> 节点:-> 命令:P0:Gate target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase6-copy-files-> node:<Copy/Users/datnguyen/WorkSpaces/project_template/flutter_getx_template/build/ios/trigg-develop-iphonesimulator/www.example.com>-> 循环点-> 命令:P0:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Pog-develop:Copy/Users/datnguyen/WorkSpaces/project_template/flutter_getx_template/build/ios/Pog-develop-iphonesimulator/www.example.com/Users/datnguyen/WorkSpaces/project_template/flutter_getx_template/build/ios/Pog-develop-iphonesimulator/ImageNotification. appex-> 节点:-> 命令:P0:Gate target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase5-thin-binary-> 节点:-> 命令:P2:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Pug-develop:PhaseScriptExecution Thin Binary/Users/datnguyen/Library/Pugoper/Xcode/DerivedData/Runner-bhtoumdqsgiaregnjytyoapucbjm/Build/Intermediates.noindex/Runner.build/Pug-develop-iphonesimulator/Runner.build/Script-3B06AD1E1E4923F5004D2608.sh-> node:/Users/datnguyen/WorkSpaces/project_template/flutter_getx_template/build/ios/tag-develop-iphonesimulator/www.example.com-> 目录树签名:~-> 目录目录:/Users/datnguyen/WorkSpaces/project_template/flutter_getx_template/build/ios/tag-develop-iphonesimulator/www.example.com-> node:/Users/datnguyen/WorkSpaces/project_template/flutter_getx_template/build/ios/tag-develop-iphonesimulator/www.example.com-> 命令:P0:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Pog-develop:ProcessInfoPlistFile/Users/datnguyen/WorkSpaces/project_template/flutter_getx_template/build/ios/Pog-develop-iphonesimulator/www.example.com/Users/datnguyen/WorkSpaces/project_template/flutter_getx_template/ios/Runner/Info. plist-> node:/Users/datnguyen/WorkSpaces/project_template/flutter_getx_template/build/ios/tag-develop-iphonesimulator/www.example.com-> 命令:P0:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Pog-develop:Copy/Users/datnguyen/WorkSpaces/project_template/flutter_getx_template/build/ios/Pog-develop-iphonesimulator/www.example.com/Users/datnguyen/WorkSpaces/project_template/flutter_getx_template/build/ios/Pog-develop-iphonesimulator/ImageNotification. appex
你好,我在XCode 15和Flutter 3.13.6上遇到了问题。我第一次运行它是没有事情发生,但当我打开XCode和通知服务扩展,它不能运行了,事件它的显示Xcode build done. 22.7s Failed to build iOS app
2条答案
按热度按时间xeufq47z1#
在
Xcode>Targets>Runner>Build Phases
中,我按照here的指示将Embed Framework
、[CP] Embed Pods Frameworks
和Embed Foundation Extensions
拖到“运行脚本”之前。以下是它之后的样子
5uzkadbs2#
在我的例子中,如果你在构建阶段中把“嵌入基础扩展”移到“复制捆绑资源”的正下方,似乎就可以解决这个问题。