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

iphone 5 ios 7.1.2 get error when start this app #108

Open
cuongpv1991 opened this issue Jul 20, 2016 · 1 comment
Open

iphone 5 ios 7.1.2 get error when start this app #108

cuongpv1991 opened this issue Jul 20, 2016 · 1 comment

Comments

@cuongpv1991
Copy link

cuongpv1991 commented Jul 20, 2016

Please kindly help :

  • There is an error at GoodNight > GoodNight > Supporting Files > main.m
    #import "AppDelegate.h"

int main(int argc, char * argv[]) {
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}

  • Here is the error message I get : 2016-07-20 21:47:48.886 GoodNight[21256:60b] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]'
    *** First throw call stack:
    (0x2d5f7ecb 0x37d92ce7 0x2d5312ab 0x2d53ac21 0xf6471 0xf4ebd 0x2fe98ca1 0x2fe985f3 0x2fe92ca9 0x2fe2ec77 0x2fe2ddd9 0x2fe923e5 0x3249bb55 0x3249b73f 0x2d5c2807 0x2d5c27a3 0x2d5c0f6f 0x2d52b729 0x2d52b50b 0x2fe9160b 0x2fe8c871 0xfd11d 0x38290ab7)
    libc++abi.dylib: terminating with uncaught exception of type NSException
    (lldb)
@anthonya1999
Copy link
Owner

Hmm, I hate these errors! It's hard to tell where the issue actually is, since it throws an exception in the main.m file. Also, I can't test it because I don't believe I have any iOS 7 devices anymore. I'll still see what I can do...thanks for pointing it out!

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