Crash on getting the list of approved subscriptions in TestFlight

Getting 'uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]' while trying to get the list of products (auto-renewable subscriptions) throught the TestFlight

1. Passed the Apple review 1 week ago.

2. Didn't publish the app (Pending Developer Release)

3. Using the same build which Apple checked.

4. All subscriptions are Approved

5. All contracts and etc. filled.

Answered by eugene257 in 395571022

Issue was related to the Expo library, native part which was not able to handle properly subscriptions with empty descriptions. Closing.

While the exception which I attached related to the custom code, I figure out that the response from Apple backend returns 0 subscriptions.

Maybe this is a complex issue when we should go live and then we will be able to get the list of subscriptions?

Accepted Answer

Issue was related to the Expo library, native part which was not able to handle properly subscriptions with empty descriptions. Closing.

Crash on getting the list of approved subscriptions in TestFlight
 
 
Q