0

アプリケーションの実行中に 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];

このエラーの原因は何ですか? 一部の値/キーが初期化されていませんか?

4

0 に答える 0