Reputation: 763
I have an app for iPhone, which is already in the App Store but i made some new features and tried to submit to the App Store.
On 1st time submission
We were unable to review your app, as it crashed on launch on the following device(s):
iPhone 4S running iOS 8.1- iPhone 5C running iOS 8.1- iPhone 5S running iOS 8.1- iPhone 6 running iOS 8.1- iPhone 6 Plus running iOS 8.1- iPod Touch Fifth Generation running iOS 8.1
We have attached detailed crash logs to help troubleshoot this issue.
I already tested it with test flight in many devices, but i can't reproduce the error.
Theres any way i can simulate the environment that apple uses to test it, or maybe analyze the crash report any way?
Crash Report
Upvotes: 1
Views: 1751
Reputation: 77661
In the crash log it shows you why it is crashing...
reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[2]'
You're best just pasting the crash log into the question. Makes it easier to read.
Anyway, you can't put nil
into a dictionary. The result is that the app will terminate.
Without seeing any code it's pretty much impossible to determine why this is happening but it should give you something to look for.
In fact, it looks like you're attempting to create a dictionary with 3 or more items and the 3rd one is nil.
Upvotes: 1