运行我的应用程序时出现 SIG_ABRT 错误,它突出显示了这一行
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];
是什么导致了这个错误?某些值/键是否未初始化?