xamarin / ios-samples

Xamarin.iOS sample apps
http://docs.microsoft.com/xamarin/ios/
Other
1.59k stars 1.91k forks source link

watchkit samples don't work #291

Closed rocketbob closed 5 years ago

rocketbob commented 6 years ago

Getting the following exception when trying to compile the iOS watch samples:

/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.WatchApp.Common.targets(3,3): Error: Xcode 10 does not support watchOS 1 apps. Either upgrade to watchOS 2 apps, or use an older version of Xcode. (WatchApp)

Latest of everything installed, XCode 10.

rocketbob commented 6 years ago

Project references point to Xamarin.iOS and WatchKitExtension. When creating new watch projects they point to Xamarin.WatchOS. Not sure how to switch the samples over to these references. I don't see them as NuGet packages.

rolfbjarne commented 5 years ago

The samples in the watchOS directory have been updated to use watchOS 2+.