Skip to content

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

@keungfan

Description

@keungfan

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions