-
Notifications
You must be signed in to change notification settings - Fork 18
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
Can't use motion-cocoapods on motion-game template #23
Comments
nothing? @Watson1978 @jjaffeux |
This is not implemented, but it shouldn't be hard to add, feel free to contribute a patch :) |
Well I'm not really an expert on this, but if u can explain a little as you would, I'll try gladly, Greetings |
I have not thought of the best way to implement this, but here's some info that could be useful: We generate a shortcuts.rb file, which simply creates namespaced rake commands which forward the rake commands to the corresponding platforms. Here's the script used to generate shortcuts.rb: https://github.com/HipByte/motion-game/blob/master/Rakefile#L272-L290 And here's shortcuts.rb: https://github.com/HipByte/motion-game/blob/master/lib/motion-game/shortcuts.rb Ideally the solution should allow to forward arbitrary rake commands to each platform simply using the namespace, e.g.:
Let me know if you have any questions :) |
Also maybe you should look at https://github.com/HipByte/Flow because if I'm not mistaken we do support this functionality (and the project has a similar architecture as motion-game). |
after add
gem 'motion-cocoapods'
to my gemfile
Any way to integrate cocoapods to ios games?
The text was updated successfully, but these errors were encountered: