5***@qq.com
5***@qq.com
  • 发布:2024-05-30 16:53
  • 更新:2024-05-30 16:53
  • 阅读:44

【报Bug】云打包上传app sotre 有报错Error: Asset validation failed Invalid Code Signing Entitlements.,这个要修改哪里

分类:HTML5+

产品分类: HTML5+

HBuilderX版本号: 4.0

手机系统: iOS

手机系统版本号: iOS 16

手机厂商: 苹果

手机机型: iphone

打包方式: 云端

操作步骤:

打包后直接上传appstore

预期结果:

云打包能正常上传appstore

实际结果:

报错

bug描述:

云打包,能正常打包,上传appstore,报这个错误,

[altool] 2024-05-30 16:45:06.436 ** Error: Asset validation failed Invalid Code Signing Entitlements. The signature for your app bundle contains entitlement values that are not supported. For the com.apple.developer.ubiquity-kvstore-identifier entitlement, the value must start with the prefix provided by Apple in the provisioning profile, followed by characters that are uppercase or lowercase Roman letters [A-Z, a-z], the digits 0 through 9, dot ['.'], or hyphen ['-'], and not contain any wildcard characters. Specifically, value 'S45726HKMY.' for the key 'com.apple.developer.ubiquity-kvstore-identifier' in 'Payload/HBuilder.app/HBuilder' is not supported. (ID: 836e10a7-60fa-4bc8-b7d1-638750815db3) (90211)

[16:45:06]: [altool] {

[16:45:06]: [altool] NSLocalizedDescription = "Asset validation failed";

[16:45:06]: [altool] NSLocalizedFailureReason = "Invalid Code Signing Entitlements. The signature for your app bundle contains entitlement values that are not supported. For the com.apple.developer.ubiquity-kvstore-identifier entitlement, the value must start with the prefix provided by Apple in the provisioning profile, followed by characters that are uppercase or lowercase Roman letters [A-Z, a-z], the digits 0 through 9, dot ['.'], or hyphen ['-'], and not contain any wildcard characters. Specifically, value 'S45726HKMY.*' for the key 'com.apple.developer.ubiquity-kvstore-identifier' in 'Payload/HBuilder.app/HBuilder' is not supported. (ID: 836e10a7-60fa-4bc8-b7d1-638750815db3)";

[16:45:06]: [altool] "original_server_error" = {

[16:45:06]: [altool] code = "STATE_ERROR.VALIDATION_ERROR.90211";

[16:45:06]: [altool] detail = "Invalid Code Signing Entitlements. The signature for your app bundle contains entitlement values that are not supported. For the com.apple.developer.ubiquity-kvstore-identifier entitlement, the value must start with the prefix provided by Apple in the provisioning profile, followed by characters that are uppercase or lowercase Roman letters [A-Z, a-z], the digits 0 through 9, dot ['.'], or hyphen ['-'], and not contain any wildcard characters. Specifically, value 'S45726HKMY.*' for the key 'com.apple.developer.ubiquity-kvstore-identifier' in 'Payload/HBuilder.app/HBuilder' is not supported.";

[16:45:06]: [altool] id = "836e10a7-60fa-4bc8-b7d1-638750815db3";

[16:45:06]: [altool] status = 409;

[16:45:06]: [altool] title = "Asset validation failed";

[16:45:06]: [altool] };

[16:45:06]: [altool] }

