├── watchkitdemo.gif ├── WatchKitCounterDemo ├── AppDelegate.h ├── main.m ├── ViewController.h ├── ViewController.m ├── Images.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json ├── AppDelegate.m ├── Info.plist └── Base.lproj │ ├── LaunchScreen.xib │ └── Main.storyboard ├── WatchKitCounterDemo WatchKit Extension ├── Images.xcassets │ └── MyImage.imageset │ │ └── Contents.json ├── InterfaceController.h ├── PushNotificationPayload.apns ├── Info.plist └── InterfaceController.m ├── README.md ├── WatchKitCounterDemoTests ├── Info.plist └── WatchKitCounterDemoTests.m ├── LICENSE ├── WatchKitCounterDemo WatchKit App ├── Info.plist ├── Images.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json └── Interface.storyboard └── WatchKitCounterDemo.xcodeproj └── project.pbxproj /watchkitdemo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krstnfx/WatchKitCounterDemo/HEAD/watchkitdemo.gif -------------------------------------------------------------------------------- /WatchKitCounterDemo/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // WatchKitCounterDemo 4 | // 5 | // Created by Thai, Kristina on 12/10/14. 6 | // Copyright (c) 2014 Kristina Thai. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /WatchKitCounterDemo WatchKit Extension/Images.xcassets/MyImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x" 10 | }, 11 | { 12 | "idiom" : "universal", 13 | "scale" : "3x" 14 | } 15 | ], 16 | "info" : { 17 | "version" : 1, 18 | "author" : "xcode" 19 | } 20 | } -------------------------------------------------------------------------------- /WatchKitCounterDemo/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // WatchKitCounterDemo 4 | // 5 | // Created by Thai, Kristina on 12/10/14. 6 | // Copyright (c) 2014 Kristina Thai. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /WatchKitCounterDemo/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // WatchKitCounterDemo 4 | // 5 | // Created by Thai, Kristina on 12/10/14. 6 | // Copyright (c) 2014 Kristina Thai. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | 13 | @property (strong, nonatomic) NSMutableArray *counterData; 14 | @property (weak, nonatomic) IBOutlet UITableView *mainTableView; 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /WatchKitCounterDemo WatchKit Extension/InterfaceController.h: -------------------------------------------------------------------------------- 1 | // 2 | // InterfaceController.h 3 | // WatchKitCounterDemo WatchKit Extension 4 | // 5 | // Created by Thai, Kristina on 12/10/14. 6 | // Copyright (c) 2014 Kristina Thai. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface InterfaceController : WKInterfaceController 13 | 14 | @property (weak, nonatomic) IBOutlet WKInterfaceLabel *counterLabel; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | WatchKitCounterDemo 2 | =================== 3 | I created a simple counter app for the watch which saves its count values back to a simple iOS table view app when the user hits a Save button. This project demonstrates how to transfer data to the parent iOS app from the watch extension. 4 | 5 | See full tutorial on http://www.kristinathai.com/send-data-to-parent-ios-app/ 6 | 7 | ![Animated watchkit counter demo](https://github.com/kristinathai/WatchKitCounterDemo/blob/master/watchkitdemo.gif) 8 | 9 | 10 | -------------------------------------------------------------------------------- /WatchKitCounterDemoTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | kristina.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /WatchKitCounterDemo WatchKit Extension/PushNotificationPayload.apns: -------------------------------------------------------------------------------- 1 | { 2 | "aps": { 3 | "alert": "Test message", 4 | "title": "Optional title", 5 | "category": "myCategory" 6 | }, 7 | 8 | "WatchKit Simulator Actions": [ 9 | { 10 | "title": "First Button", 11 | "identifier": "firstButtonAction" 12 | } 13 | ], 14 | 15 | "customKey": "Use this file to define a testing payload for your notifications. The aps dictionary specifies the category, alert text and title. The WatchKit Simulator Actions array can provide info for one or more action buttons in addition to the standard Dismiss button. Any other top level keys are custom payload. If you have multiple such JSON files in your project, you'll be able to select them when choosing to debug the notification interface of your Watch App." 16 | } 17 | -------------------------------------------------------------------------------- /WatchKitCounterDemo/ViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // WatchKitCounterDemo 4 | // 5 | // Created by Thai, Kristina on 12/10/14. 6 | // Copyright (c) 2014 Kristina Thai. All rights reserved. 7 | // 8 | 9 | #import "ViewController.h" 10 | 11 | @interface ViewController () 12 | 13 | @end 14 | 15 | @implementation ViewController 16 | 17 | - (void)viewDidLoad { 18 | [super viewDidLoad]; 19 | 20 | [self.mainTableView reloadData]; 21 | } 22 | 23 | - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { 24 | return self.counterData.count; 25 | } 26 | 27 | - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { 28 | static NSString *cellIdentifier = @"CounterCell"; 29 | UITableViewCell *cell = [self.mainTableView dequeueReusableCellWithIdentifier:cellIdentifier forIndexPath:indexPath]; 30 | 31 | NSString *counterValueString = [self.counterData objectAtIndex:indexPath.row]; 32 | cell.textLabel.text = counterValueString; 33 | 34 | return cell; 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /WatchKitCounterDemoTests/WatchKitCounterDemoTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // WatchKitCounterDemoTests.m 3 | // WatchKitCounterDemoTests 4 | // 5 | // Created by Thai, Kristina on 12/10/14. 6 | // Copyright (c) 2014 Kristina Thai. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface WatchKitCounterDemoTests : XCTestCase 13 | 14 | @end 15 | 16 | @implementation WatchKitCounterDemoTests 17 | 18 | - (void)setUp { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown { 24 | // Put teardown code here. This method is called after the invocation of each test method in the class. 25 | [super tearDown]; 26 | } 27 | 28 | - (void)testExample { 29 | // This is an example of a functional test case. 30 | XCTAssert(YES, @"Pass"); 31 | } 32 | 33 | - (void)testPerformanceExample { 34 | // This is an example of a performance test case. 35 | [self measureBlock:^{ 36 | // Put the code you want to measure the time of here. 37 | }]; 38 | } 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Kristina Thai 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /WatchKitCounterDemo WatchKit App/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | WatchKitCounterDemo 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | kristina.WatchKitCounterDemo.watchkitapp 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | UISupportedInterfaceOrientations 26 | 27 | UIInterfaceOrientationPortrait 28 | UIInterfaceOrientationPortraitUpsideDown 29 | 30 | WKCompanionAppBundleIdentifier 31 | kristina.WatchKitCounterDemo 32 | WKWatchKitApp 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /WatchKitCounterDemo WatchKit Extension/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | WatchKitCounterDemo WatchKit Extension 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | kristina.WatchKitCounterDemo.watchkitextension 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | XPC! 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | NSExtension 26 | 27 | NSExtensionAttributes 28 | 29 | WKAppBundleIdentifier 30 | kristina.WatchKitCounterDemo.watchkitapp 31 | 32 | NSExtensionPointIdentifier 33 | com.apple.watchkit 34 | 35 | RemoteInterfacePrincipalClass 36 | InterfaceController 37 | 38 | 39 | -------------------------------------------------------------------------------- /WatchKitCounterDemo/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "ipad", 35 | "size" : "29x29", 36 | "scale" : "1x" 37 | }, 38 | { 39 | "idiom" : "ipad", 40 | "size" : "29x29", 41 | "scale" : "2x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "40x40", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "40x40", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "76x76", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "76x76", 61 | "scale" : "2x" 62 | } 63 | ], 64 | "info" : { 65 | "version" : 1, 66 | "author" : "xcode" 67 | } 68 | } -------------------------------------------------------------------------------- /WatchKitCounterDemo/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // WatchKitCounterDemo 4 | // 5 | // Created by Thai, Kristina on 12/10/14. 6 | // Copyright (c) 2014 Kristina Thai. All rights reserved. 7 | // 8 | 9 | #import "AppDelegate.h" 10 | #import "ViewController.h" 11 | 12 | @interface AppDelegate () 13 | @property (strong, nonatomic) NSMutableArray *tempCounterData; 14 | @end 15 | 16 | @implementation AppDelegate 17 | 18 | - (void)application:(UIApplication *)application handleWatchKitExtensionRequest:(NSDictionary *)userInfo reply:(void(^)(NSDictionary *replyInfo))reply { 19 | 20 | NSString *counterValue = [userInfo objectForKey:@"counterValue"]; 21 | 22 | reply(@{@"insert counter value":counterValue}); 23 | 24 | if (!self.tempCounterData) { 25 | self.tempCounterData = [[NSMutableArray alloc] init]; 26 | } 27 | 28 | [self.tempCounterData addObject:counterValue]; 29 | 30 | //Add the new counter value and reload the table view 31 | ViewController *vc = (ViewController *)((UINavigationController*)self.window.rootViewController).visibleViewController; 32 | 33 | vc.counterData = self.tempCounterData; 34 | [vc.mainTableView reloadData]; 35 | 36 | } 37 | 38 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 39 | // Override point for customization after application launch. 40 | return YES; 41 | } 42 | 43 | @end 44 | -------------------------------------------------------------------------------- /WatchKitCounterDemo WatchKit App/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "24x24", 5 | "idiom" : "watch", 6 | "scale" : "2x", 7 | "role" : "notificationCenter", 8 | "subtype" : "38mm" 9 | }, 10 | { 11 | "size" : "27.5x27.5", 12 | "idiom" : "watch", 13 | "scale" : "2x", 14 | "role" : "notificationCenter", 15 | "subtype" : "42mm" 16 | }, 17 | { 18 | "size" : "29x29", 19 | "idiom" : "watch", 20 | "role" : "companionSettings", 21 | "scale" : "2x" 22 | }, 23 | { 24 | "size" : "29x29", 25 | "idiom" : "watch", 26 | "role" : "companionSettings", 27 | "scale" : "3x" 28 | }, 29 | { 30 | "size" : "40x40", 31 | "idiom" : "watch", 32 | "scale" : "2x", 33 | "role" : "appLauncher", 34 | "subtype" : "38mm" 35 | }, 36 | { 37 | "size" : "44x44", 38 | "idiom" : "watch", 39 | "scale" : "2x", 40 | "role" : "longLook", 41 | "subtype" : "42mm" 42 | }, 43 | { 44 | "size" : "86x86", 45 | "idiom" : "watch", 46 | "scale" : "2x", 47 | "role" : "quickLook", 48 | "subtype" : "38mm" 49 | }, 50 | { 51 | "size" : "98x98", 52 | "idiom" : "watch", 53 | "scale" : "2x", 54 | "role" : "quickLook", 55 | "subtype" : "42mm" 56 | } 57 | ], 58 | "info" : { 59 | "version" : 1, 60 | "author" : "xcode" 61 | } 62 | } -------------------------------------------------------------------------------- /WatchKitCounterDemo/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | kristina.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | UISupportedInterfaceOrientations~ipad 40 | 41 | UIInterfaceOrientationPortrait 42 | UIInterfaceOrientationPortraitUpsideDown 43 | UIInterfaceOrientationLandscapeLeft 44 | UIInterfaceOrientationLandscapeRight 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /WatchKitCounterDemo WatchKit Extension/InterfaceController.m: -------------------------------------------------------------------------------- 1 | // 2 | // InterfaceController.m 3 | // WatchKitCounterDemo WatchKit Extension 4 | // 5 | // Created by Thai, Kristina on 12/10/14. 6 | // Copyright (c) 2014 Kristina Thai. All rights reserved. 7 | // 8 | 9 | #import "InterfaceController.h" 10 | 11 | 12 | @interface InterfaceController() 13 | 14 | @property (nonatomic, assign) int counter; 15 | @end 16 | 17 | @implementation InterfaceController 18 | 19 | - (void)awakeWithContext:(id)context { 20 | [super awakeWithContext:context]; 21 | 22 | // Configure interface objects here. 23 | NSLog(@"%@ awakeWithContext", self); 24 | self.counter = 0; 25 | } 26 | 27 | - (void)willActivate { 28 | // This method is called when watch view controller is about to be visible to user 29 | NSLog(@"%@ will activate", self); 30 | } 31 | 32 | - (void)didDeactivate { 33 | // This method is called when watch view controller is no longer visible 34 | NSLog(@"%@ did deactivate", self); 35 | } 36 | 37 | #pragma mark - Button actions 38 | 39 | - (IBAction)incrementCounter { 40 | self.counter++; 41 | [self setCounterLabelText]; 42 | } 43 | - (IBAction)saveCounter { 44 | //Send count to parent application 45 | NSString *counterString = [NSString stringWithFormat:@"%d", self.counter]; 46 | NSDictionary *applicationData = [[NSDictionary alloc] initWithObjects:@[counterString] forKeys:@[@"counterValue"]]; 47 | 48 | //Handle reciever in app delegate of parent app 49 | [WKInterfaceController openParentApplication:applicationData reply:^(NSDictionary *replyInfo, NSError *error) { 50 | NSLog(@"%@ %@",replyInfo, error); 51 | }]; 52 | } 53 | - (IBAction)clearCounter { 54 | self.counter = 0; 55 | [self setCounterLabelText]; 56 | } 57 | 58 | #pragma mark - Helper methods 59 | 60 | - (void)setCounterLabelText { 61 | [self.counterLabel setText:[NSString stringWithFormat:@"%d", self.counter]]; 62 | } 63 | 64 | @end 65 | 66 | 67 | 68 | -------------------------------------------------------------------------------- /WatchKitCounterDemo WatchKit App/Interface.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 16 | 21 | 26 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /WatchKitCounterDemo/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 20 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /WatchKitCounterDemo/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /WatchKitCounterDemo.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | C2030C861A391EC30029CB14 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = C2030C851A391EC30029CB14 /* main.m */; }; 11 | C2030C891A391EC30029CB14 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = C2030C881A391EC30029CB14 /* AppDelegate.m */; }; 12 | C2030C8C1A391EC30029CB14 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C2030C8B1A391EC30029CB14 /* ViewController.m */; }; 13 | C2030C8F1A391EC30029CB14 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C2030C8D1A391EC30029CB14 /* Main.storyboard */; }; 14 | C2030C911A391EC30029CB14 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C2030C901A391EC30029CB14 /* Images.xcassets */; }; 15 | C2030C941A391EC30029CB14 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = C2030C921A391EC30029CB14 /* LaunchScreen.xib */; }; 16 | C2030CA01A391EC30029CB14 /* WatchKitCounterDemoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = C2030C9F1A391EC30029CB14 /* WatchKitCounterDemoTests.m */; }; 17 | C2030CB41A391EEC0029CB14 /* InterfaceController.m in Sources */ = {isa = PBXBuildFile; fileRef = C2030CB31A391EEC0029CB14 /* InterfaceController.m */; }; 18 | C2030CB91A391EEC0029CB14 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C2030CB81A391EEC0029CB14 /* Images.xcassets */; }; 19 | C2030CBD1A391EEC0029CB14 /* WatchKitCounterDemo WatchKit App.app in Resources */ = {isa = PBXBuildFile; fileRef = C2030CBC1A391EEC0029CB14 /* WatchKitCounterDemo WatchKit App.app */; }; 20 | C2030CC41A391EEC0029CB14 /* Interface.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C2030CC31A391EEC0029CB14 /* Interface.storyboard */; }; 21 | C2030CC61A391EEC0029CB14 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C2030CC51A391EEC0029CB14 /* Images.xcassets */; }; 22 | C2030CC91A391EEC0029CB14 /* WatchKitCounterDemo WatchKit Extension.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = C2030CAD1A391EEC0029CB14 /* WatchKitCounterDemo WatchKit Extension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; 23 | /* End PBXBuildFile section */ 24 | 25 | /* Begin PBXContainerItemProxy section */ 26 | C2030C9A1A391EC30029CB14 /* PBXContainerItemProxy */ = { 27 | isa = PBXContainerItemProxy; 28 | containerPortal = C2030C781A391EC30029CB14 /* Project object */; 29 | proxyType = 1; 30 | remoteGlobalIDString = C2030C7F1A391EC30029CB14; 31 | remoteInfo = WatchKitCounterDemo; 32 | }; 33 | C2030CBE1A391EEC0029CB14 /* PBXContainerItemProxy */ = { 34 | isa = PBXContainerItemProxy; 35 | containerPortal = C2030C781A391EC30029CB14 /* Project object */; 36 | proxyType = 1; 37 | remoteGlobalIDString = C2030CBB1A391EEC0029CB14; 38 | remoteInfo = "WatchKitCounterDemo WatchKit App"; 39 | }; 40 | C2030CC71A391EEC0029CB14 /* PBXContainerItemProxy */ = { 41 | isa = PBXContainerItemProxy; 42 | containerPortal = C2030C781A391EC30029CB14 /* Project object */; 43 | proxyType = 1; 44 | remoteGlobalIDString = C2030CAC1A391EEC0029CB14; 45 | remoteInfo = "WatchKitCounterDemo WatchKit Extension"; 46 | }; 47 | /* End PBXContainerItemProxy section */ 48 | 49 | /* Begin PBXCopyFilesBuildPhase section */ 50 | C2030CD01A391EEC0029CB14 /* Embed App Extensions */ = { 51 | isa = PBXCopyFilesBuildPhase; 52 | buildActionMask = 2147483647; 53 | dstPath = ""; 54 | dstSubfolderSpec = 13; 55 | files = ( 56 | C2030CC91A391EEC0029CB14 /* WatchKitCounterDemo WatchKit Extension.appex in Embed App Extensions */, 57 | ); 58 | name = "Embed App Extensions"; 59 | runOnlyForDeploymentPostprocessing = 0; 60 | }; 61 | /* End PBXCopyFilesBuildPhase section */ 62 | 63 | /* Begin PBXFileReference section */ 64 | C2030C801A391EC30029CB14 /* WatchKitCounterDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = WatchKitCounterDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; 65 | C2030C841A391EC30029CB14 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 66 | C2030C851A391EC30029CB14 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 67 | C2030C871A391EC30029CB14 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 68 | C2030C881A391EC30029CB14 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 69 | C2030C8A1A391EC30029CB14 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; 70 | C2030C8B1A391EC30029CB14 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; 71 | C2030C8E1A391EC30029CB14 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 72 | C2030C901A391EC30029CB14 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 73 | C2030C931A391EC30029CB14 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 74 | C2030C991A391EC30029CB14 /* WatchKitCounterDemoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = WatchKitCounterDemoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 75 | C2030C9E1A391EC30029CB14 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 76 | C2030C9F1A391EC30029CB14 /* WatchKitCounterDemoTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = WatchKitCounterDemoTests.m; sourceTree = ""; }; 77 | C2030CAD1A391EEC0029CB14 /* WatchKitCounterDemo WatchKit Extension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = "WatchKitCounterDemo WatchKit Extension.appex"; sourceTree = BUILT_PRODUCTS_DIR; }; 78 | C2030CB01A391EEC0029CB14 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 79 | C2030CB11A391EEC0029CB14 /* PushNotificationPayload.apns */ = {isa = PBXFileReference; lastKnownFileType = text; path = PushNotificationPayload.apns; sourceTree = ""; }; 80 | C2030CB21A391EEC0029CB14 /* InterfaceController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = InterfaceController.h; sourceTree = ""; }; 81 | C2030CB31A391EEC0029CB14 /* InterfaceController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InterfaceController.m; sourceTree = ""; }; 82 | C2030CB81A391EEC0029CB14 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 83 | C2030CBC1A391EEC0029CB14 /* WatchKitCounterDemo WatchKit App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "WatchKitCounterDemo WatchKit App.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 84 | C2030CC21A391EEC0029CB14 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 85 | C2030CC31A391EEC0029CB14 /* Interface.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = Interface.storyboard; sourceTree = ""; }; 86 | C2030CC51A391EEC0029CB14 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 87 | /* End PBXFileReference section */ 88 | 89 | /* Begin PBXFrameworksBuildPhase section */ 90 | C2030C7D1A391EC30029CB14 /* Frameworks */ = { 91 | isa = PBXFrameworksBuildPhase; 92 | buildActionMask = 2147483647; 93 | files = ( 94 | ); 95 | runOnlyForDeploymentPostprocessing = 0; 96 | }; 97 | C2030C961A391EC30029CB14 /* Frameworks */ = { 98 | isa = PBXFrameworksBuildPhase; 99 | buildActionMask = 2147483647; 100 | files = ( 101 | ); 102 | runOnlyForDeploymentPostprocessing = 0; 103 | }; 104 | C2030CAA1A391EEC0029CB14 /* Frameworks */ = { 105 | isa = PBXFrameworksBuildPhase; 106 | buildActionMask = 2147483647; 107 | files = ( 108 | ); 109 | runOnlyForDeploymentPostprocessing = 0; 110 | }; 111 | /* End PBXFrameworksBuildPhase section */ 112 | 113 | /* Begin PBXGroup section */ 114 | C2030C771A391EC30029CB14 = { 115 | isa = PBXGroup; 116 | children = ( 117 | C2030C821A391EC30029CB14 /* WatchKitCounterDemo */, 118 | C2030C9C1A391EC30029CB14 /* WatchKitCounterDemoTests */, 119 | C2030CAE1A391EEC0029CB14 /* WatchKitCounterDemo WatchKit Extension */, 120 | C2030CC01A391EEC0029CB14 /* WatchKitCounterDemo WatchKit App */, 121 | C2030C811A391EC30029CB14 /* Products */, 122 | ); 123 | sourceTree = ""; 124 | }; 125 | C2030C811A391EC30029CB14 /* Products */ = { 126 | isa = PBXGroup; 127 | children = ( 128 | C2030C801A391EC30029CB14 /* WatchKitCounterDemo.app */, 129 | C2030C991A391EC30029CB14 /* WatchKitCounterDemoTests.xctest */, 130 | C2030CAD1A391EEC0029CB14 /* WatchKitCounterDemo WatchKit Extension.appex */, 131 | C2030CBC1A391EEC0029CB14 /* WatchKitCounterDemo WatchKit App.app */, 132 | ); 133 | name = Products; 134 | sourceTree = ""; 135 | }; 136 | C2030C821A391EC30029CB14 /* WatchKitCounterDemo */ = { 137 | isa = PBXGroup; 138 | children = ( 139 | C2030C871A391EC30029CB14 /* AppDelegate.h */, 140 | C2030C881A391EC30029CB14 /* AppDelegate.m */, 141 | C2030C8A1A391EC30029CB14 /* ViewController.h */, 142 | C2030C8B1A391EC30029CB14 /* ViewController.m */, 143 | C2030C8D1A391EC30029CB14 /* Main.storyboard */, 144 | C2030C901A391EC30029CB14 /* Images.xcassets */, 145 | C2030C921A391EC30029CB14 /* LaunchScreen.xib */, 146 | C2030C831A391EC30029CB14 /* Supporting Files */, 147 | ); 148 | path = WatchKitCounterDemo; 149 | sourceTree = ""; 150 | }; 151 | C2030C831A391EC30029CB14 /* Supporting Files */ = { 152 | isa = PBXGroup; 153 | children = ( 154 | C2030C841A391EC30029CB14 /* Info.plist */, 155 | C2030C851A391EC30029CB14 /* main.m */, 156 | ); 157 | name = "Supporting Files"; 158 | sourceTree = ""; 159 | }; 160 | C2030C9C1A391EC30029CB14 /* WatchKitCounterDemoTests */ = { 161 | isa = PBXGroup; 162 | children = ( 163 | C2030C9F1A391EC30029CB14 /* WatchKitCounterDemoTests.m */, 164 | C2030C9D1A391EC30029CB14 /* Supporting Files */, 165 | ); 166 | path = WatchKitCounterDemoTests; 167 | sourceTree = ""; 168 | }; 169 | C2030C9D1A391EC30029CB14 /* Supporting Files */ = { 170 | isa = PBXGroup; 171 | children = ( 172 | C2030C9E1A391EC30029CB14 /* Info.plist */, 173 | ); 174 | name = "Supporting Files"; 175 | sourceTree = ""; 176 | }; 177 | C2030CAE1A391EEC0029CB14 /* WatchKitCounterDemo WatchKit Extension */ = { 178 | isa = PBXGroup; 179 | children = ( 180 | C2030CB21A391EEC0029CB14 /* InterfaceController.h */, 181 | C2030CB31A391EEC0029CB14 /* InterfaceController.m */, 182 | C2030CB81A391EEC0029CB14 /* Images.xcassets */, 183 | C2030CAF1A391EEC0029CB14 /* Supporting Files */, 184 | ); 185 | path = "WatchKitCounterDemo WatchKit Extension"; 186 | sourceTree = ""; 187 | }; 188 | C2030CAF1A391EEC0029CB14 /* Supporting Files */ = { 189 | isa = PBXGroup; 190 | children = ( 191 | C2030CB01A391EEC0029CB14 /* Info.plist */, 192 | C2030CB11A391EEC0029CB14 /* PushNotificationPayload.apns */, 193 | ); 194 | name = "Supporting Files"; 195 | sourceTree = ""; 196 | }; 197 | C2030CC01A391EEC0029CB14 /* WatchKitCounterDemo WatchKit App */ = { 198 | isa = PBXGroup; 199 | children = ( 200 | C2030CC31A391EEC0029CB14 /* Interface.storyboard */, 201 | C2030CC51A391EEC0029CB14 /* Images.xcassets */, 202 | C2030CC11A391EEC0029CB14 /* Supporting Files */, 203 | ); 204 | path = "WatchKitCounterDemo WatchKit App"; 205 | sourceTree = ""; 206 | }; 207 | C2030CC11A391EEC0029CB14 /* Supporting Files */ = { 208 | isa = PBXGroup; 209 | children = ( 210 | C2030CC21A391EEC0029CB14 /* Info.plist */, 211 | ); 212 | name = "Supporting Files"; 213 | sourceTree = ""; 214 | }; 215 | /* End PBXGroup section */ 216 | 217 | /* Begin PBXNativeTarget section */ 218 | C2030C7F1A391EC30029CB14 /* WatchKitCounterDemo */ = { 219 | isa = PBXNativeTarget; 220 | buildConfigurationList = C2030CA31A391EC30029CB14 /* Build configuration list for PBXNativeTarget "WatchKitCounterDemo" */; 221 | buildPhases = ( 222 | C2030C7C1A391EC30029CB14 /* Sources */, 223 | C2030C7D1A391EC30029CB14 /* Frameworks */, 224 | C2030C7E1A391EC30029CB14 /* Resources */, 225 | C2030CD01A391EEC0029CB14 /* Embed App Extensions */, 226 | ); 227 | buildRules = ( 228 | ); 229 | dependencies = ( 230 | C2030CC81A391EEC0029CB14 /* PBXTargetDependency */, 231 | ); 232 | name = WatchKitCounterDemo; 233 | productName = WatchKitCounterDemo; 234 | productReference = C2030C801A391EC30029CB14 /* WatchKitCounterDemo.app */; 235 | productType = "com.apple.product-type.application"; 236 | }; 237 | C2030C981A391EC30029CB14 /* WatchKitCounterDemoTests */ = { 238 | isa = PBXNativeTarget; 239 | buildConfigurationList = C2030CA61A391EC30029CB14 /* Build configuration list for PBXNativeTarget "WatchKitCounterDemoTests" */; 240 | buildPhases = ( 241 | C2030C951A391EC30029CB14 /* Sources */, 242 | C2030C961A391EC30029CB14 /* Frameworks */, 243 | C2030C971A391EC30029CB14 /* Resources */, 244 | ); 245 | buildRules = ( 246 | ); 247 | dependencies = ( 248 | C2030C9B1A391EC30029CB14 /* PBXTargetDependency */, 249 | ); 250 | name = WatchKitCounterDemoTests; 251 | productName = WatchKitCounterDemoTests; 252 | productReference = C2030C991A391EC30029CB14 /* WatchKitCounterDemoTests.xctest */; 253 | productType = "com.apple.product-type.bundle.unit-test"; 254 | }; 255 | C2030CAC1A391EEC0029CB14 /* WatchKitCounterDemo WatchKit Extension */ = { 256 | isa = PBXNativeTarget; 257 | buildConfigurationList = C2030CCD1A391EEC0029CB14 /* Build configuration list for PBXNativeTarget "WatchKitCounterDemo WatchKit Extension" */; 258 | buildPhases = ( 259 | C2030CA91A391EEC0029CB14 /* Sources */, 260 | C2030CAA1A391EEC0029CB14 /* Frameworks */, 261 | C2030CAB1A391EEC0029CB14 /* Resources */, 262 | ); 263 | buildRules = ( 264 | ); 265 | dependencies = ( 266 | C2030CBF1A391EEC0029CB14 /* PBXTargetDependency */, 267 | ); 268 | name = "WatchKitCounterDemo WatchKit Extension"; 269 | productName = "WatchKitCounterDemo WatchKit Extension"; 270 | productReference = C2030CAD1A391EEC0029CB14 /* WatchKitCounterDemo WatchKit Extension.appex */; 271 | productType = "com.apple.product-type.watchkit-extension"; 272 | }; 273 | C2030CBB1A391EEC0029CB14 /* WatchKitCounterDemo WatchKit App */ = { 274 | isa = PBXNativeTarget; 275 | buildConfigurationList = C2030CCA1A391EEC0029CB14 /* Build configuration list for PBXNativeTarget "WatchKitCounterDemo WatchKit App" */; 276 | buildPhases = ( 277 | C2030CBA1A391EEC0029CB14 /* Resources */, 278 | ); 279 | buildRules = ( 280 | ); 281 | dependencies = ( 282 | ); 283 | name = "WatchKitCounterDemo WatchKit App"; 284 | productName = "WatchKitCounterDemo WatchKit App"; 285 | productReference = C2030CBC1A391EEC0029CB14 /* WatchKitCounterDemo WatchKit App.app */; 286 | productType = "com.apple.product-type.application.watchapp"; 287 | }; 288 | /* End PBXNativeTarget section */ 289 | 290 | /* Begin PBXProject section */ 291 | C2030C781A391EC30029CB14 /* Project object */ = { 292 | isa = PBXProject; 293 | attributes = { 294 | LastUpgradeCheck = 0620; 295 | ORGANIZATIONNAME = "Kristina Thai"; 296 | TargetAttributes = { 297 | C2030C7F1A391EC30029CB14 = { 298 | CreatedOnToolsVersion = 6.2; 299 | }; 300 | C2030C981A391EC30029CB14 = { 301 | CreatedOnToolsVersion = 6.2; 302 | TestTargetID = C2030C7F1A391EC30029CB14; 303 | }; 304 | C2030CAC1A391EEC0029CB14 = { 305 | CreatedOnToolsVersion = 6.2; 306 | }; 307 | C2030CBB1A391EEC0029CB14 = { 308 | CreatedOnToolsVersion = 6.2; 309 | }; 310 | }; 311 | }; 312 | buildConfigurationList = C2030C7B1A391EC30029CB14 /* Build configuration list for PBXProject "WatchKitCounterDemo" */; 313 | compatibilityVersion = "Xcode 3.2"; 314 | developmentRegion = English; 315 | hasScannedForEncodings = 0; 316 | knownRegions = ( 317 | en, 318 | Base, 319 | ); 320 | mainGroup = C2030C771A391EC30029CB14; 321 | productRefGroup = C2030C811A391EC30029CB14 /* Products */; 322 | projectDirPath = ""; 323 | projectRoot = ""; 324 | targets = ( 325 | C2030C7F1A391EC30029CB14 /* WatchKitCounterDemo */, 326 | C2030C981A391EC30029CB14 /* WatchKitCounterDemoTests */, 327 | C2030CAC1A391EEC0029CB14 /* WatchKitCounterDemo WatchKit Extension */, 328 | C2030CBB1A391EEC0029CB14 /* WatchKitCounterDemo WatchKit App */, 329 | ); 330 | }; 331 | /* End PBXProject section */ 332 | 333 | /* Begin PBXResourcesBuildPhase section */ 334 | C2030C7E1A391EC30029CB14 /* Resources */ = { 335 | isa = PBXResourcesBuildPhase; 336 | buildActionMask = 2147483647; 337 | files = ( 338 | C2030C8F1A391EC30029CB14 /* Main.storyboard in Resources */, 339 | C2030C941A391EC30029CB14 /* LaunchScreen.xib in Resources */, 340 | C2030C911A391EC30029CB14 /* Images.xcassets in Resources */, 341 | ); 342 | runOnlyForDeploymentPostprocessing = 0; 343 | }; 344 | C2030C971A391EC30029CB14 /* Resources */ = { 345 | isa = PBXResourcesBuildPhase; 346 | buildActionMask = 2147483647; 347 | files = ( 348 | ); 349 | runOnlyForDeploymentPostprocessing = 0; 350 | }; 351 | C2030CAB1A391EEC0029CB14 /* Resources */ = { 352 | isa = PBXResourcesBuildPhase; 353 | buildActionMask = 2147483647; 354 | files = ( 355 | C2030CB91A391EEC0029CB14 /* Images.xcassets in Resources */, 356 | C2030CBD1A391EEC0029CB14 /* WatchKitCounterDemo WatchKit App.app in Resources */, 357 | ); 358 | runOnlyForDeploymentPostprocessing = 0; 359 | }; 360 | C2030CBA1A391EEC0029CB14 /* Resources */ = { 361 | isa = PBXResourcesBuildPhase; 362 | buildActionMask = 2147483647; 363 | files = ( 364 | C2030CC41A391EEC0029CB14 /* Interface.storyboard in Resources */, 365 | C2030CC61A391EEC0029CB14 /* Images.xcassets in Resources */, 366 | ); 367 | runOnlyForDeploymentPostprocessing = 0; 368 | }; 369 | /* End PBXResourcesBuildPhase section */ 370 | 371 | /* Begin PBXSourcesBuildPhase section */ 372 | C2030C7C1A391EC30029CB14 /* Sources */ = { 373 | isa = PBXSourcesBuildPhase; 374 | buildActionMask = 2147483647; 375 | files = ( 376 | C2030C8C1A391EC30029CB14 /* ViewController.m in Sources */, 377 | C2030C891A391EC30029CB14 /* AppDelegate.m in Sources */, 378 | C2030C861A391EC30029CB14 /* main.m in Sources */, 379 | ); 380 | runOnlyForDeploymentPostprocessing = 0; 381 | }; 382 | C2030C951A391EC30029CB14 /* Sources */ = { 383 | isa = PBXSourcesBuildPhase; 384 | buildActionMask = 2147483647; 385 | files = ( 386 | C2030CA01A391EC30029CB14 /* WatchKitCounterDemoTests.m in Sources */, 387 | ); 388 | runOnlyForDeploymentPostprocessing = 0; 389 | }; 390 | C2030CA91A391EEC0029CB14 /* Sources */ = { 391 | isa = PBXSourcesBuildPhase; 392 | buildActionMask = 2147483647; 393 | files = ( 394 | C2030CB41A391EEC0029CB14 /* InterfaceController.m in Sources */, 395 | ); 396 | runOnlyForDeploymentPostprocessing = 0; 397 | }; 398 | /* End PBXSourcesBuildPhase section */ 399 | 400 | /* Begin PBXTargetDependency section */ 401 | C2030C9B1A391EC30029CB14 /* PBXTargetDependency */ = { 402 | isa = PBXTargetDependency; 403 | target = C2030C7F1A391EC30029CB14 /* WatchKitCounterDemo */; 404 | targetProxy = C2030C9A1A391EC30029CB14 /* PBXContainerItemProxy */; 405 | }; 406 | C2030CBF1A391EEC0029CB14 /* PBXTargetDependency */ = { 407 | isa = PBXTargetDependency; 408 | target = C2030CBB1A391EEC0029CB14 /* WatchKitCounterDemo WatchKit App */; 409 | targetProxy = C2030CBE1A391EEC0029CB14 /* PBXContainerItemProxy */; 410 | }; 411 | C2030CC81A391EEC0029CB14 /* PBXTargetDependency */ = { 412 | isa = PBXTargetDependency; 413 | target = C2030CAC1A391EEC0029CB14 /* WatchKitCounterDemo WatchKit Extension */; 414 | targetProxy = C2030CC71A391EEC0029CB14 /* PBXContainerItemProxy */; 415 | }; 416 | /* End PBXTargetDependency section */ 417 | 418 | /* Begin PBXVariantGroup section */ 419 | C2030C8D1A391EC30029CB14 /* Main.storyboard */ = { 420 | isa = PBXVariantGroup; 421 | children = ( 422 | C2030C8E1A391EC30029CB14 /* Base */, 423 | ); 424 | name = Main.storyboard; 425 | sourceTree = ""; 426 | }; 427 | C2030C921A391EC30029CB14 /* LaunchScreen.xib */ = { 428 | isa = PBXVariantGroup; 429 | children = ( 430 | C2030C931A391EC30029CB14 /* Base */, 431 | ); 432 | name = LaunchScreen.xib; 433 | sourceTree = ""; 434 | }; 435 | /* End PBXVariantGroup section */ 436 | 437 | /* Begin XCBuildConfiguration section */ 438 | C2030CA11A391EC30029CB14 /* Debug */ = { 439 | isa = XCBuildConfiguration; 440 | buildSettings = { 441 | ALWAYS_SEARCH_USER_PATHS = NO; 442 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 443 | CLANG_CXX_LIBRARY = "libc++"; 444 | CLANG_ENABLE_MODULES = YES; 445 | CLANG_ENABLE_OBJC_ARC = YES; 446 | CLANG_WARN_BOOL_CONVERSION = YES; 447 | CLANG_WARN_CONSTANT_CONVERSION = YES; 448 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 449 | CLANG_WARN_EMPTY_BODY = YES; 450 | CLANG_WARN_ENUM_CONVERSION = YES; 451 | CLANG_WARN_INT_CONVERSION = YES; 452 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 453 | CLANG_WARN_UNREACHABLE_CODE = YES; 454 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 455 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 456 | COPY_PHASE_STRIP = NO; 457 | ENABLE_STRICT_OBJC_MSGSEND = YES; 458 | GCC_C_LANGUAGE_STANDARD = gnu99; 459 | GCC_DYNAMIC_NO_PIC = NO; 460 | GCC_OPTIMIZATION_LEVEL = 0; 461 | GCC_PREPROCESSOR_DEFINITIONS = ( 462 | "DEBUG=1", 463 | "$(inherited)", 464 | ); 465 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 466 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 467 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 468 | GCC_WARN_UNDECLARED_SELECTOR = YES; 469 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 470 | GCC_WARN_UNUSED_FUNCTION = YES; 471 | GCC_WARN_UNUSED_VARIABLE = YES; 472 | IPHONEOS_DEPLOYMENT_TARGET = 8.2; 473 | MTL_ENABLE_DEBUG_INFO = YES; 474 | ONLY_ACTIVE_ARCH = YES; 475 | SDKROOT = iphoneos; 476 | TARGETED_DEVICE_FAMILY = "1,2"; 477 | }; 478 | name = Debug; 479 | }; 480 | C2030CA21A391EC30029CB14 /* Release */ = { 481 | isa = XCBuildConfiguration; 482 | buildSettings = { 483 | ALWAYS_SEARCH_USER_PATHS = NO; 484 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 485 | CLANG_CXX_LIBRARY = "libc++"; 486 | CLANG_ENABLE_MODULES = YES; 487 | CLANG_ENABLE_OBJC_ARC = YES; 488 | CLANG_WARN_BOOL_CONVERSION = YES; 489 | CLANG_WARN_CONSTANT_CONVERSION = YES; 490 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 491 | CLANG_WARN_EMPTY_BODY = YES; 492 | CLANG_WARN_ENUM_CONVERSION = YES; 493 | CLANG_WARN_INT_CONVERSION = YES; 494 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 495 | CLANG_WARN_UNREACHABLE_CODE = YES; 496 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 497 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 498 | COPY_PHASE_STRIP = YES; 499 | ENABLE_NS_ASSERTIONS = NO; 500 | ENABLE_STRICT_OBJC_MSGSEND = YES; 501 | GCC_C_LANGUAGE_STANDARD = gnu99; 502 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 503 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 504 | GCC_WARN_UNDECLARED_SELECTOR = YES; 505 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 506 | GCC_WARN_UNUSED_FUNCTION = YES; 507 | GCC_WARN_UNUSED_VARIABLE = YES; 508 | IPHONEOS_DEPLOYMENT_TARGET = 8.2; 509 | MTL_ENABLE_DEBUG_INFO = NO; 510 | SDKROOT = iphoneos; 511 | TARGETED_DEVICE_FAMILY = "1,2"; 512 | VALIDATE_PRODUCT = YES; 513 | }; 514 | name = Release; 515 | }; 516 | C2030CA41A391EC30029CB14 /* Debug */ = { 517 | isa = XCBuildConfiguration; 518 | buildSettings = { 519 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 520 | INFOPLIST_FILE = WatchKitCounterDemo/Info.plist; 521 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 522 | PRODUCT_NAME = "$(TARGET_NAME)"; 523 | }; 524 | name = Debug; 525 | }; 526 | C2030CA51A391EC30029CB14 /* Release */ = { 527 | isa = XCBuildConfiguration; 528 | buildSettings = { 529 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 530 | INFOPLIST_FILE = WatchKitCounterDemo/Info.plist; 531 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 532 | PRODUCT_NAME = "$(TARGET_NAME)"; 533 | }; 534 | name = Release; 535 | }; 536 | C2030CA71A391EC30029CB14 /* Debug */ = { 537 | isa = XCBuildConfiguration; 538 | buildSettings = { 539 | BUNDLE_LOADER = "$(TEST_HOST)"; 540 | FRAMEWORK_SEARCH_PATHS = ( 541 | "$(SDKROOT)/Developer/Library/Frameworks", 542 | "$(inherited)", 543 | ); 544 | GCC_PREPROCESSOR_DEFINITIONS = ( 545 | "DEBUG=1", 546 | "$(inherited)", 547 | ); 548 | INFOPLIST_FILE = WatchKitCounterDemoTests/Info.plist; 549 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 550 | PRODUCT_NAME = "$(TARGET_NAME)"; 551 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/WatchKitCounterDemo.app/WatchKitCounterDemo"; 552 | }; 553 | name = Debug; 554 | }; 555 | C2030CA81A391EC30029CB14 /* Release */ = { 556 | isa = XCBuildConfiguration; 557 | buildSettings = { 558 | BUNDLE_LOADER = "$(TEST_HOST)"; 559 | FRAMEWORK_SEARCH_PATHS = ( 560 | "$(SDKROOT)/Developer/Library/Frameworks", 561 | "$(inherited)", 562 | ); 563 | INFOPLIST_FILE = WatchKitCounterDemoTests/Info.plist; 564 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 565 | PRODUCT_NAME = "$(TARGET_NAME)"; 566 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/WatchKitCounterDemo.app/WatchKitCounterDemo"; 567 | }; 568 | name = Release; 569 | }; 570 | C2030CCB1A391EEC0029CB14 /* Debug */ = { 571 | isa = XCBuildConfiguration; 572 | buildSettings = { 573 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 574 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 575 | GCC_PREPROCESSOR_DEFINITIONS = ( 576 | "DEBUG=1", 577 | "$(inherited)", 578 | ); 579 | IBSC_MODULE = WatchKitCounterDemo_WatchKit_Extension; 580 | INFOPLIST_FILE = "WatchKitCounterDemo WatchKit App/Info.plist"; 581 | PRODUCT_NAME = "$(TARGET_NAME)"; 582 | SKIP_INSTALL = YES; 583 | TARGETED_DEVICE_FAMILY = 4; 584 | "TARGETED_DEVICE_FAMILY[sdk=iphonesimulator*]" = "1,4"; 585 | }; 586 | name = Debug; 587 | }; 588 | C2030CCC1A391EEC0029CB14 /* Release */ = { 589 | isa = XCBuildConfiguration; 590 | buildSettings = { 591 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 592 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 593 | IBSC_MODULE = WatchKitCounterDemo_WatchKit_Extension; 594 | INFOPLIST_FILE = "WatchKitCounterDemo WatchKit App/Info.plist"; 595 | PRODUCT_NAME = "$(TARGET_NAME)"; 596 | SKIP_INSTALL = YES; 597 | TARGETED_DEVICE_FAMILY = 4; 598 | "TARGETED_DEVICE_FAMILY[sdk=iphonesimulator*]" = "1,4"; 599 | }; 600 | name = Release; 601 | }; 602 | C2030CCE1A391EEC0029CB14 /* Debug */ = { 603 | isa = XCBuildConfiguration; 604 | buildSettings = { 605 | GCC_PREPROCESSOR_DEFINITIONS = ( 606 | "DEBUG=1", 607 | "$(inherited)", 608 | ); 609 | INFOPLIST_FILE = "WatchKitCounterDemo WatchKit Extension/Info.plist"; 610 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"; 611 | PRODUCT_NAME = "${TARGET_NAME}"; 612 | SKIP_INSTALL = YES; 613 | }; 614 | name = Debug; 615 | }; 616 | C2030CCF1A391EEC0029CB14 /* Release */ = { 617 | isa = XCBuildConfiguration; 618 | buildSettings = { 619 | INFOPLIST_FILE = "WatchKitCounterDemo WatchKit Extension/Info.plist"; 620 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"; 621 | PRODUCT_NAME = "${TARGET_NAME}"; 622 | SKIP_INSTALL = YES; 623 | }; 624 | name = Release; 625 | }; 626 | /* End XCBuildConfiguration section */ 627 | 628 | /* Begin XCConfigurationList section */ 629 | C2030C7B1A391EC30029CB14 /* Build configuration list for PBXProject "WatchKitCounterDemo" */ = { 630 | isa = XCConfigurationList; 631 | buildConfigurations = ( 632 | C2030CA11A391EC30029CB14 /* Debug */, 633 | C2030CA21A391EC30029CB14 /* Release */, 634 | ); 635 | defaultConfigurationIsVisible = 0; 636 | defaultConfigurationName = Release; 637 | }; 638 | C2030CA31A391EC30029CB14 /* Build configuration list for PBXNativeTarget "WatchKitCounterDemo" */ = { 639 | isa = XCConfigurationList; 640 | buildConfigurations = ( 641 | C2030CA41A391EC30029CB14 /* Debug */, 642 | C2030CA51A391EC30029CB14 /* Release */, 643 | ); 644 | defaultConfigurationIsVisible = 0; 645 | }; 646 | C2030CA61A391EC30029CB14 /* Build configuration list for PBXNativeTarget "WatchKitCounterDemoTests" */ = { 647 | isa = XCConfigurationList; 648 | buildConfigurations = ( 649 | C2030CA71A391EC30029CB14 /* Debug */, 650 | C2030CA81A391EC30029CB14 /* Release */, 651 | ); 652 | defaultConfigurationIsVisible = 0; 653 | }; 654 | C2030CCA1A391EEC0029CB14 /* Build configuration list for PBXNativeTarget "WatchKitCounterDemo WatchKit App" */ = { 655 | isa = XCConfigurationList; 656 | buildConfigurations = ( 657 | C2030CCB1A391EEC0029CB14 /* Debug */, 658 | C2030CCC1A391EEC0029CB14 /* Release */, 659 | ); 660 | defaultConfigurationIsVisible = 0; 661 | }; 662 | C2030CCD1A391EEC0029CB14 /* Build configuration list for PBXNativeTarget "WatchKitCounterDemo WatchKit Extension" */ = { 663 | isa = XCConfigurationList; 664 | buildConfigurations = ( 665 | C2030CCE1A391EEC0029CB14 /* Debug */, 666 | C2030CCF1A391EEC0029CB14 /* Release */, 667 | ); 668 | defaultConfigurationIsVisible = 0; 669 | }; 670 | /* End XCConfigurationList section */ 671 | }; 672 | rootObject = C2030C781A391EC30029CB14 /* Project object */; 673 | } 674 | --------------------------------------------------------------------------------