Using Cocoapods with watchOS 2

Target ‘Pods-MyWatchExtension’ of project ‘Pods’ was rejected as an implicit dependency for ‘Pods_MyWatchExtension.framework’ because it doesn’t contain platform ‘watchsimulator’ in its SUPPORTED_PLATFORMS ‘iphonesimulator, iphoneos’
No such module 'PodIAmTryingToUse'
"platforms": {
"iOS": "7.0",
"watchos": "2.0"
}
use_frameworks!def shared_pods
pod 'AFNetworking'
pod 'Mantle'
end
target 'My App' do
platform :ios, '9.0'
shared_pods
end
target 'My App Watch Extension' do
platform :watchos, '2.0'
shared_pods
end

--

--

Creator of Fridgely and University Eats

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store