Objective c NSDictionary上的SIG_ABRT错误?
我在运行我的应用程序时遇到了SIG_ABRT错误,它突出显示了这一行Objective c NSDictionary上的SIG_ABRT错误?,objective-c,ios4,nsdictionary,sigabrt,Objective C,Ios4,Nsdictionary,Sigabrt,我在运行我的应用程序时遇到了SIG_ABRT错误,它突出显示了这一行 NSDictionary *songInfo = [[NSDictionary alloc] initWithObjects:propertyValues forKeys:propertyKeys]; propertyValues和propertyKeys通过几行进行初始化: NSArray *propertyKeys = [[NSArray alloc] initWithObjects:songKey, albumKey,
NSDictionary *songInfo = [[NSDictionary alloc] initWithObjects:propertyValues forKeys:propertyKeys];
propertyValues和propertyKeys通过几行进行初始化:
NSArray *propertyKeys = [[NSArray alloc] initWithObjects:songKey, albumKey, artistKey, artistIDKey,lastPlayedKey, genreKey, ratingKey, playCountKey, nil];
NSArray *propertyValues = [[NSArray alloc] initWithObjects:songTitle, albumName, artistName, artistID,lastPlayed, genre, userRating, playCount, nil];
是什么导致了这个错误?某些值/键是否未初始化?您能否提供错误日志NSDictionary未正确初始化,因为由于此错误,阵列被拒绝访问其所需的信息:在这种情况下,没有需要修复的内容。