cancel
Showing results for 
Search instead for 
Did you mean: 

Crash in Accept SDK for iOS.

Hi all,

 

Language Used - Objective c

Xcode version - 8.2.1

iOS Version - 10.2

 

I am implementing Accept SDK for iOS in my Xcode project and i've intiallized

AcceptSDKRequest and 

AcceptSDKHandler class objects and assigned 

client name, client key, card number, card expiry date, and card code, to it's respective object.

and code is in Test environment.

After that i'm requesting a token with method called getTokenWithRequest And it is CRASHING without any error OR exception with exc_bad_access code=1 address

 

Please look into the issue as i'm following the same order as the below link with objective c code.

 

https://github.com/AuthorizeNet/accept-sdk-ios

srujank40088
Member
4 REPLIES 4
Hi guys, Any suggestion?
srujank40088
Member

Hi @srujank40088,

 

I can't give you any specific advice without seeing all your code. I'm not aware of any known issues with memory deallocation in the SDK code. I can however point you to this article on troubleshooting EXC_BAD_ACCESS here: http://loufranco.com/blog/understanding-exc_bad_access. It's older but should still be correct.

 

If you determine that the bug is located anywhere in our code, please let us know here or by filing an issue on the GitHub project page.

@Aaron this very simple Objective-C implementation crashes on line 25 https://gist.github.com/davidolesch/266a4553897386a800e7e5e00113cf8b

Hi!

Did you find solution? I've got the same problem

nadik
Member

Type a product name