Mac OS 15, XCode 15.3

We recently upgrade our OS from Sonoma to Sequoia and have been using Fastlane to generate our ipa(s) However since the upgrade we are facing the following error:

00:26:30 + xcodebuild -exportArchive -exportOptionsPlist /var/folders/sk/_k2v73dd5hscn2mcvcqc43gs69_8bc/T/gym_config20240930-10121-gjvg0h.plist -archivePath /Users/ejeniossvc/jenkins/workers/workspace/local-jenkins-build32/-1449677665/452/build-dir/rqa-EnterpriseDistribution/dist/MY.xcarchive -exportPath /var/folders/sk/_k2v73dd5hscn2mcvcqc43gs69_8bc/T/gym_output20240930-10121-27pj6 -allowProvisioningUpdates -skipPackagePluginValidation -skipMacroValidation CODE_SIGN_STYLE=Manual DEVELOPMENT_TEAM=xxxxxxxxxxxx 00:26:30 error: Couldn't load -exportOptionsPlist: The data couldn’t be read because it isn’t in the correct format. 00:26:30
00:26:30 Swift.DecodingError.dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not a valid property list.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Encountered unexpected character s on line 1 while looking for close tag for key" UserInfo={NSDebugDescription=Encountered unexpected character s on line 1 while looking for close tag for key})))

Mac OS 15, XCode 15.3

You can't run Xcode 15.3 on macOS 15. macOS 15 requires Xcode 16 or later.

xcodebuild -exportArchive -exportOptionsPlist

Confirm you set Xcode 16 as the active developer directory on your system by running in Terminal:

xcode-select -p 

Couldn't load -exportOptionsPlist: The data couldn’t be read because it isn’t in the correct format

To check the format of keys you can add in an export options plist, run in Terminal:

xcodebuild -help
Mac OS 15, XCode 15.3
 
 
Q