In Xcode 7.2 when creating an archive to upload to App Store (using Windows > Organizer)
I get the following error: 'Attempt to mutate immutable object with deleteCharactersInRange'
The following log is generated for the error:
2016-01-13 11:11:24 +0000 The store submission configuration response failed with errors: ( "Error Domain=WorkerErrorDomain Code=-10001 \"Attempt to mutate immutable object with deleteCharactersInRange:\" UserInfo={MZUnderlyingException=Attempt to mutate immutable object with deleteCharactersInRange:, NSLocalizedDescription=Attempt to mutate immutable object with deleteCharactersInRange:, NSLocalizedFailureReason=Attempt to mutate immutable object with deleteCharactersInRange:}" ), warnings: ( ), info messages: ( ). 2016-01-13 11:11:26 +0000 [MT] Presenting: Error Domain=WorkerErrorDomain Code=-10001 "Attempt to mutate immutable object with deleteCharactersInRange:" UserInfo={MZUnderlyingException=Attempt to mutate immutable object with deleteCharactersInRange:, NSLocalizedDescription=Attempt to mutate immutable object with deleteCharactersInRange:, NSLocalizedFailureReason=Attempt to mutate immutable object with deleteCharactersInRange:}
I am using Swift 2 in my project and have integrated Objective-C based PayU payment Gateway library.
Is there someway I can track the source of the error, to resolve the issue. I am able run the app successfully in the simulator and a real iPhone device.
I just had the same problem in Xcode 7.2 At the end, I used the Application Loader instead, and I succeed to upload the app. Hope that helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With