我在Xcode中打开了一个Flutter项目。我可以使用模拟器在调试模式下运行它,但它不会在发布模式下运行,也不会被打包。我找不到具体的错误信息。我不知道为什么。有人能帮助我吗?
PhaseScriptExecution Run\ Script /Users/xxx/Library/Developer/Xcode/DerivedData/Runner-dxgaiocdvdjvonbkpwvrsyrlzgza/Build/Intermediates.noindex/Runner.build/Release-iphonesimulator/Runner.build/Script-9740EEB61CF901F6004384FC.sh (in target 'Runner' from project 'Runner')
...
/bin/sh -c /Users/xxx/Library/Developer/Xcode/DerivedData/Runner-dxgaiocdvdjvonbkpwvrsyrlzgza/Build/Intermediates.noindex/Runner.build/Release-iphonesimulator/Runner.build/Script-9740EEB61CF901F6004384FC.sh
Failed to package /Users/xxx/Desktop/WorkSpace/star_fission.
Command PhaseScriptExecution failed with a nonzero exit code
我删除了Podfile.lock、Pods和.xcworkspace,并重新执行了Pod安装,但没有成功。
1条答案
按热度按时间0md85ypi1#
你能试试这个吗转到