今天在上传应用包到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 文件,移除