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  發行的時候是否正確選擇發佈證書和發佈配置文件(不是開發證書!
不然請從新配置!
 
 

注意看圖!!! html

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2  上傳.ipa 文件後  在 https://itunesconnect.apple.com  活動中顯示「此構建版本無效」ios

 

 

   請留意蘋果開發者的郵箱!蘋果會把錯誤信息發送到你的郵箱!json

    個人一個小問題app

Dear developer,ide

We have discovered one or more issues with your recent delivery for "xxxx". To process your delivery, the following issues must be corrected:ui

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.this

Once these issues have been corrected, you can then redeliver the corrected binary.url

Regards,spa

The App Store team3d

回執信息說的很清楚,不能有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 勾選推送功能,正確配置。

 

其餘具體問題具體分析 。

 

 

 

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

相關文章
相關標籤/搜索