[16:45:06]: Application Loader output above ^
[16:45:06]: ERROR: Asset validation failed (90045) Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, key 'com.apple.developer.icloud-container-development-container-identifiers' in 'Payload/HBuilder.app/HBuilder' is not supported. (ID: b487ae4b-9af0-401d-a233-9209bd12ef3b)
[16:45:06]: ERROR: Asset validation failed (90046) Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value 'Development' for key 'com.apple.developer.icloud-container-environment' in 'Payload/HBuilder.app/HBuilder' is not supported. (ID: 24bda819-5126-44a4-9437-3248579210ee)
[16:45:06]: ERROR: Asset validation failed (90046) Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value '' for key 'com.apple.developer.icloud-services' in 'Payload/HBuilder.app/HBuilder' is not supported. (ID: c51f97a2-e38a-4788-90b8-0caae0f8d09e)
[16:45:06]: ERROR: Asset validation failed (90683) Missing purpose string in Info.plist. Your app’s code references one or more APIs that access sensitive user data, or the app has one or more entitlements that permit such access. The Info.plist file for the “HBuilder.app” bundle should contain a NSHealthShareUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. If you’re using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. For details, visit: https://developer.apple.com/documentation/uikit/protecting_the_user_s_privacy/requesting_access_to_protected_resources. (ID: c32c0f28-45d5-49fd-943f-e30b54976482)
[16:45:06]: ERROR: Asset validation failed (90683) Missing purpose string in Info.plist. Your app’s code references one or more APIs that access sensitive user data, or the app has one or more entitlements that permit such access. The Info.plist file for the “HBuilder.app” bundle should contain a NSHealthUpdateUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. If you’re using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. For details, visit: https://developer.apple.com/documentation/uikit/protecting_the_user_s_privacy/requesting_access_to_protected_resources. (ID: 3e1798f2-3586-46e6-a4b3-c2bfb2f43200)
[16:45:06]: ERROR: Asset validation failed (90211) Invalid Code Signing Entitlements. The signature for your app bundle contains entitlement values that are not supported. For the com.apple.developer.ubiquity-kvstore-identifier entitlement, the value must start with the prefix provided by Apple in the provisioning profile, followed by characters that are uppercase or lowercase Roman letters [A-Z, a-z], the digits 0 through 9, dot ['.'], or hyphen ['-'], and not contain any wildcard characters. Specifically, value 'S45726HKMY.
' for the key 'com.apple.developer.ubiquity-kvstore-identifier' in 'Payload/HBuilder.app/HBuilder' is not supported. (ID: 836e10a7-60fa-4bc8-b7d1-638750815db3)
[16:45:06]: Error uploading '/var/folders/79/3dbck02d3tvfmxlqn9sr8wf00000gp/T/56fea1c2-1ba1-418b-96f5-20e4531b9224.ipa'.
[16:45:06]: Asset validation failed Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, key 'com.apple.developer.icloud-container-development-container-identifiers' in 'Payload/HBuilder.app/HBuilder' is not supported. (ID: b487ae4b-9af0-401d-a233-9209bd12ef3b) (90045)
[16:45:06]: Asset validation failed Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value 'Development' for key 'com.apple.developer.icloud-container-environment' in 'Payload/HBuilder.app/HBuilder' is not supported. (ID: 24bda819-5126-44a4-9437-3248579210ee) (90046)
[16:45:06]: Asset validation failed Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value '' for key 'com.apple.developer.icloud-services' in 'Payload/HBuilder.app/HBuilder' is not supported. (ID: c51f97a2-e38a-4788-90b8-0caae0f8d09e) (90046)
[16:45:06]: Asset validation failed Missing purpose string in Info.plist. Your app’s code references one or more APIs that access sensitive user data, or the app has one or more entitlements that permit such access. The Info.plist file for the “HBuilder.app” bundle should contain a NSHealthShareUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. If you’re using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. For details, visit: https://developer.apple.com/documentation/uikit/protecting_the_user_s_privacy/requesting_access_to_protected_resources. (ID: c32c0f28-45d5-49fd-943f-e30b54976482) (90683)
[16:45:06]: Asset validation failed Missing purpose string in Info.plist. Your app’s code references one or more APIs that access sensitive user data, or the app has one or more entitlements that permit such access. The Info.plist file for the “HBuilder.app” bundle should contain a NSHealthUpdateUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. If you’re using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. For details, visit: https://developer.apple.com/documentation/uikit/protecting_the_user_s_privacy/requesting_access_to_protected_resources. (ID: 3e1798f2-3586-46e6-a4b3-c2bfb2f43200) (90683)
[16:45:06]: Asset validation failed Invalid Code Signing Entitlements. The signature for your app bundle contains entitlement values that are not supported. For the com.apple.developer.ubiquity-kvstore-identifier entitlement, the value must start with the prefix provided by Apple in the provisioning profile, followed by characters that are uppercase or lowercase Roman letters [A-Z, a-z], the digits 0 through 9, dot ['.'], or hyphen ['-'], and not contain any wildcard characters. Specifically, value 'S45726HKMY.
' for the key 'com.apple.developer.ubiquity-kvstore-identifier' in 'Payload/HBuilder.app/HBuilder' is not supported. (ID: 836e10a7-60fa-4bc8-b7d1-638750815db3) (90211)
[16:45:06]: The call to the altool completed with a non-zero exit status: 1. This indicates a failure.
[16:45:06]: Could not download/upload from App Store Connect!

