使用Xcode7上傳app的error整理:ERROR ITMS-90535,ERROR ITMS-90529,ERROR ITMS-90049

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

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 文件問題,解決方法ios

在xcode左下角搜索info.plist 找到第三方的info.plist文件,如友盟中騰訊Api文件夾下的info.plist文件; 
找到Bundle version字段 ,添加項目的build號 
添加Bundle identifier 字段,並對應添加項目的BundleId號; 
找到Bundle versions string, short字段 添加項目的版本號shell

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

 這是error是由於打包問題,解決方法:xcode

原先上傳的是.zip文件,如今須要上傳 .ipa文件。也就是須要將打包成的app在打包成ipa文件就能夠了。app

具體步驟:ide

一、新建文件夾 Payload ui

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

三、壓縮Payload文件夾爲 .zip文件,而後重命名爲 .ipa.net

另外還有大牛介紹了一個使用shell腳原本自動打包的方法,連接http://blog.csdn.net/baidu_24934637/article/details/49204619code

 

ERROR ITMS-90096: "Your binary is not optimized for iPhone 5 - New iPhone apps and app updates submitted must support the 4-inch display on iPhone 5 and must include a launch image referenced in the Info.plist under UILaunchImages with a UILaunchImageSize value set to {320, 568}. Launch images must be PNG files and located at the top-level of your bundle, or provided within each .lproj folder if you localize your launch images. Learn more about iPhone 5 support and app launch images by reviewing the 'iOS Human Interface Guidelines' at 'https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconsImages/IconsImages.html#//apple_ref/doc/uid/TP40006556-CH14-SW5' and the 'iOS App Programming Guide' at 'https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/App-RelatedResources/App-RelatedResources.html#//apple_ref/doc/uid/TP40007072-CH6-SW12'

 未解決,,,

相關文章
相關標籤/搜索