hbuilder IOS APP 打包與發布2


 

在上一篇的《hbuilder IOS APP 打包與發布》中,請求 的 是APP ids 、  ios開發證書 、和開發配置文件  ,
 
這一篇中就不寫發布證書和配置文件的請求,因為流程基本和請求開發證書是差不多的,不同的同學請自行百度!!!
 
這篇我來講講我碰到的問題!
 
1  在使用     Application Loader  上傳 .ipa 文件時 。
 
   出現以下錯誤 。

 

 
1 ERROR ITMS-90161: "Invalid Provisioning Profile. The provisioning profile included in the bundle [Payload/DCloud_Pandora.app] is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal." 
 
這個問題首先要去檢查
 
配置文件是否處於正常的運行狀態。
 
如果配置文件正常運行的話,請檢查Hbuilder  發行的時候是否正確選擇發布證書和發布配置文件(不是開發證書!
否則請重新配置!
 
 

注意看圖!!! 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

 

因為這個項目並沒有用到推送功能,

 

 

 

所以  解決方案 

  1. 刪除manifest.json中permissions節點下的Push字段;
  2. 刪除manifest.json中的plus->distribute->plugins節點下的push字段。

 

如果已完成或未找到字段,請留意  https://itunesconnect.apple.com  中的 活動  請留意開發者賬號的郵箱信息 

 

如果要添加推送功能,請在APP IDs 勾選推送功能,正確配置。

 

其他具體問題具體分析 。

 

 

 

 如果還不能解決問題,請在文章下面留言 。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM