Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'Attempt to mutate immutable object with deleteCharactersInRange': Xcode 7.2 error creating archive to upload to appstore

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.

like image 633
Ian Pinto Avatar asked Sep 05 '25 03:09

Ian Pinto


1 Answers

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.

like image 95
Momachilles Avatar answered Sep 07 '25 20:09

Momachilles