向AppStore上传App时的错误
ChenZhijin
.com

向AppStore上传App时的错误

向AppStore上传App时的错误

问题

在向Mac App Store上传一个Catalyst App时,我遇到了以下错误:

ITMS Errors

  • ITMS-90277
1
2
ERROR ITMS-90277: "Invalid Bundle Identifier. 
The application bundle contains a tool or framework $(PRODUCT_NAME) [com.domain.appname.pkg/Payload/appname.app/Contents] using the bundle identifier '$(PRODUCT_BUNDLE_IDENTIFIER)', which is not a valid bundle identifier."

  • ITMS-90261
1
2
ERROR ITMS-90261: "Bad CFBundleExecutable. 
Cannot find executable file that matches the value of CFBundleExecutable in the nested bundle $(PRODUCT_NAME) [com.domain.appname.pkg/Payload/appname.app/Contents] property list file."

  • ITMS-90280
1
2
ERROR ITMS-90280: "The CFBundleExecutable of two bundles may not point to the same file. 
The following shared bundle path have been found: appname.app/Contents."

解决方法

某个 Info.plist 文件被错误地添加到了一个Building target中。将其从所有Building target中移除即可。

标签: