I’m getting the following errors when trying to distribute my app to TestFlight:
What I tried till now:
- I checked the ENABLE_BITCODE option in XCode and it is set to "NO" for
both debug and release. - I checked the DEBUG_INFORMATION_FORMAT and it is set to "DWARF with dSYM file" for both debug and release
- I tried with this command that I found like a solution but it didn’t work:
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
end
MacOS: Sequoia 15.0
2
Answers
Yeah, that seems to be the only solution for now. As @lmntrix mentioned you can downgrade Xcode to 15.4. I found the same suggestion as solution in Reddit and used both. So the solution for me was:
Delete the XCode.app from Applications folder
Download the XCode 15.4 from this link https://xcodereleases.com
3. After unzipping, move the Xcode.app to the Applications folder
/Applications/Xcode.app/Contents/MacOS/Xcode
This will launch the XCode and should start downloading the Simulator 17.5.
Note: The XCode will appear with a cross like icon over it but you should be able to run it.
I faced the same issue a few hours ago. I realized that my Xcode was updated to a new version 16.0.
I don’t know if this helps but if you are in a hurry a workaround that worked for me was downgrading Xcode to 15.4.
I used this link to get the app: https://xcodereleases.com