SysdataSpA / R.objc

Get autocompleted resources like images, localized strings and storyboards in ObjC projects
Apache License 2.0
109 stars 18 forks source link

Duplicatating RLaunchScreen #13

Closed yurikoles closed 6 years ago

yurikoles commented 6 years ago
@interface RLaunchScreen: NSObject
- (__kindof UIViewController*)instantiateInitialViewController;
@end

@interface RLaunchScreen: NSObject
- (__kindof UIViewController*)instantiateInitialViewController;
@end

@interface RStoryboards: NSObject
- (RProfile*)profile;
- (RLaunchScreen*)launchScreen;
- (RMain*)main;
- (RLaunchScreen*)launchScreen;
- (RLaunchScreen*)launchScreen;
@end

Similar duplication is in R.m.

guidosabatini-sysdata commented 6 years ago

Do you have two storyboards with the same name (LaunchScreen.storyboard) in you project?

yurikoles commented 6 years ago

No, I have only one, but with localization.

2018-07-23 18 51 18

guidosabatini-sysdata commented 6 years ago

I tried your case but no problems appeared. Could you please check in the filesystem if there are more than one storyboards with the same LaunchScreen name? R.objc doesn't check on project files but directly on filesystem: they could be here but not in the project

yurikoles commented 6 years ago

@guidosabatini-sysdata I had sent a PR #14 to address this issue for beginners.

yurikoles commented 6 years ago

In my case it was Pods :(