在上一篇的《hbuilder IOS APP 打包與發布》中,請求 的 是APP ids 、 ios開發證書 、和開發配置文件 ,
注意看圖!!!



2 上傳.ipa 文件后 在 https://itunesconnect.apple.com 活動中顯示“此構建版本無效”

請留意蘋果開發者的郵箱!蘋果會把錯誤信息發送到你的郵箱!
我的一個小問題
Dear developer,
We have discovered one or more issues with your recent delivery for "xxxx". To process your delivery, the following issues must be corrected:
Unexpected CFBundleExecutable Key - The bundle at '/Payload/DCloud_Pandora.app/Pandora/apps/JinyunApp/www/plugins/cordova-plugin-splashscreen/tests/ios/CDVSplashScreenTest/CDVSplashScreenLibTests/Info.plist' 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.
Once these issues have been corrected, you can then redeliver the corrected binary.
Regards,
The App Store team
回執信息說的很清楚,不能有info.plist文件,把它刪了,這個問題解決了。
問題2 推送問題
Dear developer,
We have discovered one or more issues with your recent delivery for "xxxx". Your delivery was successful, but you may wish to correct the following issues in your next delivery:
Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the "aps-environment" entitlement. Xcode 8 does not automatically copy the aps-environment entitlement from provisioning profiles at build time. This behavior is intentional. To use this entitlement, either enable Push Notifications in the project editor's Capabilities pane, or manually add the entitlement to your entitlements file. For more information, see https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW1.
After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to iTunes Connect.
Regards,
The App Store team
因為這個項目並沒有用到推送功能,

所以 解決方案
- 刪除manifest.json中permissions節點下的Push字段;
- 刪除manifest.json中的plus->distribute->plugins節點下的push字段。
如果已完成或未找到字段,請留意 https://itunesconnect.apple.com 中的 活動 請留意開發者賬號的郵箱信息
如果要添加推送功能,請在APP IDs 勾選推送功能,正確配置。
其他具體問題具體分析 。
如果還不能解決問題,請在文章下面留言 。
