国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 開發設計 > 正文

iOS開發日記39-上傳ERROR-90535,90529,90049

2019-11-14 18:03:56
字體:
來源:轉載
供稿:網友

今天博主有一個Xcode7上傳app的ERROR的需求,遇到了一些困難點,在此和大家分享,希望能夠共同進步.

本來剛剛升級成Xcode7.0,在使用application loader上傳的時候,出現error,在網上查了一下,升級到Xcode7.1,還是有error

 

ERROR ITMS-90049:"This bundle is invalid. The bundle identifier contains disallowed characters. [See the section of the Application PRogramming Guide entitled The Application Bundle.]"ERROR ITMS-90535: "Unexpected CFBundleExecutable Key. The bundle at 'ZCIos.app/TencentOpenApi_IOS_Bundle.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."

這兩個error都是第三方的info.plist 文件問題,解決方法

在xcode左下角搜索info.plist 找到第三方的info.plist文件,如友盟中騰訊Api文件夾下的info.plist文件;

找到Bundle version字段 ,添加項目的build號 

添加Bundle identifier 字段,并對應添加項目的BundleId號; 

找到Bundle versions string, short字段 添加項目的版本號

 

ERROR ITMS-90529: "Invalid package. Applications built with sdk 9.0 or later must be packaged as proper ipA files."

這是error是因為打包問題,解決方法:

原先上傳的是.zip文件,現在需要上傳 .ipa文件。也就是需要將打包成的app在打包成ipa文件就可以了。

具體步驟:

1、新建文件夾 Payload

2、將xcode編譯好的app放在Payload文件夾中

3、壓縮Payload文件夾為 .zip文件,然后重命名為 .ipa

 

還有一種打包方法是使用shell腳本

[python] view plaincopy
 
  1. #!/bin/bash  
  2.   
  3. APPNAME="appName"  
  4. ZIPNAME="zipName"  
  5. IPANAME="ipaName"  
  6.   
  7. mkdir ./ipa/Payload  
  8. cp -r ./${APPNAME}.app ./ipa/Payload  
  9. cd ipa  
  10. zip -r ${ZIPNAME} *  
  11. mv ${ZIPNAME}.zip ${IPANAME}.ipa  


將這個腳本放在Release-iphones文件夾下,運行這個腳本就可以將app轉換為ipa。

 

 


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 城口县| 洛隆县| 简阳市| 昭觉县| 庐江县| 凤翔县| 临泽县| 潼关县| 布拖县| 平山县| 仙桃市| 遂昌县| 银川市| 农安县| 黄陵县| 外汇| 怀宁县| 府谷县| 牡丹江市| 剑阁县| 汝南县| 富顺县| 基隆市| 吉木萨尔县| 宁德市| 乌鲁木齐县| 建德市| 榆社县| 大埔县| 察隅县| 抚州市| 琼结县| 大厂| 平阳县| 开平市| 车致| 朔州市| 林甸县| 固镇县| 峨山| 肇庆市|