New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pilot failure - altool missing CFBundlePackageType - macOS Ventura - Xcode 14.0.1 #20813
Comments
Have the same issue any idea how to fix it ? Already tried adding |
Same for Xcode 14.1 (14B47b) |
Found reference to this problem in this issue and comment: #20741 (comment) |
I have succeeded to upload the package - the resolution was to remove the workaround for iTMS Transporter mentioned in #20741 So basically I removed ENV['ITMSTRANSPORTER_FORCE_ITMS_PACKAGE_UPLOAD'] = 'true' from my code and now it works. |
I had the same problem this week. The resolution was to set ENV['ITMSTRANSPORTER_FORCE_ITMS_PACKAGE_UPLOAD'] = 'false', also you can basically removed it from your code. |
|
New Issue Checklist
Issue Description
Hello,
after upgrading Xcode to 14.0.1 and macOS to Ventura on Mac mini M1 the pilot command now fails to send package to TestFlight.
altool finishes with the error:
Error: Could not determine the package’s bundle ID. The package is missing an Info.plist or the CFBundlePackageType is not ‘APPL’ or ‘FMWK’. Unable to validate your application. (-21017)
I have already checked my project and all application targets' Info.plist files contain proper information.
Fastlane is invoked in jenkins environment, but locally it fails in the same way.
I wonder if altool should try to upload .itmsp package?
Expected behaviour: fastlane is able to upload the package correctly to TestFlight as in the previous version
Command executed
Complete output when running fastlane, including the stack trace and command used
INFO [2022-10-28 15:04:35.53]: �[32m--- Step: upload_to_testflight ---�[0m
INFO [2022-10-28 15:04:35.53]: �[32m----------------------------------�[0m
INFO [2022-10-28 15:04:35.53]: Creating authorization token for App Store Connect API
INFO [2022-10-28 15:04:35.53]: �[32mReady to upload new build to TestFlight (App: 1220925463)...�[0m
DEBUG [2022-10-28 15:04:35.58]: App Platform (iOS)
INFO [2022-10-28 15:04:35.78]: �[32mWrote XML data to '/var/folders/pv/3jycc90x1qz7h4g1s_vzwf94vcf7sj/T/d20221028-61555-oorr4w/1220925463-498f22cd-889e-40e6-ae2c-697400081359.itmsp'�[0m
DEBUG [2022-10-28 15:04:35.78]: Using altool as transporter.
INFO [2022-10-28 15:04:35.78]: Going to upload updated app to App Store Connect
INFO [2022-10-28 15:04:35.78]: �[32mThis might take a few minutes. Please don't interrupt the script.�[0m
DEBUG [2022-10-28 15:04:35.78]: API_PRIVATE_KEYS_DIR=YourTmpP8KeyDir xcrun altool --upload-app --apiKey YourKeyID --apiIssuer YourIssuerID -t ios -f /var/folders/pv/3jycc90x1qz7h4g1s_vzwf94vcf7sj/T/d20221028-61555-oorr4w/1220925463-498f22cd-889e-40e6-ae2c-697400081359.itmsp -k 100000
DEBUG [2022-10-28 15:04:37.34]: [altool]: {
DEBUG [2022-10-28 15:04:37.34]: [altool]: NSLocalizedDescription = "Could not determine the package\U2019s bundle ID. The package is missing an Info.plist or the CFBundlePackageType is not \U2018APPL\U2019 or \U2018FMWK\U2019.";
DEBUG [2022-10-28 15:04:37.34]: [altool]: NSLocalizedFailureReason = "Unable to validate your application.";
DEBUG [2022-10-28 15:04:37.34]: [altool]: }
WARN [2022-10-28 15:04:37.34]: �[33m[altool] 2022-10-28 15:04:37.340 *** Error: Could not determine the package’s bundle ID. The package is missing an Info.plist or the CFBundlePackageType is not ‘APPL’ or ‘FMWK’. Unable to validate your application. (-21017)
�[0m
WARN [2022-10-28 15:04:37.34]: �[33m[altool] {
�[0m
WARN [2022-10-28 15:04:37.34]: �[33m[altool] NSLocalizedDescription = "Could not determine the package\U2019s bundle ID. The package is missing an Info.plist or the CFBundlePackageType is not \U2018APPL\U2019 or \U2018FMWK\U2019.";
�[0m
WARN [2022-10-28 15:04:37.34]: �[33m[altool] NSLocalizedFailureReason = "Unable to validate your application.";
�[0m
WARN [2022-10-28 15:04:37.34]: �[33m[altool] }
�[0m
INFO [2022-10-28 15:04:37.34]: Application Loader output above ^
ERROR [2022-10-28 15:04:37.34]: �[31mError uploading '/var/folders/pv/3jycc90x1qz7h4g1s_vzwf94vcf7sj/T/d20221028-61555-oorr4w/1220925463-498f22cd-889e-40e6-ae2c-697400081359.itmsp'.
�[0m
ERROR [2022-10-28 15:04:37.34]: �[31mCould not determine the package’s bundle ID. The package is missing an Info.plist or the CFBundlePackageType is not ‘APPL’ or ‘FMWK’. Unable to validate your application. (-21017)
�[0m
ERROR [2022-10-28 15:04:37.34]: �[31mThe call to the altool completed with a non-zero exit status: 1. This indicates a failure.�[0m
ERROR [2022-10-28 15:04:37.34]: �[31mCould not download/upload from App Store Connect!�[0m
Environment
✅ fastlane environment ✅
Stack
System Locale
fastlane files:
No Fastfile found
No Appfile found
fastlane gems
Loaded fastlane plugins:
No plugins Loaded
Loaded gems
generated on: 2022-11-02
The text was updated successfully, but these errors were encountered: