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

motion-cocoapods is not respecting cocoapods Pod::Specification#copy_header_mapping #4

Closed
siuying opened this issue May 8, 2012 · 4 comments

Comments

@siuying
Copy link
Contributor

siuying commented May 8, 2012

motion-cocoapods is not respecting cocoapods Pod::Specification#copy_header_mapping, which will cause some pod failed to compile due to headers not found.

Rakefile

Motion::Project::App.setup do |app|
  app.name = 'Cocos2dDemo'
  app.pods do
    dependency 'cocos2d'
  end
end

Error Messages

During compile, an error show:

/Users/siuying/Documents/workspace/Cocos2dDemo/vendor/cocos2d/cocos2d/CCDirector.h:33:9: fatal error: 'kazmath/mat4.h' file not found

This pod works in normal cocoapod project -- it override the default pod behavior "copy all headers into headers folder", instead it respect project directory structure. This is required for some larger project setup.

Is it possible for motion to use cocoapods copy_header_mapping to properly extract the headers?

@siuying
Copy link
Contributor Author

siuying commented May 8, 2012

This is probably depends on #3

@alloy
Copy link
Contributor

alloy commented May 8, 2012

Yeah this depend on #3.

@alloy
Copy link
Contributor

alloy commented May 11, 2012

Should be fixed. The release will have to wait until a new RubyMotion version is released with a patch that's needed.

Please re-open if this did not fix this specific case.

@alloy alloy closed this as completed May 11, 2012
@siuying
Copy link
Contributor Author

siuying commented May 11, 2012

@alloy this is great!

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

No branches or pull requests

2 participants