-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[IOS] Crash [__NSArrayM insertObject:atIndex:]: object cannot be nil #96
Comments
Hi @ek018 , |
@MaxToyberman this is the same issue as #60 but there isnt any conculsive solution for the problem, |
Make sure the certificate file use you are using is in binary format and ".cer" extension, the AFSecurity only supports binary format certificates and not plain text certificates. |
@shrynshjn Did you fix it with adding public keys? |
Yes. @mkilp, the certificate should be in the proper format. The steps in documentation works fine, it just doesn't mention the format of the public certificate |
Make sure it's a binary certificate with .cer extension |
adding public key pinning is not mandatory, only certificate pinning works, with the right certficate |
You are a life saver |
Hello @MaxToyberman ,
For these 2 weeks on IOS app always got crash from thread
[__NSArrayM insertObject:atIndex:]: object cannot be nil
Using this code was work on Android but always got crash on IOS, Could you elaborate how to solve this?
Thanks,
Code
Setup
Error
Environment
The text was updated successfully, but these errors were encountered: