Skip to content
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

Crash Report in APThread.m #127

Open
aliazadeh opened this issue Jun 7, 2016 · 3 comments
Open

Crash Report in APThread.m #127

aliazadeh opened this issue Jun 7, 2016 · 3 comments

Comments

@aliazadeh
Copy link

Hi , I can not use Your Classes in my Project :(
every time my Application Crashs in "APThread.m" in "- (void)performBlock:(void (^)())block" line 43 block ()
Crash message is EXC_BAD_ACCESS(code=2 , .... ) and some one code is equal to 1 : EXC_BAD_ACCESS(code=1 , .... )

// ******
my code is :
APAddressBook *addressBook = [[APAddressBook alloc] init];

[addressBook loadContacts:^(NSArray <APContact *> *contacts, NSError *error)
{

   // someAction

}];

actually application will crash every time that I use addressBook with one 'Block' !
Thanks

@belkevich
Copy link
Contributor

Hi,
I think you should try to store addressBook variable to some property. Also, check the Example in this repo. It should works fine. If not, let me know.

@aliazadeh
Copy link
Author

Yes it is Correct ;)
I stored some new Field in AddressBook ;)

On Jun 8, 2016, at 4:38 PM, Alexey Belkevich [email protected] wrote:

Hi,
I think you should try to store addressBook variable to some property. Also, check the Example in this repo. It should works fine. If not, let me know.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub #127 (comment), or mute the thread https://github.com/notifications/unsubscribe/APYHoe-EG6EmWdCsN9Me6GCfUy2ffRPwks5qJrDIgaJpZM4IwOr8.

@belkevich
Copy link
Contributor

Do you try 'Example' app in this repo? If not please, try it. Also, could you provide the screenshot of stack trace of the error?

26 июня 2016 г., 8:14 +0300, Ali [email protected], писал:

Yes it is Correct ;)
I stored some new Field in AddressBook ;)

On Jun 8, 2016, at 4:38 PM, Alexey [email protected]:

Hi,
I think you should try to store addressBook variable to some property. Also, check the Example in this repo. It should works fine. If not, let me know.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/127#issuecomment-224569915, or mute the threadhttps://github.com/notifications/unsubscribe/APYHoe-EG6EmWdCsN9Me6GCfUy2ffRPwks5qJrDIgaJpZM4IwOr8.


You are receiving this because you commented.
Reply to this email directly,view it on GitHub(#127 (comment)), ormute the thread(https://github.com/notifications/unsubscribe/ABObNdZ8Mrv000hu-ONcPVFsmPVgM_Lxks5qPgqfgaJpZM4IwOr8).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants