NSBundle, plist and other resources in an Obj-c Static Library
I've created a static library in Xcode, which I am able to successfully use in other projects. However, with resources like plists, I find I must include any plists referenced in my library in the main project where the project is used. In my static library project, I have my plist included in the "Copy Bundle Resources" phase of the target. In my code, here is what I am doing: NSBundle *mainBundle = [NSBundle mainBundle]; NSString *filePath = [mainBundle pathForResource:@"MyClassParams" ofType:@"plist"]; NSMutableDictionary* params = [[NSMutableDictionary alloc] initWithContentsOfFile