Permalink
Browse files

[Fix] Correct Ejecta build:

- fixes header path
- include ejecta.js as resource
  • Loading branch information...
siuying committed Nov 30, 2012
1 parent eee733a commit fdb34bfcd4b71a978a77b93061c410c1f17a7008
Showing with 7 additions and 1 deletion.
  1. +7 −1 Ejecta/1.2/Ejecta.podspec
@@ -10,8 +10,14 @@ Pod::Spec.new do |s|
s.platform = :ios
s.source_files = 'Classes/**/*.{h,m,mm}'
+ s.resource = 'ejecta.js'
+
s.preferred_dependency = 'Library'
- s.frameworks = 'SystemConfiguration', 'CoreText', 'GameKit', 'CoreGraphics', 'OpenAL', 'AudioToolbox', 'OpenGLES', 'AVFoundation', 'iAd'
+ s.frameworks = 'SystemConfiguration', 'CoreText', 'QuartzCore', 'GameKit', 'CoreGraphics', 'OpenAL', 'AudioToolbox', 'OpenGLES', 'AVFoundation', 'iAd'
+
+ def s.copy_header_mapping(from)
+ from.relative_path_from(Pathname.new('Classes/Ejecta'))
+ end
s.subspec 'Library' do |os|
os.source_files = 'JavaScriptCore/*.h', 'lodepng/*.{c,h}'

0 comments on commit fdb34bf

Please sign in to comment.