Skip to content

Commit

Permalink
Updated (deleted) installation steps
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyVerbruggen committed Aug 3, 2015
1 parent 7fc8541 commit 704ce46
Showing 1 changed file with 3 additions and 30 deletions.
33 changes: 3 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -578,36 +578,9 @@ adjust it, and have the app load it by placing it here: `www/custom-watchkit-sto
##Installation
####Prep
Install npm 'xcode' package because our hooks need it: `npm install -g xcode`
This branch is meant to be used in Telerik AppBuilder, where you can simply install the plugin from the Telerik Verfied Plugins Marketplace from inside your project. Easy as pie!
####CLI
```
cordova create applewatchtest
cd applewatchtest
cordova platform add ios
```
####XCode
File > New > Target > Apple Watch: Language ObjC, Select Glance and Notifications > Finish > Activate
####CLI
```
cordova plugin add https://github.com/Telerik-Verified-Plugins/AppleWatch
cordova prepare
```
####XCode
Set CFBundleVersion (Bundle Version) and CFBundleShortVersionString (Bundle versions string, short) of all targets to the same value (use XCode's search feature and change all 3 .plist values)
At this point your builds should succeed
####More XCode
App Groups: register an appgroup in your iOS member center (Identifiers > App Groups): we expect group.<packagename>, like group.io.cordova.hellocordova, then add it to your App ID.
Now generate a provisioning profile with the new App ID and add it XCode (download, then double-click the file should do it).
In XCode, go to your targets and add this app group to both the phone and watch app targets (Capabilities tab).
Cordova CLI users should use the master branch of this repo, which requires a few manual steps.
##Tips:
Expand All @@ -621,4 +594,4 @@ Notifications: http://natashatherobot.com/watchkit-actionable-notifications/
##Kudos
[Lee Crossley](https://github.com/leecrossley/cordova-plugin-apple-watch) for his work on figuring out how to add and use the wormhole lib in a Cordova plugin
[Lee Crossley](https://github.com/leecrossley/cordova-plugin-apple-watch) for his work on figuring out how to add and use the wormhole lib in a Cordova plugin

0 comments on commit 704ce46

Please sign in to comment.