Created
December 12, 2014 14:57
-
-
Save radex/dc8da9d912a1086b3e46 to your computer and use it in GitHub Desktop.
This is how you make a Podfile for a project with multiple platforms _and_ multiple targets. Easy, right?
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
source 'https://github.com/CocoaPods/Specs.git' | |
target :iOS do | |
platform :ios, '7.1' | |
link_with 'YourAppTarget', 'WidgetExtension', 'ShareExtension' | |
# pods... | |
end | |
target :Mac do | |
platform :osx, '10.9' | |
link_with 'MacAppTarget', 'MacExtensions' | |
# pods... | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment