Search code examples
iosnativescriptapp-store-connectnativescript-vue

Nativescript: ITMS-90535: Unexpected CFBundleExecutable Key


After I run tns publish ios --release apple connect showed me that my build is invalid. I got a mail with this error:

ITMS-90535: Unexpected CFBundleExecutable Key - The bundle at '/Payload/MyApp.app/app/App_Resources/iOS/Info.plist' does not contain a bundle executable. If this bundle intentionally does not contain an executable, consider removing the CFBundleExecutable key from its Info.plist and using a CFBundlePackageType of BNDL. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue.

I found a similar post here. The solution was

tns platform remove ios
tns platform add ios

however, that did not help.

Update: I updated my Nativescript CLI to 6.4 and run the tns publish ios --release --clean command again. I got the same error mail. But AppStore Connect display a other error message:

ITC.apps.preReleaseBuild.errors.invalidBinary


Solution

  • I could solve the issue now. I had to update my nativescript version to 6.5 and migrate my project. After this I could build and upload the project via xcode.