watchOS 2 working with CocoaPods
Has anyone gotten CocoaPods working with watchOS 2? I tried using ‘use_framework!’ with ‘platform :watchos, ‘2.0’ but it says "[!] Invalid Podfile file: Unsupported platform watchos2 . Platform must be :ios or :osx .. Updating CocoaPods might fix the issue.” I am on the latest version of CocoaPods. CocoaPods currently doesn't support watchos. There is a work in progress issue here for adding support for it. CocoaPods released new version which is 0.38.0 and now supports watchOS 2. http://blog.cocoapods.org/CocoaPods-0.38/ According to the blog above, deployment target can be set to watchOS 2