Closed nathansalaun-sofia closed 9 months ago
Same here, I've reverted to 1.x.x
since tests are failing due to this exact issue.
I have also one issue with new 2.x.x version, with this version I am unable to upload the ipa to app store connect through bitrise. 2024-02-10 08:28:29.410 altool[33709:1[REDACTED]867] -[NSCFNumber length]: unrecognized selector sent to instance 0x87bfd06d130bb5ab 2024-02-10 08:28:29.411 *** Error: ERROR: [ContentDelivery.Uploader] createRequestBuildCreateJsonWithResponse: caught an exception: -[NSCFNumber length]: unrecognized selector sent to instance 0x87bfd06d130bb5ab 2024-02-10 08:28:29.411 *** Error: Exception caught. -[NSCFNumber length]: unrecognized selector sent to instance 0x87bfd06d130bb5ab (-1010) { NSLocalizedDescription = "Exception caught."; NSLocalizedFailureReason = "-[NSCFNumber length]: unrecognized selector sent to instance 0x87bfd06d130bb5ab"; } Uploading IPA failed: exit status 1
this issue occured while deploying can anyone help me with this error?
Thanks for reporting this. I have released a new version fixing this: https://github.com/bitrise-steplib/steps-set-xcode-build-number/releases/tag/2.0.1
Troubleshooting
Useful information
Issue description
With the new 2.0.0 version released yesterday, setting the build number in Info.plist doesn't seem to work anymore on unit test targets (CI/CD in pull requests to make sure tests pass).
The simulator refuses to run the test app because
The application's Info.plist does not contain a valid CFBundleVersion.
.Here are the step logs:
It says "version numbers successfully updated" but the plist doesn't seem to be updated.
The plist in the repo contains the following data:
The previous step version works properly. Here are the logs from the 1.x step:
I rolled back the step to the latest 1.x version as a temporary workaround. It immediately worked and our builds are back to normal.
Regular app builds (not testing runs) work fine.
Bitrise info