watch-os-2


How to migrate the existing project from WatchOS 2 into WatchOS 3


I have an existing WatchOS 2 app. I want to upgrade it and add some WatchOS 3 features, so I have installed Xcode 8 beta 3. My question is do I need to create another target for WatchOS 3 project or I can still keep working on the same WatchOS 2 target and add new WatchOS 3 features there with Xcode 8.
Use same target but functions/code would need to be conditional:
#available(watchOS 3, *)
{
// do some watchOS 3 stuff
}
#else
{
// do some watchOS 2 stuff
}
#endif

Related Links

Why HKSample array always have 1 value for a HKAnchoredObjectQuery with no limits,no predicate, no anchor?
wrong WCSessionDelegate callback function called
Apple watch's gyroscope.available always return false
Does WCSessionDelegate get an initial sessionReachabilityDidChange after activating WCSession?
Are `setHidden` messages to `WKInterfaceObject` guaranteed to be delivered in order?
Apple Watch App Extension won't run on the simulator anymore
WatchOS2 Context Menu not working with BecomeCurrentPage
Apple Watch Complication not updating in background
Apple watch complication not refreshing in the background when using HealthKit queries
WKInterfaceTable pull to refresh
HKAnchoredObjectQuery results handler doesn't fire after initial results
WKInterfaceMap is not shown on WatchOS 2 project
can a user interact with WKInterfacePicker with touch gestures?
Will install Watch App called with bad bundle identifier '(null)'
Wakeup Watch app OS2 from the parent IOS app?
HomeKit show no homes in WatchOS 2

Categories

HOME
twitter-bootstrap-3
turing-machines
polymer
css3
pyqt
case
hessian
can
rendering
bitbucket-api
javacc
scripting
hpc
title
computer-science
categorical-data
android-securityexception
line
endpoint
speech-synthesis
gkturnbasedmatch
flatpak
http-post
scsi
package.json
atlassian-stash
sse
sencha-touch
undertow
react-toolbox
resourcebundle
fragment-backstack
asymptotic-complexity
underscore.js
exchangewebservices
comparable
google-cast
jbutton
twos-complement
reverse
fiware-cygnus
raft
swagger-php
dm-script
sessionstorage
recurrent-neural-network
verifiable-c
azure-arm
levenshtein-distance
movilizer
microsoft-metro
uiimage
double-click
httrack
proget
podscms
trojan
scalding
ngmaterial
arules
reshape
trigger.io
javafx-css
rocks
grails-plugin
preprocessor
adafruit
mongodb-php
model-associations
x-tag
gogs
observablecollection
bizagi
gcloud-ruby
jparsec
dynamics-nav-2016
ons-api
dronekit-android
baasbox
kubuntu
zxspectrum
actionfilterattribute
exceldatareader
at-job
cosine-similarity
iiop
genymotion-call
mdichild
template-deduction
vbe
gtm-oauth2
oocss
inappsettingskit
kogrid
kaleidoscope
video-codecs
mysql-error-2013
argouml
onmousemove
fragmenttransaction
sentestingkit
xcode3.2
ilasm
infobright
promotion-code
cgbitmapcontextcreate
metaweblog
folding
burndowncharts
purepdf
software-lifecycle
business-model
contentpresenter
pnrp

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App