【发布时间】:2020-01-16 13:47:29
【问题描述】:
当我尝试将颤振添加到现有的 iOS 应用程序时出现错误,它在 android 端运行良好,在 IOS 中我收到此错误消息:
/Users/mac/Library/Developer/Xcode/DerivedData/Fixit- dffmmspbqmueppghdvveloietubr/Build/Intermediates.noindex/Fixit.build/Debug- iphoneos/Fixit.build/Script-04B0EA9A232E6ABD008A0448.sh: line 3: /packages/flutter_tools/bin/xcode_backend.sh: No such file or directory
/Users/mac/Library/Developer/Xcode/DerivedData/Fixit- dffmmspbqmueppghdvveloietubr/Build/Intermediates.noindex/Fixit.build/Debug- iphoneos/Fixit.build/Script-04B0EA9A232E6ABD008A0448.sh: line 4: /packages/flutter_tools/bin/xcode_backend.sh: No such file or directory
Command PhaseScriptExecution failed with a nonzero exit code
在我的 pod 文件中,我在目标应用程序中添加了这个:
flutter_application_path = 'Users/mac/FixitApps/customerApp/fixit_flutter_customer_app/'
eval(File.read(File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')), binding)
我遵循了这个教程:https://github.com/flutter/flutter/wiki/Add-Flutter-to-existing-apps
【问题讨论】:
标签: ios xcode flutter command-line podfile