Xcode打包上传遇到的坑
2018-01-12 11:07
363 查看
1.安装测试包的时候提示APIInternalError
①是否增加了测试设备的UUID
②是否使用adhoc证书打包
2.打包错误:error: couldn't remove '/Users/xxx/Library/Developer/Xcode/DerivedData/xxxx/Build/Products/Debug-iphoneos/xxx.app/xxx.bundle' after command failed: Directory not empty
解决办法:Build Phases->Copy Bundle Resources将对应的xx.bundle 删除再重新添加
3.上传提示:You must supply a CFBundleIdentifier for this request.
解决方法:修改info.plist,增加或修改Bundle OS Type code 为APPL
4.上传提示:ERROR ITMS-90023: "Missing required icon file. The bundle does not contain an app icon for iPad of exactly '76x76' pixels, in .png format for iOS versions >= 7.0."
icon图片格式不够完整 解决方法:
①使用网址 http://www.atool.org/ios_logo.php,上传一张1024x1024的icon自动生成一系列尺寸的icon,然后拖放到xcode的icons文件夹下。
②修改info.plist配置对应尺寸的icon
③配置显示的图标
①使用网址http://www.appicon.build/生成配置文件
②进入配置文件夹进行替换
①是否增加了测试设备的UUID
②是否使用adhoc证书打包
2.打包错误:error: couldn't remove '/Users/xxx/Library/Developer/Xcode/DerivedData/xxxx/Build/Products/Debug-iphoneos/xxx.app/xxx.bundle' after command failed: Directory not empty
解决办法:Build Phases->Copy Bundle Resources将对应的xx.bundle 删除再重新添加
3.上传提示:You must supply a CFBundleIdentifier for this request.
解决方法:修改info.plist,增加或修改Bundle OS Type code 为APPL
4.上传提示:ERROR ITMS-90023: "Missing required icon file. The bundle does not contain an app icon for iPad of exactly '76x76' pixels, in .png format for iOS versions >= 7.0."
icon图片格式不够完整 解决方法:
①使用网址 http://www.atool.org/ios_logo.php,上传一张1024x1024的icon自动生成一系列尺寸的icon,然后拖放到xcode的icons文件夹下。
②修改info.plist配置对应尺寸的icon
<key>CFBundleIconFile</key> <string>Icon-57.png</string> <key>CFBundleIconFiles</key> <array> <string>Icon-29</string> <string>Icon-40</string> <string>Icon-50</string> <string>Icon-57</string> <string>Icon-58</string> <string>Icon-72</string> <string>Icon-76</string> <string>Icon-80</string> <string>Icon-87</string> <string>Icon-100</string> <string>Icon-114</string> <string>Icon-120</string> <string>Icon-144</string> <string>Icon-152</string> <string>Icon-180</string> </array> <key>CFBundleIconFiles~ipad</key> <array> <string>Icon-29</string> <string>Icon-40</string> <string>Icon-50</string> <string>Icon-57</string> <string>Icon-58</string> <string>Icon-72</string> <string>Icon-76</string> <string>Icon-80</string> <string>Icon-87</string> <string>Icon-100</string> <string>Icon-114</string> <string>Icon-120</string> <string>Icon-144</string> <string>Icon-152</string> <string>Icon-180</string> </array>
③配置显示的图标
①使用网址http://www.appicon.build/生成配置文件
②进入配置文件夹进行替换
相关文章推荐
- Xcode 7 打包上传app,兼容iOS9,遇到的坑(一) 问题:UIApplication.m:3294
- 使用Xcode7.1打包上传App Store遇到的问题
- 使用Xcode 8打包上传AppStore遇到的问题
- XCode 7上传遇到ERROR ITMS-90535 Unexpected CFBundleExecutable Key. 的解决办法
- iOS: Xcode打包上传时出现no matching provisioning profiles found
- 记录Hbuilder项目使用xcode离线打包上传苹果商店踩过的坑
- 使用xcode打包上传ios app
- XCode 7上传遇到ERROR ITMS-90535 Unexpected
- iOS开发遇到的坑之三--使用asi框架在xcode下正常运行,但是打包时却不能进行网络访问
- xcodebuild自动打包脚本与自动上传蒲公英脚本
- Xcode9 xcodebuild 命令行打包遇到的坑与解决方案
- 使用Xcode9一键打包上传到App Store或者fir和蒲公英
- XCode7,打包上传的一些警告,及参考处理方法
- XCode 7上传遇到ERROR ITMS-90535 Unexpected
- xCode8.1打包上传AppStore包“消失”的问题
- iOS 上架- IPA打包上传遇到问题记录
- XCode9打包上传遇到的问题和解决方式
- XCode 7上传遇到ERROR ITMS-90535 Unexpected CFBundleExecutable Key. 的解决办法
- iOS-打包上传遇到的启动页的问题
- Xcode打包上传报错“ All object files and libraries for bitcode must be generated from Xcode Archive or Ins”