我的项目正在使用自动管理签名。
当我想使用fastlane输出ipa时,我得到了以下错误
我可以在Xcode的管理器窗口中找到归档文件
但无法导出到ipa文件。
有什么我没注意到的吗?
莱恩:
lane :CIUAT do
gym(scheme: "MyApp",
clean: true,
export_method: "development",
output_name: "MyApp.ipa",
xcargs: "-allowProvisioningUpdates",
include_symbols: true,
include_bitcode: false
)
end错误:
[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发布于 2022-03-24 09:27:50
您的导出方法设置为开发,如果您希望在AppStore上上载,并且如果您只想分发用于测试的应用程序,则应该将其设置为: export_method:" app -store“,并提供临时配置文件,在这里查看更多详细信息( https://docs.fastlane.tools/actions/build_ios_app/ )。
https://stackoverflow.com/questions/71599795
复制相似问题