我尝试使用fastlane导出 unsigned 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 **
任何帮助非常感谢。
答案 0 :(得分:1)
据我所知,XCode 7导出过程(支持应用程序减肥和位代码)不支持未签名的IPA。
如果您将Double.parseDouble()
传递到健身房,它应该按预期工作。