我正在做一个Kotlin多平台移动项目,在try 构建iOS端时,我遇到了与脚本构建阶段相关的构建失败.以下是我收到的警告:
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'iosApp' from project 'iosApp')
后面紧跟一条构建失败消息:
The following build commands failed:
PhaseScriptExecution Run\ Script /Users/moataz/AndroidStudioProjects/MyApplication/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/Script-7555FFB5242A651A00829871.sh (in target 'iosApp' from project 'iosApp') (1 failure)
我不确定如何处理此警告和环境中的后续错误.在Android Studio中构建KMM项目的iOS部分时,有人遇到过类似的问题吗?如有任何关于如何解决这个问题或进一步诊断问题的建议,我们将不胜感激.