英文:
Unable to generate ipa using Appollo
问题
Ipa collection - IPA文件未找到 - 错误代码95
Appollo
以下是我的日志:
----- 使用Flutter构建IPA -----
正在归档com.northbankclub.mobile...
使用Xcode项目中指定的开发团队自动签署iOS设备部署: 99L9TNDFH7
运行pod install... 698毫秒
运行Xcode构建...
Xcode归档完成。58.7秒
无法构建iOS应用程序
来自Xcode构建的错误输出:
↳
** 归档失败 **
Xcode的输出:
↳
在以下路径写入结果包:
/var/folders/xs/ypw_ztps3mg5wt2mtfymvvb40000gn/T/flutter_tools.8JQlkU/flutter_ios_build_temp_dir8mMpuE/temporary_xcresult_bundle
/* com.apple.actool.document.warnings */
/Users/appollo/Documents/app/ios/Runner/Assets.xcassets:./AppIcon.appiconset/(null)[2d][Icon-App-50x50@1x.png]: 警告:应用程序图标集"AppIcon"有6个未分配的子项。
/Users/appollo/Documents/app/ios/Runner/Assets.xcassets:./AppIcon.appiconset/(null)[2d][Icon-App-50x50@1x.png]: 警告:应用程序图标集"AppIcon"有6个未分配的子项。
/* com.apple.actool.document.notices */
/Users/appollo/Documents/app/ios/Runner/Assets.xcassets:./AppIcon.appiconset/[][ipad][76x76][][][1x][][][]: 注意:76x76@1x应用程序图标仅适用于面向iOS 10.0之前版本的iPad应用程序。
/* com.apple.actool.compilation-results */
/Users/appollo/Library/Developer/Xcode/DerivedData/Runner-crwpljrlpmylaoaeyrpgtwrpnsno/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications/Runner.app/AppIcon60x60@2x.png
/Users/appollo/Library/Developer/Xcode/DerivedData/Runner-crwpljrlpmylaoaeyrpgtwrpnsno/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications/Runner.app/AppIcon76x76@2x~ipad.png
/Users/appollo/Library/Developer/Xcode/DerivedData/Runner-crwpljrlpmylaoaeyrpgtwrpnsno/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications/Runner.app/Assets.car
/Users/appollo/Library/Developer/Xcode/DerivedData/Runner-crwpljrlpmylaoaeyrpgtwrpnsno/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Runner.build/Release-iphoneos/Runner.build/assetcatalog_generated_info.plist
/Users/appollo/Library/Developer/Xcode/DerivedData/Runner-crwpljrlpmylaoaeyrpgtwrpnsno/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Runner.build/Release-iphoneos/Runner.build/Script-DAF5D85F83E67F121E2D5545.sh: 第2行:/Users/appollo/Documents/app/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh: 权限被拒绝
Command PhaseScriptExecution failed with a nonzero exit code
注意:根据依赖项分析运行脚本构建阶段“Run Script”将在每次构建时运行,因为未选中“根据依赖关系分析”选项。 (在“Runner”项目的“Runner”项目中)
注意:根据依赖关系分析运行脚本构建阶段“Run Script”的选项未选中,将在每次构建时运行。 (在“Runner”项目的“Runner”项目中)
结果包写入路径:
/var/folders/xs/ypw_ztps3mg5wt2mtfymvvb40000gn/T/flutter_tools.8JQlkU/flutter_ios_build_temp_dir8mMpuE/temporary_xcresult_bundle
在为设备归档时遇到错误。
----- 获取修改后的源文件 -----
找不到IPA文件
在2023年6月12日08:00:20.058090+00:00收到构建停止命令。
<details>
<summary>英文:</summary>
I am trying to build a flutter webview app in ios version. I used appollo for generating the ipa file, but it turns out it cannot build the ipa file and display errors.
I run command "appollo build start", choosing type 'ad-hoc' and wait for it to run, and
I got the following error message:
Ipa collection - IPA file not found - Error code 95
[Appollo](https://appollo.space/)
Here are my logs:
(Removed for shorter code)
----- Building IPA with Flutter -----
Archiving com.northbankclub.mobile...
Automatically signing iOS for device deployment using specified development team in Xcode project: 99L9TNDFH7
Running pod install... 698ms
Running Xcode build...
Xcode archive done. 58.7s
Failed to build iOS app
Error output from Xcode build:
↳
** ARCHIVE FAILED **
Xcode's output:
↳
Writing result bundle at path:
/var/folders/xs/ypw_ztps3mg5wt2mtfymvvb40000gn/T/flutter_tools.8JQlkU/flutter_ios_build_temp_dir8mMpuE/temporary_xcresult_bundle
/* com.apple.actool.document.warnings /
/Users/appollo/Documents/app/ios/Runner/Assets.xcassets:./AppIcon.appiconset/(null)[2d][Icon-App-50x50@1x.png]: warning: The app icon set "AppIcon" has 6 unassigned children.
/Users/appollo/Documents/app/ios/Runner/Assets.xcassets:./AppIcon.appiconset/(null)[2d][Icon-App-50x50@1x.png]: warning: The app icon set "AppIcon" has 6 unassigned children.
/ com.apple.actool.document.notices /
/Users/appollo/Documents/app/ios/Runner/Assets.xcassets:./AppIcon.appiconset/[][ipad][76x76][][][1x][][][]: notice: 76x76@1x app icons only apply to iPad apps targeting releases of iOS prior to 10.0.
/ com.apple.actool.compilation-results */
/Users/appollo/Library/Developer/Xcode/DerivedData/Runner-crwpljrlpmylaoaeyrpgtwrpnsno/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications/Runner.app/AppIcon60x60@2x.png
/Users/appollo/Library/Developer/Xcode/DerivedData/Runner-crwpljrlpmylaoaeyrpgtwrpnsno/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications/Runner.app/AppIcon76x76@2x~ipad.png
/Users/appollo/Library/Developer/Xcode/DerivedData/Runner-crwpljrlpmylaoaeyrpgtwrpnsno/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications/Runner.app/Assets.car
/Users/appollo/Library/Developer/Xcode/DerivedData/Runner-crwpljrlpmylaoaeyrpgtwrpnsno/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Runner.build/Release-iphoneos/Runner.build/assetcatalog_generated_info.plist
/Users/appollo/Library/Developer/Xcode/DerivedData/Runner-crwpljrlpmylaoaeyrpgtwrpnsno/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Runner.build/Release-iphoneos/Runner.build/Script-DAF5D85F83E67F121E2D5545.sh: line 2: /Users/appollo/Documents/app/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh: Permission denied
Command PhaseScriptExecution failed with a nonzero exit code
note: Building targets in dependency order
note: Run script build phase 'Run Script' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Runner' from project 'Runner')
note: Run script build phase 'Thin Binary' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Runner' from project 'Runner')
Result bundle written to path:
/var/folders/xs/ypw_ztps3mg5wt2mtfymvvb40000gn/T/flutter_tools.8JQlkU/flutter_ios_build_temp_dir8mMpuE/temporary_xcresult_bundle
Encountered error while archiving for device.
----- Getting modified sources -----
IPA file not found
Build stop order received at 2023-06-12 08:00:20.058090+00:00
</details>
# 答案1
**得分**: 0
谢谢您提出这个问题。这个错误是由于将源代码发送到构建机器时使用的zip格式未在pod脚本上保留执行权限引起的。
现已修复。
Appollo团队
<details>
<summary>英文:</summary>
thank you for raising this issue. This error was due to the zip format used to send the source code to the build machine not keeping the execution permission on the pod scripts.
It has now been fixed.
The Appollo team
</details>
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论