在 Xcode 7.2 中创建存档以上传到 App Store(使用 Windows > Organizer)
I get the following error: 'Attempt to mutate immutable object with deleteCharactersInRange'
针对错误生成以下日志:
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:}
我在我的项目中使用 Swift 2 并集成了基于 Objective-C 的 PayU 支付网关库。
有什么方法可以追踪错误的来源,从而解决问题。 我能够在模拟器和真实的 iPhone 设备中成功运行该应用程序。
最佳答案
我刚刚在 Xcode 7.2 中遇到了同样的问题 最后,我改用了Application Loader,成功上传了应用程序。 希望对您有所帮助。
关于ios - '尝试使用 deleteCharactersInRange 改变不可变对象(immutable对象)' : Xcode 7. 2 创建存档以上传到应用商店时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34765360/