错误提示类似:<key>os-version</key>
<string>14.0.0</string>
<key>product-errors</key>
<array>
<dict>
<key>code</key>
<integer>90535</integer>
<key>message</key>
<string>Asset validation failed</string>
<key>userInfo</key>
<dict>
<key>NSLocalizedDescription</key>
<string>Asset validation failed</string>
<key>NSLocalizedFailureReason</key>
<string>Unexpected CFBundleExecutable Key. The bundle at 'Payload/MSX-Shaoxing.app/SDKBundle.bundle' does not contain a bundle executable. If this bundle intentionally does not contain an executable, consider removing the CFBundleExecutable key from its Info.plist and using a CFBundlePackageType of BNDL. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue. (ID: 27a96b36-e33a-43ba-8ab6-94ada5659b4e)</string>
<key>NSUnderlyingError</key>
<string>Error Domain=IrisAPI Code=-19241 "Asset validation failed" UserInfo={status=409, detail=Unexpected CFBundleExecutable Key. The bundle at 'Payload/MSX-Shaoxing.app/SDKBundle.bundle' does not contain a bundle executable. If this bundle intentionally does not contain an executable, consider removing the CFBundleExecutable key from its Info.plist and using a CFBundlePackageType of BNDL. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue., id=27a96b36-e33a-43ba-8ab6-94ada5659b4e, code=STATE_ERROR.VALIDATION_ERROR.90535, title=Asset validation failed, NSLocalizedFailureReason=Unexpected CFBundleExecutable Key. The bundle at 'Payload/MSX-Shaoxing.app/SDKBundle.bundle' does not contain a bundle executable. If this bundle intentionally does not contain an executable, consider removing the CFBundleExecutable key from its Info.plist and using a CFBundlePackageType of BNDL. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue., NSLocalizedDescription=Asset validation failed}</string>
<key>iris-code</key>
<string>STATE_ERROR.VALIDATION_ERROR.90535</string>
</dict>
</dict>
</array>
<key>tool-path</key>
<string>/Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/Frameworks/AppStoreService.framework</string>
<key>tool-version</key>
<string>7.006.15006</string>
解决:
1.从项目中导入的第三方库中找到 info.plist 文件,如果是包问题,找到包右键显示包内容,找到info.plist 文件
2.找出 key 是 CFBundleExecutable的配置行,没有就找: Executable file配置行 ,删除
3.注意:从Info.plist中删除CFBundleExecutable键后,并使用CFBundlePackageType设置为BNDL。
4.重新打包上传
原因:因该是代码有改动,导致产生不可识别的密钥
<string>意外的CFBundleExecutable密钥。位于“Payload/MSX绍兴.app/SDKBundle.bundle”的捆绑包不包含捆绑包可执行文件。如果此捆绑包有意不包含可执行文件,请考虑从其Info.plist中删除CFBundleExecutable密钥,并使用BNDL的CFBundlePackageType。如果此捆绑包是第三方框架的一部分,请考虑联系框架的开发人员进行更新以解决此问题。(ID:27a96b36-e33a-43ba-8ab6-94ada5659b4e)</string>