报错1:
The following build commands failed:
Check dependencies
Check dependencies
Check dependencies
Check dependencies
(4 failures)
Build step 'Xcode' marked build as failure
Finished: FAILURE
解决方法:修改全部pods第三方库,Code Signing Style改为:Manual;Provisioning_profile改为:None
解决方法二:
修改Podfile文件,在文件最后增加下面代码
post_installdo|installer|
installer.pods_project.build_configurations.each do |config| config.build_settings['PROVISIONING_PROFILE_SPECIFIER'] =''
end
end
报错二:Xcode9后没有PackageApplication工具,使用 xcrun -sdk iphoneos PackageApplication -v xxx/xxx.app -o ${save_file_path}报错
解决方法:
# 生产ipa文件
cd ~/shareFolder/jobs/develop/tmp/xxx.xcarchive/Products/Applications
mkdir -p Payload
mv gbss-mpos.app ./Payload
zip -r gbss-mpos.ipa Payload
cp xxx.ipa ${save_file_path}