fastlane使用deliver提交:
deliver(force: true,
submit_for_review: true,
)
INFO [2017-12-15 15:19:57.10]: Successfully selected build
INFO [2017-12-15 15:19:57.10]: Submitting the app for review...
INFO [2017-12-15 15:20:10.33]: Successfully submitted the app for review!
虽然fastlane命令调用成功,log信息也正确,但是在iTunesconnect上版本并没有提交;这种情况一般是submission_information没有配置。
解决方案:
1、在deliver中配置submission_information
deliver(submission_information: {
add_id_info_limits_tracking: true,
add_id_info_serves_ads: true,
add_id_info_tracks_action: true,
add_id_info_tracks_install: true,
add_id_info_uses_idfa: true,
content_rights_has_rights: true,
content_rights_contains_third_party_content: true,
export_compliance_platform: 'ios',
export_compliance_compliance_required: false,
export_compliance_encryption_updated: false,
export_compliance_app_type: nil,
export_compliance_uses_encryption: false,
export_compliance_is_exempt: false,
export_compliance_contains_third_party_cryptography: false,
export_compliance_contains_proprietary_cryptography: false,
export_compliance_available_on_french_store: false
});
2、在你的deliverfile中配置:
submission_information({
add_id_info_limits_tracking: true,
add_id_info_serves_ads: true,
add_id_info_tracks_action: true,
add_id_info_tracks_install: true,
add_id_info_uses_idfa: true,
content_rights_has_rights: true,
content_rights_contains_third_party_content: true,
export_compliance_platform: 'ios',
export_compliance_compliance_required: false,
export_compliance_encryption_updated: false,
export_compliance_app_type: nil,
export_compliance_uses_encryption: false,
export_compliance_is_exempt: false,
export_compliance_contains_third_party_cryptography: false,
export_compliance_contains_proprietary_cryptography: false,
export_compliance_available_on_french_store: false
});