iOS :上传App Store之错误提示 “Unexpected CFBundleExecutable Key. The bundle at ‘Payloa...

错误提示类似:<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>

参考链接:iOS 上传App Store之错误提示 ERROR ITMS-90535: “Unexpected CFBundleExecutable Key. The bundle at ‘Payloa... - 简书

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

app开发工程师V帅

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值