1

堆栈跟踪:

0   libobjc.A.dylib                 0x00007fff2021a26e objc_opt_respondsToSelector + 27
1   com.apple.CoreFoundation        0x00007fff20405674 __CFStringAppendFormatCore + 9123
2   com.apple.CoreFoundation        0x00007fff20534412 _CFStringCreateWithFormatAndArgumentsReturningMetadata + 145
3   com.apple.CoreFoundation        0x00007fff204032cb _CFStringCreateWithFormatAndArgumentsAux2 + 20
4   com.apple.Foundation            0x00007fff210d1eef +[NSString stringWithFormat:] + 153

故障码:

NSString* GetPlistPath(){
    return [[NSString stringWithFormat:@"%@/%@/%@",UserLibrary,PREFERENCE_PLIST_DIR_NAME,PREFERENCE_PLIST_NAME] stringByExpandingTildeInPath];
}

UserLibraryanNSString*和E 分别PREFERENCE_PLIST_DIR_NAME在哪里。PREFERENCE_PLIST_NAMNSString* const

4

0 回答 0