输入命令xcrun altool
查看所有命令
需要的是validate-app
和 upload-app
使用命令验证
xcrun altool --validate-app -f /Users/haluoweiwei/Desktop/yibangbang1.1.4.1ban.ipa -t ios -u yibangbang2019@126.com -p Gish110677 --apiKey P68C8LJP79 --apiIssuer 23e934c6-162f-445e-a978-a2a01c948f94 --verbose
使用命令上传
xcrun altool --upload-app -f /Users/haluoweiwei/Desktop/yibangbang1.1.4.1ban.ipa -t ios -u yibangbang2019@126.com -p Gish110677 --apiKey P68C8LJP79 --apiIssuer 23e934c6-162f-445e-a978-a2a01c948f94 --verbose
使用上述命令十分钟后出现以下错误
**
“Error Domain=ITunesTransporterErrorDomain Code=-18000 \”The -apiIssuer option must not include the -u option.\” UserInfo={NSLocalizedRecoverySuggestion=The -apiIssuer option must not include the -u option., NSLocalizedDescription=The -apiIssuer option must not include the -u option., NSLocalizedFailureReason=The -apiIssuer option must not include the -u option.}”
再次通过命令上传:
去掉了--verbose -u -p
xcrun altool --upload-app -f /Users/haluoweiwei/Desktop/yibangbang1.1.4.1ban.ipa -t ios --apiKey P68C8LJP79 --apiIssuer 23e934c6-162f-445e-a978-a2a01c948f94
Package Summary:
1 package(s) were not uploaded because they had problems:
/var/folders/x2/lk6q2dzn6bn9p4_2bxxxtsj80000gn/T/D68E6A26-A869-4D04-90ED-25235561C113/1487780746.itmsp - Error Messages:
ERROR ITMS-90046: “Invalid Code Signing Entitlements. Your application bundle’s signature contains code signing entitlements that are not supported on iOS. Specifically, value ‘openinstall为应用生成的关联域名’ for key ‘com.apple.developer.associated-domains’ in ‘Payload/HBuilder.app/HBuilder’ is not supported.”
ERROR ITMS-90717: “Invalid App Store Icon. The App Store Icon in the asset catalog in ‘HBuilder.app’ can’t be transparent nor contain an alpha channel.”
ERROR ITMS-90060: “This bundle is invalid. The value for key CFBundleShortVersionString ‘1.1.4.1’ in the Info.plist file must be a period-separated list of at most three non-negative integers. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring“
2019-11-22 09:57:45.964 altool[1337:73740] * Error: Errors uploading ‘/Users/haluoweiwei/Desktop/yibangbang1.1.4.1ban.ipa’: (
“Error Domain=ITunesTransporterErrorDomain Code=-18000 \”ERROR ITMS-90046: \”Invalid Code Signing Entitlements. Your application bundle’s signature contains code signing entitlements that are not supported on iOS. Specifically, value ‘openinstall\U4e3a\U5e94\U7528\U751f\U6210\U7684\U5173\U8054\U57df\U540d’ for key ‘com.apple.developer.associated-domains’ in ‘Payload/HBuilder.app/HBuilder’ is not supported.\”\” UserInfo={NSLocalizedRecoverySuggestion=ERROR ITMS-90046: \”Invalid Code Signing Entitlements. Your application bundle’s signature contains code signing entitlements that are not supported on iOS. Specifically, value ‘openinstall\U4e3a\U5e94\U7528\U751f\U6210\U7684\U5173\U8054\U57df\U540d’ for key ‘com.apple.developer.associated-domains’ in ‘Payload/HBuilder.app/HBuilder’ is not supported.\”, NSLocalizedDescription=ERROR ITMS-90046: \”Invalid Code Signing Entitlements. Your application bundle’s signature contains code signing entitlements that are not supported on iOS. Specifically, value ‘openinstall\U4e3a\U5e94\U7528\U751f\U6210\U7684\U5173\U8054\U57df\U540d’ for key ‘com.apple.developer.associated-domains’ in ‘Payload/HBuilder.app/HBuilder’ is not supported.\”, NSLocalizedFailureReason=ERROR ITMS-90046: \”Invalid Code Signing Entitlements. Your application bundle’s signature contains code signing entitlements that are not supported on iOS. Specifically, value ‘openinstall\U4e3a\U5e94\U7528\U751f\U6210\U7684\U5173\U8054\U57df\U540d’ for key ‘com.apple.developer.associated-domains’ in ‘Payload/HBuilder.app/HBuilder’ is not supported.\”}”,
“Error Domain=ITunesTransporterErrorDomain Code=-18000 \”ERROR ITMS-90717: \”Invalid App Store Icon. The App Store Icon in the asset catalog in ‘HBuilder.app’ can’t be transparent nor contain an alpha channel.\”\” UserInfo={NSLocalizedRecoverySuggestion=ERROR ITMS-90717: \”Invalid App Store Icon. The App Store Icon in the asset catalog in ‘HBuilder.app’ can’t be transparent nor contain an alpha channel.\”, NSLocalizedDescription=ERROR ITMS-90717: \”Invalid App Store Icon. The App Store Icon in the asset catalog in ‘HBuilder.app’ can’t be transparent nor contain an alpha channel.\”, NSLocalizedFailureReason=ERROR ITMS-90717: \”Invalid App Store Icon. The App Store Icon in the asset catalog in ‘HBuilder.app’ can’t be transparent nor contain an alpha channel.\”}”,
“Error Domain=ITunesTransporterErrorDomain Code=-18000 \”ERROR ITMS-90060: \”This bundle is invalid. The value for key CFBundleShortVersionString ‘1.1.4.1’ in the Info.plist file must be a period-separated list of at most three non-negative integers. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring\"\“ UserInfo={NSLocalizedRecoverySuggestion=ERROR ITMS-90060: \”This bundle is invalid. The value for key CFBundleShortVersionString ‘1.1.4.1’ in the Info.plist file must be a period-separated list of at most three non-negative integers. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring\“, NSLocalizedDescription=ERROR ITMS-90060: \”This bundle is invalid. The value for key CFBundleShortVersionString ‘1.1.4.1’ in the Info.plist file must be a period-separated list of at most three non-negative integers. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring\“, NSLocalizedFailureReason=ERROR ITMS-90060: \”This bundle is invalid. The value for key CFBundleShortVersionString ‘1.1.4.1’ in the Info.plist file must be a period-separated list of at most three non-negative integers. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring\"}“
)
删除引入的原生插件
修改应用版本信息
包含alpha通道的图片暂时无法确认
ERROR ITMS-90717: “Invalid App Store Icon. The App Store Icon in the asset catalog in ‘HBuilder.app’ can’t be transparent nor contain an alpha channel.”
再次上传
报错不能包含alpha通道,也就是不能是透明的
Package Summary:
1 package(s) were not uploaded because they had problems:
/var/folders/x2/lk6q2dzn6bn9p4_2bxxxtsj80000gn/T/9D6B02A1-00FA-4F2C-98BD-BD9691584C84/1487780746.itmsp - Error Messages:
ERROR ITMS-90717: “Invalid App Store Icon. The App Store Icon in the asset catalog in ‘HBuilder.app’ can’t be transparent nor contain an alpha channel.”
2019-11-22 11:10:27.930 altool[3847:254940] * Error: Errors uploading ‘/Users/haluoweiwei/Desktop/ebb1.1.5.ipa’: (
“Error Domain=ITunesTransporterErrorDomain Code=-18000 \”ERROR ITMS-90717: \”Invalid App Store Icon. The App Store Icon in the asset catalog in ‘HBuilder.app’ can’t be transparent nor contain an alpha channel.\”\” UserInfo={NSLocalizedRecoverySuggestion=ERROR ITMS-90717: \”Invalid App Store Icon. The App Store Icon in the asset catalog in ‘HBuilder.app’ can’t be transparent nor contain an alpha channel.\”, NSLocalizedDescription=ERROR ITMS-90717: \”Invalid App Store Icon. The App Store Icon in the asset catalog in ‘HBuilder.app’ can’t be transparent nor contain an alpha channel.\”, NSLocalizedFailureReason=ERROR ITMS-90717: \”Invalid App Store Icon. The App Store Icon in the asset catalog in ‘HBuilder.app’ can’t be transparent nor contain an alpha channel.\”}”
)
参考:https://blog.csdn.net/u010545480/article/details/43451485
去除alpha通道,到处png时取消alpha通道选项
注:jpeg是无alpha通道的但是uni-app不能使用jpeg文件作为icon
成功
**
登录网站查看我的应用继续上传 https://appstoreconnect.apple.com/