私のアプリケーションでは、以下のコードを使用して plist を取得できません。私はXcode 4.5を使用しています.plistを取得するためのコードは次のとおりです。
NSBundle *thisBundle = [NSBundle mainBundle];
NSDictionary *theDictionary;
NSString *commonDictionaryPath;
if (commonDictionaryPath = [thisBundle pathForResource:@"newfonts-Info" ofType:@"plist"])
{
theDictionary = [[NSDictionary alloc] initWithContentsOfFile:commonDictionaryPath];
}
注:-テキストまたは xml ファイルを取得しようとすると、上記のコードは正常に機能します。