Created
April 10, 2014 17:10
-
-
Save objectiveSee/10403016 to your computer and use it in GitHub Desktop.
Creating Podspec for https://github.com/PhilipsHue/PhilipsHueSDK-iOS-OSX. In my project, the "framework search paths" is set to ""$(PODS_ROOT)/../../PhilipsHueSDKOfficial"" but when I try to import a header from the Hue SDK I get a linker error (header not found)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pod::Spec.new do |s| | |
s.name = 'PhilipsHueiOS' | |
s.version = '1.1.3' | |
s.license = 'Copyright (c) 2012- 2013, Philips Electronics N.V. All rights reserved.' | |
s.summary = 'The Software Development Kit for Philips Hue on iOS' | |
s.homepage = 'https://github.com/PhilipsHue/PhilipsHueSDK-iOS-OSX' | |
s.requires_arc = true | |
s.ios.deployment_target = '6.0' | |
s.osx.deployment_target = '10.8' | |
s.source = { :git => '[email protected]:objectiveSee/PhilipsHueSDK-iOS-OSX.git', :tag => 'v1.1.3beta' } | |
s.ios.public_header_files = 'HueSDK_iOS.framework/Headers/*' | |
s.ios.vendored_frameworks = 'HueSDK_iOS.framework' | |
s.dependency 'CocoaLumberjack', '~> 1.8' | |
s.xcconfig = { 'LIBRARY_SEARCH_PATHS' => '$(PODS_ROOT)/PhilipsHueiOS/Frameworks/HueSDK_iOS.framework/Headers' } | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for doing this. Note that https://github.com/PhilipsHue/PhilipsHueSDK-iOS-OSX says the iOS deployment target is 5.0 and the OSX target is 10.7. Are you able to review/ add to https://github.com/PhilipsHue/PhilipsHueSDK-iOS-OSX/pull/76/files ?