Add Parse.com 1.11.0 to watchOS 2

The Parse SDK update to 1.11.0 says that it supports watchOS and tvOS. I was wondering how I can add frames to my watchOS application using Cocoapods. The pod file contains pod 'Parse', and I started pod update, then pod install, but when I add the bridge header to the watchOS 2 extension, it says that the file was not found.

Do you know what I should do?

thanks

+4
source share
1 answer

It appears that QuickStart instructions have not been updated for watchOS 2. I could not find any information in the ad .

Parse WatchKit Extension, Podfile :

# Uncomment this line to define a global platform for your project
# platform :ios, '8.0'
# Uncomment this line if you're using Swift
# use_frameworks!

target 'MyApp' do

end

target 'MyApp WatchKit App' do

end

target 'MyApp WatchKit Extension' do
    platform :watchos, '2.0'
    pod 'Parse', '~> 1.11'
end

, Parse iOS, WatchKit (, Push- iOS Parse on WatchKit), .

"Generated duplicate UUIDs" CocoaPods , :

export COCOAPODS_DISABLE_DETERMINISTIC_UUIDS=YES

, :

# Uncomment this line to define a global platform for your project
# platform :ios, '8.0'
# Uncomment this line if you're using Swift
# use_frameworks!

target 'MyApp' do
    platform :ios, '8.0'
    pod 'Parse', '~> 1.11'
end

target 'MyApp WatchKit App' do

end

target 'MyApp WatchKit Extension' do
    platform :watchos, '2.0'
    pod 'Parse', '~> 1.11'
end

, pod install, !

+3

Source: https://habr.com/ru/post/1620010/


All Articles