Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed adding files to project #96

Closed
rmncv opened this issue Mar 9, 2016 · 4 comments
Closed

Failed adding files to project #96

rmncv opened this issue Mar 9, 2016 · 4 comments
Labels

Comments

@rmncv
Copy link

rmncv commented Mar 9, 2016

Hi!

  • I've installed generamba with accordance to github instructions
  • My rambafile looks like:
 ### Headers settings
company: Nosiy Miner

### Xcode project settings
project_name: fitnessgeek
xcodeproj_path: FitnessGeek.xcodeproj

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

# The file path for new modules
project_file_path: FitnessGeek/UserStory/

# The Xcode group path to new modules
project_group_path: FitnessGeek/UserStory/

### Dependencies settings section
podfile_path: Podfile

### Templates
templates:
- {name: my_swifty_viper, local: 'my_swifty_viper'}
#- {name: remote_template_name, git: 'https://github.com/igrekde/remote_template'}
#- {name: catalog_template_name}
  • Creating new module, all files created at the correct path and adding to xcode (visually) correct as well
    but files are missing (screen: http://i.imgur.com/tgDPoCD.png). I checked file inspector and found out that absolute path is incorrect. It's look like:
    /Users/UserStory/TestModule/Assembly/TestModuleAssembly.swift but it should look like:
    /Users/username/fitnessgeek/FitnessGeek/UserStory/TestModule/Assembly/TestModuleAssembly.swift

If I will set project_file_path to 'FitnessGeek' everything will be added correctly, but files will be created at the folder's root, and this is not what I'm want to

@etolstoy etolstoy added the bug label Mar 9, 2016
@Beniamiiin
Copy link
Contributor

@rmncv hi!

  1. Can you add this - {name: swifty_viper} in Rambafile and execute generamba template install && generamba gen TestModule1 swifty_viper. And look TestModule1 folder, problem is not solved?
  2. Could you attach example project, in which there is this problem.

@etolstoy
Copy link
Member

The author is not responding, so I'm closing this issue for now. @rmncv, if your problem still exists, feel free to reopen the ticket.

@hassan31
Copy link

hassan31 commented Mar 6, 2019

@Beniamiiin @etolstoy
I'm also trying to create modules following the instructions, but it gives me an error on the terminal and not creating the module for me. I'm trying to add Login Module under temples section inrambafile but its not working for me. Please see attached screen shot:

screenshot 2019-03-06 at 3 57 51 pm

screenshot 2019-03-06 at 3 56 43 pm

Please guide me in this regard.

Thanks,
Hassan

@hassan31
Copy link

hassan31 commented Mar 6, 2019

And when I try to install the temple by this command generamba template install

Its giving me below error:

screenshot 2019-03-06 at 3 59 16 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants