gpt4 book ai didi

ios - 使用 faSTLane/gym 导出未签名的 ipa

转载 作者:行者123 更新时间:2023-11-29 11:56:14 24 4
gpt4 key购买 nike

我正在尝试使用 faSTLane 导出一个未签名 ipa。到目前为止我的健身房配置:

  desc "Archive ipa"
lane :archive
gym(
workspace: "MyApp.xcworkspace",
scheme: "my_scheme",
configuration: "Release",
output_name: "my_app" ,
output_directory: "$HOME/releases/",
archive_path: "/tmp/builds/my_app",
xcargs: "CODE_SIGN_IDENTITY= CODE_SIGNING_REQUIRED=NO",
clean: true,
)
end

创建存档工作正常,但 exportArchive 命令失败:

+ xcodebuild -exportArchive -exportOptionsPlist /var/folders/0z/g96lg8p16m12xmlhsqhymqd40000gn/T/gym_config20160815-92249-18a1h2g.plist -archivePath /tmp/builds/my_app.xcarchive -exportPath /var/folders/0z/g96lg8p16m12xmlhsqhymqd40000gn/T/gym_output20160815-92249-11hxnye
2016-08-15 13:42:06.531 xcodebuild[92599:6056507] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/0z/g96lg8p16m12xmlhsqhymqd40000gn/T/appConfig_2016-08-15_13-42-06.529.xcdistributionlogs'.
2016-08-15 13:42:07.724 xcodebuild[92599:6056507] [MT] IDEDistribution: Step failed: <IDEDistributionSigningAssetsStep: 0x7fc7bc578e90>: Error Domain=IDEFoundationErrorDomain Code=1 "No 'teamID' specified and no team ID found in the archive" UserInfo={NSLocalizedDescription=No 'teamID' specified and no team ID found in the archive}
error: exportArchive: No 'teamID' specified and no team ID found in the archive

Error Domain=IDEFoundationErrorDomain Code=1 "No 'teamID' specified and no team ID found in the archive" UserInfo={NSLocalizedDescription=No 'teamID' specified and no team ID found in the archive}

** EXPORT FAILED **

非常感谢任何帮助。

最佳答案

据我所知,XCode 7 导出过程(支持应用程序精简和位代码)不支持未签名的 IPA。

如果您将 use_legacy_build_API: true 传递给 gym,它应该会按预期工作。

关于ios - 使用 faSTLane/gym 导出未签名的 ipa,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38954475/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com