strongself / Generamba

This codegenerator is too brilliant to be real!
MIT License
1.82k stars 183 forks source link

Error creating the Xcode group path to new modules #129

Closed ismetanin closed 8 years ago

ismetanin commented 8 years ago

After "generamba gen TestThree swift_viper_module" I see in Xcode: 2016-08-07 10 24 44 1 2016-08-07 10 31 14 But in Finder all is well: 2016-08-07 10 25 10 My Rambafile:

### Headers settings
company: 5Agency

### Xcode project settings
project_name: addressbook-ios
xcodeproj_path: AdressBook.xcodeproj

### Code generation settings section
# The main project target name
project_target: AdressBook

# The file path for new modules
project_file_path: /Users/Ivan/Documents/Work/addressbook-ios/AdressBook/Classes/Presentation/User Stories

# The Xcode group path to new modules
project_group_path: /Users/Ivan/Documents/Work/addressbook-ios/AdressBook/Classes/Presentation/User Stories

### Tests generation settings section
# The tests target name
test_target: AdressBookTests

# The file path for new tests
test_file_path: /Users/Ivan/Documents/Work/addressbook-ios/AdressBookTests

# The Xcode group path to new tests
test_group_path: /Users/Ivan/Documents/Work/addressbook-ios/AdressBookTests

### Dependencies settings section
podfile_path: Podfile

### Templates
templates:
- {name: swift_viper_module, local: '/Users/Ivan/Documents/Work/Helpers/generamba-modules/swift_viper_module'}
etolstoy commented 8 years ago

Hi, @lvinoeserdce! We'll investigate it asap.

Beniamiiin commented 8 years ago

@lvinoeserdce hi. I have already fixed this bug and we will release new version soon. Until then, write all paths in rambafile without slash('/') in begin and end of path and you will not have any problems. And, all paths in rambafile relative, example: project_file_path: AdressBook/Classes/Presentation/User Stories

ismetanin commented 8 years ago

@Beniamiiin hi! Thank you! I solved my problem with your help.