开发问题

今天在上传应用包到apptore里,发生了如下的一些问题:
ERROR ITMS-90242: “The product archive is invalid. The Info.plist must contain a LSApplicationCategoryType key, whose value is the UTI for a valid category. For more details, see “Submitting your Mac apps to the App Store”.”
====>这个问题是由于我没有给应用设置类型,给应用设上对应的类型就可以了,我这里选择的是效率类

ERROR ITMS-90511: “CFBundleIdentifier Collision. The Info.plist CFBundleIdentifier value ‘$(PRODUCT_BUNDLE_IDENTIFIER)’ of ‘SHAREit.app/Contents’ is already in use by another application.”

ERROR ITMS-90277: “Invalid Bundle Identifier. The application bundle contains a tool or framework $(PRODUCT_NAME) [com.ushareit.SHAREit.pkg/Payload/SHAREit.app/Contents] using the bundle identifier ‘$(PRODUCT_BUNDLE_IDENTIFIER)’, which is not a valid bundle identifier.”

ERROR ITMS-90261: “Bad CFBundleExecutable. Cannot find executable file that matches the value of CFBundleExecutable in the nested bundle $(PRODUCT_NAME) [com.ushareit.SHAREit.pkg/Payload/SHAREit.app/Contents] property list file.”

ERROR ITMS-90280: “The CFBundleExecutable of two bundles may not point to the same file. The following shared bundle path have been found: SHAREit.app/Contents.”

=====> 这几个问题呢,是由于我把info.plist文件放在 copy Bundle Resource 里面去了,只要将其从中删除就可以了 ==》
选中对应的target ===> build Phases==> copy bundle Resource 找到info.plist 文件,移除


   转载规则


《开发问题》 志鹏 采用 知识共享署名 4.0 国际许可协议 进行许可。
 上一篇
TTL TTL
TTL(生存时间值):TTL是time to live的缩写,该字段指定IP包被路由器丢弃之前允许通过的最大网段数量,TTL就IPv4包头的一个8bit字段。TTL 的作用是限制IP数据包在计算机网络中的存在时间。TTL的最大值是255,T
2016-08-01 志鹏
下一篇 
CFBundleName等关键字解析 CFBundleName等关键字解析
CFBundleName: CFBundleName指定了该束的简称。简称应该小于16个字符并且适合在菜单和“关于”中显示。通过把它加入到适当的.lproj子文件夹下的InfoPlist.strings文件中,该关键字可以被本地化。如果您本
2016-07-28 志鹏
  目录