xcode7、xcode8打包的老工程在最新版xcode下编译打包的处理:
报错1:
ERROR ITMS-90725: "SDK Version Issue. This app was built with the iOS 9.3 SDK. All iOS apps submitted to the App Store must be built with the iOS 11 SDK or later, included in Xcode 9 or later. Further, starting March 2019, all iOS apps submitted to the App Store must be built with the iOS 12.1 SDK or later, included in Xcode 10.1 or later.”
报错2:
The filename 未命名.ipa in the package contains an invalid character(s). The valid characters are:A-Z,a-z,0-9,dash,period,underscore,but the name cannot start with a dash,period,or underscore.
修改步骤:
1.修改报错的xib等文件, build for ios10 or later;
2.修改项目名为英文名(相关资源名全部rename);
打包好的ipa文件名同样修改为英文的;
3.下载并安装配置文件,后缀为mobileprovision;
File目录,project setting,new build system 修改为Legacy build system;
4.图标icon全尺寸导入:App Icons Source ->Use Asset Ctalog;
5.使用最新版xcode进行打包;