Loading resource_bundle error in cocoapods
问题 I am trying to make my own cocoapods, I used images. When I follow the tutorial, I get an error. .podspec s.resource_bundles = { 'SSSlidingSelector' => ['SSSlidingSelector/Assets/*.xcassets'] } Class/SlidingSelector.m - (UIImage *)getImageWithName:(NSString *)imageName { NSBundle *bundle = [NSBundle bundleForClass:[self class]]; NSURL *url = [bundle URLForResource:@"SSSlidingSelector" withExtension:@"bundle"]; NSBundle *targetBundle = [NSBundle bundleWithURL:url]; UIImage *image = [UIImage