首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >fastlane不能出口ipa

fastlane不能出口ipa
EN

Stack Overflow用户
提问于 2022-03-24 09:19:38
回答 1查看 779关注 0票数 0

我的项目正在使用自动管理签名。

当我想使用fastlane输出ipa时,我得到了以下错误

我可以在Xcode的管理器窗口中找到归档文件

但无法导出到ipa文件。

有什么我没注意到的吗?

莱恩:

代码语言:javascript
复制
lane :CIUAT do
    gym(scheme: "MyApp",
        clean: true,
        export_method: "development",
        output_name: "MyApp.ipa",
        xcargs: "-allowProvisioningUpdates",
        include_symbols: true,
        include_bitcode: false
    )
end

错误:

代码语言:javascript
复制
[14:09:32]: ▸ Command line invocation:
[14:09:32]: ▸     
[14:09:32]: 
[14:09:32]: ⬆️  Check out the few lines of raw `xcodebuild` output above for potential hints on how to solve this error
[14:09:32]:   For the complete and more detailed error log, check the full log at:
[14:09:32]:   /Users/jeff/Library/Logs/gym/MyApp-MyApp.log
[14:09:32]: 
[14:09:32]: Looks like fastlane ran into a build/archive error with your project
[14:09:32]: It's hard to tell what's causing the error, so we wrote some guides on how
[14:09:32]: to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
[14:09:32]: Before submitting an issue on GitHub, please follow the guide above and make
[14:09:32]: sure your project is set up correctly.
[14:09:32]: fastlane uses `xcodebuild` commands to generate your binary, you can see the
[14:09:32]: the full commands printed out in yellow in the above log.
[14:09:32]: Make sure to inspect the output above, as usually you'll find more error information there
[14:09:32]: 
+------------------+-----------+
|         Lane Context         |
+------------------+-----------+
| DEFAULT_PLATFORM | ios       |
| PLATFORM_NAME    | ios       |
| LANE_NAME        | ios CIUAT |
| VERSION_NUMBER   | 1.7.6     |
+------------------+-----------+
[14:09:32]: Error building the application - see the log above

+------+--------------------+-------------+
|            fastlane summary             |
+------+--------------------+-------------+
| Step | Action             | Time (in s) |
+------+--------------------+-------------+
| 1    | default_platform   | 0           |
| 2    | cocoapods          | 4           |
| 3    | get_version_number | 0           |
|    | build_app          | 536         |
+------+--------------------+-------------+

[14:09:32]: fastlane finished with errors

[!] Error building the application - see the log above
EN

回答 1

Stack Overflow用户

发布于 2022-03-24 09:27:50

您的导出方法设置为开发,如果您希望在AppStore上上载,并且如果您只想分发用于测试的应用程序,则应该将其设置为: export_method:" app -store“,并提供临时配置文件,在这里查看更多详细信息( https://docs.fastlane.tools/actions/build_ios_app/ )。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/71599795

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档