[!] Error uploading ipa file:
[Application Loader Error Output]: ERROR: Asset validation failed (90045) Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, key 'com.apple.developer.icloud-container-development-container-identifiers' in 'Payload/HBuilder.app/HBuilder' is not supported. (ID: b487ae4b-9af0-401d-a233-9209bd12ef3b)
[Application Loader Error Output]: ERROR: Asset validation failed (90046) Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value 'Development' for key 'com.apple.developer.icloud-container-environment' in 'Payload/HBuilder.app/HBuilder' is not supported. (ID: 24bda819-5126-44a4-9437-3248579210ee)
[Application Loader Error Output]: ERROR: Asset validation failed (90046) Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value '' for key 'com.apple.developer.icloud-services' in 'Payload/HBuilder.app/HBuilder' is not supported. (ID: c51f97a2-e38a-4788-90b8-0caae0f8d09e)
[Application Loader Error Output]: ERROR: Asset validation failed (90683) Missing purpose string in Info.plist. Your app’s code references one or more APIs that access sensitive user data, or the app has one or more entitlements that permit such access. The Info.plist file for the “HBuilder.app” bundle should contain a NSHealthShareUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. If you’re using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. For details, visit: https://developer.apple.com/documentation/uikit/protecting_the_user_s_privacy/requesting_access_to_protected_resources. (ID: c32c0f28-45d5-49fd-943f-e30b54976482)
[Application Loader Error Output]: ERROR: Asset validation failed (90683) Missing purpose string in Info.plist. Your app’s code references one or more APIs that access sensitive user data, or the app has one or more entitlements that permit such access. The Info.plist file for the “HBuilder.app” bundle should contain a NSHealthUpdateUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. If you’re using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. For details, visit: https://developer.apple.com/documentation/uikit/protecting_the_user_s_privacy/requesting_access_to_protected_resources. (ID: 3e1798f2-3586-46e6-a4b3-c2bfb2f43200)
[Application Loader Error Output]: ERROR: Asset validation failed (90211) Invalid Code Signing Entitlements. The signature for your app bundle contains entitlement values that are not supported. For the com.apple.developer.ubiquity-kvstore-identifier entitlement, the value must start with the prefix provided by Apple in the provisioning profile, followed by characters that are uppercase or lowercase Roman letters [A-Z, a-z], the digits 0 through 9, dot ['.'], or hyphen ['-'], and not contain any wildcard characters. Specifically, value 'S45726HKMY.
' for the key 'com.apple.developer.ubiquity-kvstore-identifier' in 'Payload/HBuilder.app/HBuilder' is not supported. (ID: 836e10a7-60fa-4bc8-b7d1-638750815db3)
[Application Loader Error Output]: Error uploading '/var/folders/79/3dbck02d3tvfmxlqn9sr8wf00000gp/T/56fea1c2-1ba1-418b-96f5-20e4531b9224.ipa'.
[Application Loader Error Output]: Asset validation failed Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, key 'com.apple.developer.icloud-container-development-container-identifiers' in 'Payload/HBuilder.app/HBuilder' is not supported. (ID: b487ae4b-9af0-401d-a233-9209bd12ef3b) (90045)
[Application Loader Error Output]: Asset validation failed Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value 'Development' for key 'com.apple.developer.icloud-container-environment' in 'Payload/HBuilder.app/HBuilder' is not supported. (ID: 24bda819-5126-44a4-9437-3248579210ee) (90046)
[Application Loader Error Output]: Asset validation failed Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value '' for key 'com.apple.developer.icloud-services' in 'Payload/HBuilder.app/HBuilder' is not supported. (ID: c51f97a2-e38a-4788-90b8-0caae0f8d09e) (90046)
[Application Loader Error Output]: Asset validation failed Missing purpose string in Info.plist. Your app’s code references one or more APIs that access sensitive user data, or the app has one or more entitlements that permit such access. The Info.plist file for the “HBuilder.app” bundle should contain a NSHealthShareUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. If you’re using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. For details, visit: https://developer.apple.com/documentation/uikit/protecting_the_user_s_privacy/requesting_access_to_protected_resources. (ID: c32c0f28-45d5-49fd-943f-e30b54976482) (90683)
[Application Loader Error Output]: Asset validation failed Missing purpose string in Info.plist. Your app’s code references one or more APIs that access sensitive user data, or the app has one or more entitlements that permit such access. The Info.plist file for the “HBuilder.app” bundle should contain a NSHealthUpdateUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. If you’re using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. For details, visit: https://developer.apple.com/documentation/uikit/protecting_the_user_s_privacy/requesting_access_to_protected_resources. (ID: 3e1798f2-3586-46e6-a4b3-c2bfb2f43200) (90683)
[Application Loader Error Output]: Asset validation failed Invalid Code Signing Entitlements. The signature for your app bundle contains entitlement values that are not supported. For the com.apple.developer.ubiquity-kvstore-identifier entitlement, the value must start with the prefix provided by Apple in the provisioning profile, followed by characters that are uppercase or lowercase Roman letters [A-Z, a-z], the digits 0 through 9, dot ['.'], or hyphen ['-'], and not contain any wildcard characters. Specifically, value 'S45726HKMY.
' for the key 'com.apple.developer.ubiquity-kvstore-identifier' in 'Payload/HBuilder.app/HBuilder' is not supported. (ID: 836e10a7-60fa-4bc8-b7d1-638750815db3) (90211)
[Application Loader Error Output]: The call to the altool completed with a non-zero exit status: 1. This indicates a failure.

2024-05-30 16:53 负责人:无 分享
已邀请:

要回复问题请先登录注册