From 08e814425b3146dbd8655e04edfac085a9054a3d Mon Sep 17 00:00:00 2001 From: Jae Kim <45045038+jaeopt@users.noreply.github.com> Date: Mon, 14 Jan 2019 15:53:45 -0800 Subject: [PATCH] split SDK targets for iOS and tvOS (#15) * fix for separate SDK targets for iOS and tvOS * cleanup * fix test setup * add top-level module (wip) * use same name OptimizelySwiftSDK for iOS and tvOS * fix SDK project to relative path * fix for separate SDK targets for iOS and tvOS * cleanup * fix test setup * add top-level module (wip) * use same name OptimizelySwiftSDK for iOS and tvOS * wip * fix SDK project to relative path * fix top-level API (wip) * fix merge conflict * fix podspec to relative path * fix SDK deployment target to 9.0 * fix cocoapod version issue --- DemoObjCApp/AppDelegate.h | 17 + DemoObjCApp/AppDelegate.m | 51 + .../DemoObjcApp.xcodeproj/project.pbxproj | 770 +++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcschemes/DemoObjciOS.xcscheme | 91 ++ .../xcschemes/DemoObjctvOS.xcscheme | 91 ++ DemoObjCApp/ViewController.h | 15 + DemoObjCApp/ViewController.m | 23 + DemoObjCApp/main.m | 16 + DemoSwiftApp/AppDelegate.swift | 78 ++ .../DemoSwiftApp-Bridging-Header.h | 6 +- .../DemoSwiftApp.xcodeproj}/project.pbxproj | 508 ++++--- .../contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../xcschemes/DemoSwiftiOS.xcscheme | 26 +- .../xcschemes/DemoSwifttvOS.xcscheme | 26 +- .../AppIcon.appiconset/Contents.json | 0 .../AppIcon.appiconset/Icon-1024.png | Bin .../AppIcon.appiconset/Icon-20.png | Bin .../AppIcon.appiconset/Icon-20@2x.png | Bin .../AppIcon.appiconset/Icon-20@3x.png | Bin .../AppIcon.appiconset/Icon-40@2x.png | Bin .../AppIcon.appiconset/Icon-40@3x.png | Bin .../AppIcon.appiconset/Icon-60@2x.png | Bin .../AppIcon.appiconset/Icon-60@3x.png | Bin .../AppIcon.appiconset/Icon-72.png | Bin .../AppIcon.appiconset/Icon-72@2x.png | Bin .../AppIcon.appiconset/Icon-76.png | Bin .../AppIcon.appiconset/Icon-76@2x.png | Bin .../AppIcon.appiconset/Icon-83.5@2x.png | Bin .../AppIcon.appiconset/Icon-Small-50.png | Bin .../AppIcon.appiconset/Icon-Small-50@2x.png | Bin .../AppIcon.appiconset/Icon-Small.png | Bin .../AppIcon.appiconset/Icon-Small@2x.png | Bin .../AppIcon.appiconset/Icon-Small@3x.png | Bin .../AppIcon.appiconset/Icon-iPad-20@2x.png | Bin .../AppIcon.appiconset/Icon-iPad-settings.png | Bin .../Icon-iPad-settings@2x.png | Bin .../Icon-iPad-spotlight.png | Bin .../Icon-iPad-spotlight@2x.png | Bin .../AppIcon.appiconset/Icon.png | Bin .../AppIcon.appiconset/Icon@2x.png | Bin .../Assets.xcassets}/Contents.json | 0 .../LaunchImage.launchimage/Contents.json | 0 .../image1_1024x768.png | Bin .../image1_1536x2048.png | Bin .../image1_2048x1536.png | Bin .../image1_640x1136.png | Bin .../image1_640x960.png | Bin .../image1_768x1024.png | Bin .../image_1024x748.png | Bin .../image_1024x768.png | Bin .../image_1242x2208.png | Bin .../image_1536x2008.png | Bin .../image_1536x2048.png | Bin .../image_2048x1496.png | Bin .../image_2048x1536.png | Bin .../image_2208x1242.png | Bin .../LaunchImage.launchimage/image_320x480.png | Bin .../image_640x1136.png | Bin .../LaunchImage.launchimage/image_640x960.png | Bin .../image_750x1334.png | Bin .../image_768x1004.png | Bin .../image_768x1024.png | Bin .../Contents.json | 0 .../background_confirmation@1x.png | Bin .../background_confirmation@2x.png | Bin .../background_confirmation@3x.png | Bin .../background_error.imageset/Contents.json | 0 .../background_error@1x.png | Bin .../background_error@2x.png | Bin .../background_error@3x.png | Bin .../background_variA.imageset/Contents.json | 0 .../background_variA@1x.png | Bin .../background_variA@2x.png | Bin .../background_variA@3x.png | Bin .../Contents.json | 0 .../background_variB-marina@1x.png | Bin .../background_variB-marina@2x.png | Bin .../background_variB-marina@3x.png | Bin .../logo.imageset/Contents.json | 0 .../Assets.xcassets/logo.imageset/logo@1x.png | Bin .../Assets.xcassets/logo.imageset/logo@2x.png | Bin .../Assets.xcassets/logo.imageset/logo@3x.png | Bin .../Base.lproj/iOSMain.storyboard | 0 .../DemoSwiftiOS/Info.plist | 0 .../Content.imageset/Contents.json | 0 .../Content.imageset/icon-large_back.png | Bin .../Back.imagestacklayer}/Contents.json | 0 .../App Icon - Large.imagestack/Contents.json | 0 .../Content.imageset/Contents.json | 0 .../Content.imageset/icon-large_front.png | Bin .../Front.imagestacklayer}/Contents.json | 0 .../Content.imageset/Contents.json | 0 .../Content.imageset/icon-large_middle.png | Bin .../Middle.imagestacklayer}/Contents.json | 0 .../Content.imageset/Contents.json | 0 .../Content.imageset/icon-small_back.png | Bin .../Content.imageset/icon-small_back@2x.png | Bin .../Back.imagestacklayer}/Contents.json | 0 .../App Icon - Small.imagestack/Contents.json | 0 .../Content.imageset/Contents.json | 0 .../Content.imageset/icon-small_front.png | Bin .../Content.imageset/icon-small_front@2x.png | Bin .../Front.imagestacklayer}/Contents.json | 0 .../Content.imageset/Contents.json | 0 .../Content.imageset/icon-small_middle.png | Bin .../Content.imageset/icon-small_middle@2x.png | Bin .../Middle.imagestacklayer}/Contents.json | 0 .../Contents.json | 0 .../Contents.json | 0 .../icon-top_shelf_wide.png | Bin .../icon-top_shelf_wide@2x.png | Bin .../Top Shelf Image.imageset/Contents.json | 0 .../icon-top_shelf.png | Bin .../icon-top_shelf@2x.png | Bin .../Assets.xcassets/Contents.json | 0 .../LaunchImage-2.launchimage/Contents.json | 0 .../LaunchImage.launchimage/Contents.json | 0 .../LaunchImage.launchimage/LaunchImage.png | Bin .../Contents.json | 0 .../background_confirmation@1x.png | Bin .../background_confirmation@2x.png | Bin .../background_confirmation@3x.png | Bin .../background_error.imageset/Contents.json | 0 .../background_error@1x.png | Bin .../background_error@2x.png | Bin .../background_error@3x.png | Bin .../background_variA.imageset/Contents.json | 0 .../background_variA@1x.png | Bin .../background_variA@2x.png | Bin .../background_variA@3x.png | Bin .../Contents.json | 0 .../background_variB-marina@1x.png | Bin .../background_variB-marina@2x.png | Bin .../background_variB-marina@3x.png | Bin .../logo.imageset/Contents.json | 0 .../Assets.xcassets/logo.imageset/logo@1x.png | Bin .../Assets.xcassets/logo.imageset/logo@2x.png | Bin .../Assets.xcassets/logo.imageset/logo@3x.png | Bin .../Base.lproj/tvOSMain.storyboard | 0 .../DemoSwifttvOS/Info.plist | 4 + .../OPTLYFailureViewController.swift | 0 .../OPTLYSplashScreenViewController.swift | 0 .../OPTLYVariationViewController.swift | 10 +- .../Resources/ProximaNova-Regular.otf | Bin .../Resources/ProximaNovaCond-Regular.otf | Bin .../Resources/Roboto-Medium.ttf | Bin .../Resources/SF-UI-Text-Regular.otf | Bin .../Resources}/demoTestDatafile.json | 0 .../Resources}/demoTestDatafileV3.json | 0 .../Resources/optimizely_8182362857.json | 0 LICENSE | 201 +++ OptimizelyDemoApp/AppDelegate.swift | 220 --- .../contents.xcworkspacedata | 10 +- .../xcshareddata/WorkspaceSettings.xcsettings | 5 + .../OptimizelySDK.xcodeproj/project.pbxproj | 788 ----------- OptimizelySDK/OptimizelySDK/OptimizelySDK.h | 27 - .../project.pbxproj | 1213 +++++++++++++++++ .../contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../xcschemes/OptimizelySwiftSDK-iOS.xcscheme | 99 ++ .../OptimizelySwiftSDK-tvOS.xcscheme | 99 ++ .../Info.plist | 0 .../OptimizelySwiftSDK/OPTError.swift | 63 + .../OptimizelySwiftSDK/OPTManager.swift | 563 ++++++++ .../OptimizelySwiftSDK/OPTResult.swift | 19 + .../OptimizelySwiftSDKiOS.h | 19 + .../BucketTests.swift | 0 .../DecisionServiceTest.swift | 0 .../Info.plist | 0 .../OptimizelyManagerTests.swift | 0 .../OptimizelySwiftSDKiOSTests.swift} | 22 +- .../OptimizelySwiftSDKtvOSTests/Info.plist | 22 + .../OptimizelySwiftSDKtvOSTests.swift | 34 + .../implementation/DefaultBucketer.swift | 15 +- .../DefaultDatafileHandler.swift | 2 +- .../DefaultDecisionService.swift | 19 +- OptimizelySDK/protocols/Bucketer.swift | 3 + OptimizelySDK/protocols/DecisionService.swift | 5 + ...ySDK.podspec => OptimizelySwiftSDK.podspec | 14 +- Podfile | 40 +- Podfile.lock | 35 +- 184 files changed, 3895 insertions(+), 1397 deletions(-) create mode 100644 DemoObjCApp/AppDelegate.h create mode 100644 DemoObjCApp/AppDelegate.m create mode 100644 DemoObjCApp/DemoObjcApp.xcodeproj/project.pbxproj create mode 100644 DemoObjCApp/DemoObjcApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename {OptimizelySDK/OptimizelySDK.xcodeproj => DemoObjCApp/DemoObjcApp.xcodeproj}/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) create mode 100644 DemoObjCApp/DemoObjcApp.xcodeproj/xcshareddata/xcschemes/DemoObjciOS.xcscheme create mode 100644 DemoObjCApp/DemoObjcApp.xcodeproj/xcshareddata/xcschemes/DemoObjctvOS.xcscheme create mode 100644 DemoObjCApp/ViewController.h create mode 100644 DemoObjCApp/ViewController.m create mode 100644 DemoObjCApp/main.m create mode 100644 DemoSwiftApp/AppDelegate.swift rename OptimizelyDemoApp/OptimizelyDemoApp-Bridging-Header.h => DemoSwiftApp/DemoSwiftApp-Bridging-Header.h (89%) rename {OptimizelyDemoApp/OptimizelyDemoApp.xcodeproj => DemoSwiftApp/DemoSwiftApp.xcodeproj}/project.pbxproj (51%) rename {OptimizelyDemoApp/OptimizelyDemoApp.xcodeproj => DemoSwiftApp/DemoSwiftApp.xcodeproj}/project.xcworkspace/contents.xcworkspacedata (100%) create mode 100644 DemoSwiftApp/DemoSwiftApp.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename OptimizelyDemoApp/OptimizelyDemoApp.xcodeproj/xcshareddata/xcschemes/OptimizelyiOSDemoApp.xcscheme => DemoSwiftApp/DemoSwiftApp.xcodeproj/xcshareddata/xcschemes/DemoSwiftiOS.xcscheme (79%) rename OptimizelyDemoApp/OptimizelyDemoApp.xcodeproj/xcshareddata/xcschemes/OptimizelyTVOSDemoApp.xcscheme => DemoSwiftApp/DemoSwiftApp.xcodeproj/xcshareddata/xcschemes/DemoSwifttvOS.xcscheme (79%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/AppIcon.appiconset/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/AppIcon.appiconset/Icon-1024.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/AppIcon.appiconset/Icon-20.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/AppIcon.appiconset/Icon-20@2x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/AppIcon.appiconset/Icon-20@3x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/AppIcon.appiconset/Icon-40@2x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/AppIcon.appiconset/Icon-40@3x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/AppIcon.appiconset/Icon-60@2x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/AppIcon.appiconset/Icon-60@3x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/AppIcon.appiconset/Icon-72.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/AppIcon.appiconset/Icon-72@2x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/AppIcon.appiconset/Icon-76.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/AppIcon.appiconset/Icon-76@2x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/AppIcon.appiconset/Icon-83.5@2x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/AppIcon.appiconset/Icon-Small-50.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/AppIcon.appiconset/Icon-Small-50@2x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/AppIcon.appiconset/Icon-Small.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/AppIcon.appiconset/Icon-Small@2x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/AppIcon.appiconset/Icon-Small@3x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/AppIcon.appiconset/Icon-iPad-20@2x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/AppIcon.appiconset/Icon-iPad-settings.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/AppIcon.appiconset/Icon-iPad-settings@2x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/AppIcon.appiconset/Icon-iPad-spotlight.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/AppIcon.appiconset/Icon-iPad-spotlight@2x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/AppIcon.appiconset/Icon.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/AppIcon.appiconset/Icon@2x.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer => DemoSwiftApp/DemoSwiftiOS/Assets.xcassets}/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/LaunchImage.launchimage/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/LaunchImage.launchimage/image1_1024x768.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/LaunchImage.launchimage/image1_1536x2048.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/LaunchImage.launchimage/image1_2048x1536.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/LaunchImage.launchimage/image1_640x1136.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/LaunchImage.launchimage/image1_640x960.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/LaunchImage.launchimage/image1_768x1024.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/LaunchImage.launchimage/image_1024x748.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/LaunchImage.launchimage/image_1024x768.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/LaunchImage.launchimage/image_1242x2208.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/LaunchImage.launchimage/image_1536x2008.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/LaunchImage.launchimage/image_1536x2048.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/LaunchImage.launchimage/image_2048x1496.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/LaunchImage.launchimage/image_2048x1536.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/LaunchImage.launchimage/image_2208x1242.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/LaunchImage.launchimage/image_320x480.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/LaunchImage.launchimage/image_640x1136.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/LaunchImage.launchimage/image_640x960.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/LaunchImage.launchimage/image_750x1334.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/LaunchImage.launchimage/image_768x1004.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/LaunchImage.launchimage/image_768x1024.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/background_confirmation.imageset/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/background_confirmation.imageset/background_confirmation@1x.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/background_confirmation.imageset/background_confirmation@2x.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/background_confirmation.imageset/background_confirmation@3x.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/background_error.imageset/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/background_error.imageset/background_error@1x.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/background_error.imageset/background_error@2x.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/background_error.imageset/background_error@3x.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/background_variA.imageset/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/background_variA.imageset/background_variA@1x.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/background_variA.imageset/background_variA@2x.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/background_variA.imageset/background_variA@3x.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/background_variB-marina.imageset/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@1x.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@2x.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@3x.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/logo.imageset/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/logo.imageset/logo@1x.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/logo.imageset/logo@2x.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Assets.xcassets/logo.imageset/logo@3x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwiftiOS}/Base.lproj/iOSMain.storyboard (100%) rename OptimizelyDemoApp/OptimizelyiOSDemoApp/OptimizelyiOSDemoApp-Info.plist => DemoSwiftApp/DemoSwiftiOS/Info.plist (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Content.imageset/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Content.imageset/icon-large_back.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer => DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer}/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Content.imageset/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Content.imageset/icon-large_front.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer => DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer}/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Content.imageset/icon-large_middle.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer => DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer}/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/icon-small_back.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/icon-small_back@2x.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer => DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer}/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/icon-small_front.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/icon-small_front@2x.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer => DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer}/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/icon-small_middle.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/icon-small_middle@2x.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets => DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer}/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/icon-top_shelf_wide.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/icon-top_shelf_wide@2x.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/icon-top_shelf.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/icon-top_shelf@2x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/LaunchImage-2.launchimage/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/LaunchImage.launchimage/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/LaunchImage.launchimage/LaunchImage.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/background_confirmation.imageset/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/background_confirmation.imageset/background_confirmation@1x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/background_confirmation.imageset/background_confirmation@2x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/background_confirmation.imageset/background_confirmation@3x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/background_error.imageset/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/background_error.imageset/background_error@1x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/background_error.imageset/background_error@2x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/background_error.imageset/background_error@3x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/background_variA.imageset/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/background_variA.imageset/background_variA@1x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/background_variA.imageset/background_variA@2x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/background_variA.imageset/background_variA@3x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/background_variB-marina.imageset/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@1x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@2x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@3x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/logo.imageset/Contents.json (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/logo.imageset/logo@1x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/logo.imageset/logo@2x.png (100%) rename {OptimizelyDemoApp/OptimizelyiOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Assets.xcassets/logo.imageset/logo@3x.png (100%) rename {OptimizelyDemoApp/OptimizelyTVOSDemoApp => DemoSwiftApp/DemoSwifttvOS}/Base.lproj/tvOSMain.storyboard (100%) rename OptimizelyDemoApp/OptimizelyTVOSDemoApp/OptimizelyTVOSDemoApp-Info.plist => DemoSwiftApp/DemoSwifttvOS/Info.plist (92%) rename {OptimizelyDemoApp => DemoSwiftApp}/OPTLYFailureViewController.swift (100%) rename {OptimizelyDemoApp => DemoSwiftApp}/OPTLYSplashScreenViewController.swift (100%) rename {OptimizelyDemoApp => DemoSwiftApp}/OPTLYVariationViewController.swift (93%) rename {OptimizelyDemoApp => DemoSwiftApp}/Resources/ProximaNova-Regular.otf (100%) rename {OptimizelyDemoApp => DemoSwiftApp}/Resources/ProximaNovaCond-Regular.otf (100%) rename {OptimizelyDemoApp => DemoSwiftApp}/Resources/Roboto-Medium.ttf (100%) rename {OptimizelyDemoApp => DemoSwiftApp}/Resources/SF-UI-Text-Regular.otf (100%) rename {OptimizelyDemoApp => DemoSwiftApp/Resources}/demoTestDatafile.json (100%) rename {OptimizelyDemoApp => DemoSwiftApp/Resources}/demoTestDatafileV3.json (100%) rename {OptimizelyDemoApp => DemoSwiftApp}/Resources/optimizely_8182362857.json (100%) create mode 100644 LICENSE delete mode 100644 OptimizelyDemoApp/AppDelegate.swift create mode 100644 OptimizelySDK.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings delete mode 100644 OptimizelySDK/OptimizelySDK.xcodeproj/project.pbxproj delete mode 100644 OptimizelySDK/OptimizelySDK/OptimizelySDK.h create mode 100644 OptimizelySDK/OptimizelySwiftSDK.xcodeproj/project.pbxproj rename OptimizelySDK/{OptimizelySDK.xcodeproj => OptimizelySwiftSDK.xcodeproj}/project.xcworkspace/contents.xcworkspacedata (100%) create mode 100644 OptimizelySDK/OptimizelySwiftSDK.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 OptimizelySDK/OptimizelySwiftSDK.xcodeproj/xcshareddata/xcschemes/OptimizelySwiftSDK-iOS.xcscheme create mode 100644 OptimizelySDK/OptimizelySwiftSDK.xcodeproj/xcshareddata/xcschemes/OptimizelySwiftSDK-tvOS.xcscheme rename OptimizelySDK/{OptimizelySDK => OptimizelySwiftSDK}/Info.plist (100%) create mode 100644 OptimizelySDK/OptimizelySwiftSDK/OPTError.swift create mode 100644 OptimizelySDK/OptimizelySwiftSDK/OPTManager.swift create mode 100644 OptimizelySDK/OptimizelySwiftSDK/OPTResult.swift create mode 100644 OptimizelySDK/OptimizelySwiftSDK/OptimizelySwiftSDKiOS.h rename OptimizelySDK/{OptimizelySDKTests => OptimizelySwiftSDKiOSTests}/BucketTests.swift (100%) rename OptimizelySDK/{OptimizelySDKTests => OptimizelySwiftSDKiOSTests}/DecisionServiceTest.swift (100%) rename OptimizelySDK/{OptimizelySDKTests => OptimizelySwiftSDKiOSTests}/Info.plist (100%) rename OptimizelySDK/{OptimizelySDKTests => OptimizelySwiftSDKiOSTests}/OptimizelyManagerTests.swift (100%) rename OptimizelySDK/{OptimizelySDKTests/OptimizelySDKTests.swift => OptimizelySwiftSDKiOSTests/OptimizelySwiftSDKiOSTests.swift} (98%) create mode 100644 OptimizelySDK/OptimizelySwiftSDKtvOSTests/Info.plist create mode 100644 OptimizelySDK/OptimizelySwiftSDKtvOSTests/OptimizelySwiftSDKtvOSTests.swift rename OptimizelySDK.podspec => OptimizelySwiftSDK.podspec (65%) diff --git a/DemoObjCApp/AppDelegate.h b/DemoObjCApp/AppDelegate.h new file mode 100644 index 000000000..ce5923cc0 --- /dev/null +++ b/DemoObjCApp/AppDelegate.h @@ -0,0 +1,17 @@ +// +// AppDelegate.h +// DemoObjcApp +// +// Created by Jae Kim on 1/7/19. +// Copyright © 2019 Optimizely. All rights reserved. +// + +#import + +@interface AppDelegate : UIResponder + +@property (strong, nonatomic) UIWindow *window; + + +@end + diff --git a/DemoObjCApp/AppDelegate.m b/DemoObjCApp/AppDelegate.m new file mode 100644 index 000000000..c2d4e21ad --- /dev/null +++ b/DemoObjCApp/AppDelegate.m @@ -0,0 +1,51 @@ +// +// AppDelegate.m +// DemoObjcApp +// +// Created by Jae Kim on 1/7/19. +// Copyright © 2019 Optimizely. All rights reserved. +// + +#import "AppDelegate.h" + +@interface AppDelegate () + +@end + +@implementation AppDelegate + + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { + // Override point for customization after application launch. + return YES; +} + + +- (void)applicationWillResignActive:(UIApplication *)application { + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. +} + + +- (void)applicationDidEnterBackground:(UIApplication *)application { + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. +} + + +- (void)applicationWillEnterForeground:(UIApplication *)application { + // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. +} + + +- (void)applicationDidBecomeActive:(UIApplication *)application { + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. +} + + +- (void)applicationWillTerminate:(UIApplication *)application { + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. +} + + +@end diff --git a/DemoObjCApp/DemoObjcApp.xcodeproj/project.pbxproj b/DemoObjCApp/DemoObjcApp.xcodeproj/project.pbxproj new file mode 100644 index 000000000..276fafd9f --- /dev/null +++ b/DemoObjCApp/DemoObjcApp.xcodeproj/project.pbxproj @@ -0,0 +1,770 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + 361EF872CB7D0F6C8202145F /* Pods_DemoObjciOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F8E188D7982AFD9C7F1C7FE6 /* Pods_DemoObjciOS.framework */; }; + 6E4DD7F321E51E4C00B0C2C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6EF7497321E40467008B22A0 /* AppDelegate.m */; }; + 6E4DD7F421E51E4D00B0C2C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6EF7497321E40467008B22A0 /* AppDelegate.m */; }; + 6E4DD7F521E51E5100B0C2C7 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6EF7497621E40467008B22A0 /* ViewController.m */; }; + 6E4DD7F621E51E5200B0C2C7 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6EF7497621E40467008B22A0 /* ViewController.m */; }; + 6E4DD7F721E51E5500B0C2C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6EF7499F21E404BC008B22A0 /* main.m */; }; + 6E4DD7F821E51E5600B0C2C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6EF7499F21E404BC008B22A0 /* main.m */; }; + 6E4DD7FE21E51FDB00B0C2C7 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6E4DD7FA21E51FDB00B0C2C7 /* Assets.xcassets */; }; + 6E4DD7FF21E51FDB00B0C2C7 /* iOSMain.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6E4DD7FB21E51FDB00B0C2C7 /* iOSMain.storyboard */; }; + 6E4DD80621E51FF700B0C2C7 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6E4DD80221E51FF600B0C2C7 /* Assets.xcassets */; }; + 6E4DD80721E51FF700B0C2C7 /* tvOSMain.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6E4DD80321E51FF600B0C2C7 /* tvOSMain.storyboard */; }; + 6E4DD82321E5208F00B0C2C7 /* Roboto-Medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 6E4DD81C21E5208F00B0C2C7 /* Roboto-Medium.ttf */; }; + 6E4DD82421E5208F00B0C2C7 /* Roboto-Medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 6E4DD81C21E5208F00B0C2C7 /* Roboto-Medium.ttf */; }; + 6E4DD82521E5208F00B0C2C7 /* demoTestDatafile.json in Resources */ = {isa = PBXBuildFile; fileRef = 6E4DD81D21E5208F00B0C2C7 /* demoTestDatafile.json */; }; + 6E4DD82621E5208F00B0C2C7 /* demoTestDatafile.json in Resources */ = {isa = PBXBuildFile; fileRef = 6E4DD81D21E5208F00B0C2C7 /* demoTestDatafile.json */; }; + 6E4DD82721E5208F00B0C2C7 /* demoTestDatafileV3.json in Resources */ = {isa = PBXBuildFile; fileRef = 6E4DD81E21E5208F00B0C2C7 /* demoTestDatafileV3.json */; }; + 6E4DD82821E5208F00B0C2C7 /* demoTestDatafileV3.json in Resources */ = {isa = PBXBuildFile; fileRef = 6E4DD81E21E5208F00B0C2C7 /* demoTestDatafileV3.json */; }; + 6E4DD82921E5208F00B0C2C7 /* SF-UI-Text-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = 6E4DD81F21E5208F00B0C2C7 /* SF-UI-Text-Regular.otf */; }; + 6E4DD82A21E5208F00B0C2C7 /* SF-UI-Text-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = 6E4DD81F21E5208F00B0C2C7 /* SF-UI-Text-Regular.otf */; }; + 6E4DD82B21E5208F00B0C2C7 /* optimizely_8182362857.json in Resources */ = {isa = PBXBuildFile; fileRef = 6E4DD82021E5208F00B0C2C7 /* optimizely_8182362857.json */; }; + 6E4DD82C21E5208F00B0C2C7 /* optimizely_8182362857.json in Resources */ = {isa = PBXBuildFile; fileRef = 6E4DD82021E5208F00B0C2C7 /* optimizely_8182362857.json */; }; + 6E4DD82D21E5208F00B0C2C7 /* ProximaNova-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = 6E4DD82121E5208F00B0C2C7 /* ProximaNova-Regular.otf */; }; + 6E4DD82E21E5208F00B0C2C7 /* ProximaNova-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = 6E4DD82121E5208F00B0C2C7 /* ProximaNova-Regular.otf */; }; + 6E4DD82F21E5208F00B0C2C7 /* ProximaNovaCond-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = 6E4DD82221E5208F00B0C2C7 /* ProximaNovaCond-Regular.otf */; }; + 6E4DD83021E5208F00B0C2C7 /* ProximaNovaCond-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = 6E4DD82221E5208F00B0C2C7 /* ProximaNovaCond-Regular.otf */; }; + 6E4DD97C21E67AAD00B0C2C7 /* OptimizelySwiftSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6E4DD97521E67A6500B0C2C7 /* OptimizelySwiftSDK.framework */; }; + 6E4DD97D21E67AAD00B0C2C7 /* OptimizelySwiftSDK.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 6E4DD97521E67A6500B0C2C7 /* OptimizelySwiftSDK.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 6E4DD98021E67ABA00B0C2C7 /* OptimizelySwiftSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6E4DD97721E67A6500B0C2C7 /* OptimizelySwiftSDK.framework */; }; + 6E4DD98121E67ABA00B0C2C7 /* OptimizelySwiftSDK.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 6E4DD97721E67A6500B0C2C7 /* OptimizelySwiftSDK.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + DDB0B21C9FF18EAEA9E5F676 /* Pods_DemoObjctvOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B3822AD03E75EF61F9556BA6 /* Pods_DemoObjctvOS.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 6E4DD97421E67A6500B0C2C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 6E4DD96D21E67A6500B0C2C7 /* OptimizelySwiftSDK.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 6EBAEB6C21E3FEF800D13AA9; + remoteInfo = OptimizelySwiftSDKiOS; + }; + 6E4DD97621E67A6500B0C2C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 6E4DD96D21E67A6500B0C2C7 /* OptimizelySwiftSDK.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 6E614DCD21E3F389005982A1; + remoteInfo = OptimizelySwiftSDKtvOS; + }; + 6E4DD97821E67A6500B0C2C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 6E4DD96D21E67A6500B0C2C7 /* OptimizelySwiftSDK.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 6EBAEB7421E3FEF900D13AA9; + remoteInfo = OptimizelySwiftSDKiOSTests; + }; + 6E4DD97A21E67A6500B0C2C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 6E4DD96D21E67A6500B0C2C7 /* OptimizelySwiftSDK.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 6E614DD521E3F38A005982A1; + remoteInfo = OptimizelySwiftSDKtvOSTests; + }; + 6E4DD97E21E67AAD00B0C2C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 6E4DD96D21E67A6500B0C2C7 /* OptimizelySwiftSDK.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 6EBAEB6B21E3FEF800D13AA9; + remoteInfo = OptimizelySwiftSDKiOS; + }; + 6E4DD98221E67ABA00B0C2C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 6E4DD96D21E67A6500B0C2C7 /* OptimizelySwiftSDK.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 6E614DCC21E3F389005982A1; + remoteInfo = OptimizelySwiftSDKtvOS; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 6E4DD93B21E6708E00B0C2C7 /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 6E4DD97D21E67AAD00B0C2C7 /* OptimizelySwiftSDK.framework in Embed Frameworks */, + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; + 6E4DD93F21E6709600B0C2C7 /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 6E4DD98121E67ABA00B0C2C7 /* OptimizelySwiftSDK.framework in Embed Frameworks */, + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 3EFD1578D8AB431E6FD4B8FE /* Pods-DemoObjctvOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DemoObjctvOS.debug.xcconfig"; path = "../Pods/Target Support Files/Pods-DemoObjctvOS/Pods-DemoObjctvOS.debug.xcconfig"; sourceTree = ""; }; + 4BE4886BF950708C866FA8F2 /* Pods-DemoObjciOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DemoObjciOS.debug.xcconfig"; path = "../Pods/Target Support Files/Pods-DemoObjciOS/Pods-DemoObjciOS.debug.xcconfig"; sourceTree = ""; }; + 6E4DD7FA21E51FDB00B0C2C7 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 6E4DD7FC21E51FDB00B0C2C7 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/iOSMain.storyboard; sourceTree = ""; }; + 6E4DD7FD21E51FDB00B0C2C7 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 6E4DD80221E51FF600B0C2C7 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 6E4DD80421E51FF600B0C2C7 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/tvOSMain.storyboard; sourceTree = ""; }; + 6E4DD80521E51FF600B0C2C7 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 6E4DD81C21E5208F00B0C2C7 /* Roboto-Medium.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Roboto-Medium.ttf"; sourceTree = ""; }; + 6E4DD81D21E5208F00B0C2C7 /* demoTestDatafile.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = demoTestDatafile.json; sourceTree = ""; }; + 6E4DD81E21E5208F00B0C2C7 /* demoTestDatafileV3.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = demoTestDatafileV3.json; sourceTree = ""; }; + 6E4DD81F21E5208F00B0C2C7 /* SF-UI-Text-Regular.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SF-UI-Text-Regular.otf"; sourceTree = ""; }; + 6E4DD82021E5208F00B0C2C7 /* optimizely_8182362857.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = optimizely_8182362857.json; sourceTree = ""; }; + 6E4DD82121E5208F00B0C2C7 /* ProximaNova-Regular.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "ProximaNova-Regular.otf"; sourceTree = ""; }; + 6E4DD82221E5208F00B0C2C7 /* ProximaNovaCond-Regular.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "ProximaNovaCond-Regular.otf"; sourceTree = ""; }; + 6E4DD96D21E67A6500B0C2C7 /* OptimizelySwiftSDK.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = OptimizelySwiftSDK.xcodeproj; path = ../OptimizelySDK/OptimizelySwiftSDK.xcodeproj; sourceTree = ""; }; + 6EF7497221E40467008B22A0 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; + 6EF7497321E40467008B22A0 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; + 6EF7497521E40467008B22A0 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; + 6EF7497621E40467008B22A0 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; + 6EF7498E21E404BB008B22A0 /* DemoObjciOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DemoObjciOS.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 6EF7499F21E404BC008B22A0 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + 6EF749A821E404D6008B22A0 /* DemoObjctvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DemoObjctvOS.app; sourceTree = BUILT_PRODUCTS_DIR; }; + B3822AD03E75EF61F9556BA6 /* Pods_DemoObjctvOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DemoObjctvOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + D58542E1B5771327083E56E2 /* Pods-DemoObjctvOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DemoObjctvOS.release.xcconfig"; path = "../Pods/Target Support Files/Pods-DemoObjctvOS/Pods-DemoObjctvOS.release.xcconfig"; sourceTree = ""; }; + D66FA87FA967DCE9F1972546 /* Pods-DemoObjciOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DemoObjciOS.release.xcconfig"; path = "../Pods/Target Support Files/Pods-DemoObjciOS/Pods-DemoObjciOS.release.xcconfig"; sourceTree = ""; }; + F8E188D7982AFD9C7F1C7FE6 /* Pods_DemoObjciOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DemoObjciOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 6EF7498B21E404BB008B22A0 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 361EF872CB7D0F6C8202145F /* Pods_DemoObjciOS.framework in Frameworks */, + 6E4DD97C21E67AAD00B0C2C7 /* OptimizelySwiftSDK.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6EF749A521E404D6008B22A0 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + DDB0B21C9FF18EAEA9E5F676 /* Pods_DemoObjctvOS.framework in Frameworks */, + 6E4DD98021E67ABA00B0C2C7 /* OptimizelySwiftSDK.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 6E4DD7F921E51FDB00B0C2C7 /* DemoSwiftiOS */ = { + isa = PBXGroup; + children = ( + 6E4DD7FA21E51FDB00B0C2C7 /* Assets.xcassets */, + 6E4DD7FB21E51FDB00B0C2C7 /* iOSMain.storyboard */, + 6E4DD7FD21E51FDB00B0C2C7 /* Info.plist */, + ); + name = DemoSwiftiOS; + path = ../DemoSwiftApp/DemoSwiftiOS; + sourceTree = ""; + }; + 6E4DD80121E51FF600B0C2C7 /* DemoSwifttvOS */ = { + isa = PBXGroup; + children = ( + 6E4DD80221E51FF600B0C2C7 /* Assets.xcassets */, + 6E4DD80321E51FF600B0C2C7 /* tvOSMain.storyboard */, + 6E4DD80521E51FF600B0C2C7 /* Info.plist */, + ); + name = DemoSwifttvOS; + path = ../DemoSwiftApp/DemoSwifttvOS; + sourceTree = ""; + }; + 6E4DD81B21E5208F00B0C2C7 /* Resources */ = { + isa = PBXGroup; + children = ( + 6E4DD81C21E5208F00B0C2C7 /* Roboto-Medium.ttf */, + 6E4DD81D21E5208F00B0C2C7 /* demoTestDatafile.json */, + 6E4DD81E21E5208F00B0C2C7 /* demoTestDatafileV3.json */, + 6E4DD81F21E5208F00B0C2C7 /* SF-UI-Text-Regular.otf */, + 6E4DD82021E5208F00B0C2C7 /* optimizely_8182362857.json */, + 6E4DD82121E5208F00B0C2C7 /* ProximaNova-Regular.otf */, + 6E4DD82221E5208F00B0C2C7 /* ProximaNovaCond-Regular.otf */, + ); + name = Resources; + path = ../DemoSwiftApp/Resources; + sourceTree = ""; + }; + 6E4DD96E21E67A6500B0C2C7 /* Products */ = { + isa = PBXGroup; + children = ( + 6E4DD97521E67A6500B0C2C7 /* OptimizelySwiftSDK.framework */, + 6E4DD97721E67A6500B0C2C7 /* OptimizelySwiftSDK.framework */, + 6E4DD97921E67A6500B0C2C7 /* OptimizelySwiftSDK-iOSTests.xctest */, + 6E4DD97B21E67A6500B0C2C7 /* OptimizelySwiftSDK-tvOSTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 6EF7496621E40467008B22A0 = { + isa = PBXGroup; + children = ( + 6E4DD7F921E51FDB00B0C2C7 /* DemoSwiftiOS */, + 6E4DD80121E51FF600B0C2C7 /* DemoSwifttvOS */, + 6E4DD81B21E5208F00B0C2C7 /* Resources */, + 6EF7497221E40467008B22A0 /* AppDelegate.h */, + 6EF7497321E40467008B22A0 /* AppDelegate.m */, + 6EF7497521E40467008B22A0 /* ViewController.h */, + 6EF7497621E40467008B22A0 /* ViewController.m */, + 6EF7499F21E404BC008B22A0 /* main.m */, + 6EF7497021E40467008B22A0 /* Products */, + EC8D1C27EBC6923BEA837213 /* Pods */, + E4F9C3F25D5A22985B6E41CD /* Frameworks */, + ); + sourceTree = ""; + }; + 6EF7497021E40467008B22A0 /* Products */ = { + isa = PBXGroup; + children = ( + 6EF7498E21E404BB008B22A0 /* DemoObjciOS.app */, + 6EF749A821E404D6008B22A0 /* DemoObjctvOS.app */, + ); + name = Products; + sourceTree = ""; + }; + E4F9C3F25D5A22985B6E41CD /* Frameworks */ = { + isa = PBXGroup; + children = ( + 6E4DD96D21E67A6500B0C2C7 /* OptimizelySwiftSDK.xcodeproj */, + F8E188D7982AFD9C7F1C7FE6 /* Pods_DemoObjciOS.framework */, + B3822AD03E75EF61F9556BA6 /* Pods_DemoObjctvOS.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + EC8D1C27EBC6923BEA837213 /* Pods */ = { + isa = PBXGroup; + children = ( + 4BE4886BF950708C866FA8F2 /* Pods-DemoObjciOS.debug.xcconfig */, + D66FA87FA967DCE9F1972546 /* Pods-DemoObjciOS.release.xcconfig */, + 3EFD1578D8AB431E6FD4B8FE /* Pods-DemoObjctvOS.debug.xcconfig */, + D58542E1B5771327083E56E2 /* Pods-DemoObjctvOS.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 6EF7498D21E404BB008B22A0 /* DemoObjciOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 6EF749A321E404BC008B22A0 /* Build configuration list for PBXNativeTarget "DemoObjciOS" */; + buildPhases = ( + 9C80D766758228B3848F863B /* [CP] Check Pods Manifest.lock */, + 6EF7498A21E404BB008B22A0 /* Sources */, + 6EF7498B21E404BB008B22A0 /* Frameworks */, + 6EF7498C21E404BB008B22A0 /* Resources */, + 6E4DD93B21E6708E00B0C2C7 /* Embed Frameworks */, + E446D4B40B95766419E07D97 /* [CP] Embed Pods Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 6E4DD97F21E67AAD00B0C2C7 /* PBXTargetDependency */, + ); + name = DemoObjciOS; + productName = DemoObjcAppiOS; + productReference = 6EF7498E21E404BB008B22A0 /* DemoObjciOS.app */; + productType = "com.apple.product-type.application"; + }; + 6EF749A721E404D6008B22A0 /* DemoObjctvOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 6EF749B821E404D7008B22A0 /* Build configuration list for PBXNativeTarget "DemoObjctvOS" */; + buildPhases = ( + 50156C3313666B2B516DE355 /* [CP] Check Pods Manifest.lock */, + 6EF749A421E404D6008B22A0 /* Sources */, + 6EF749A521E404D6008B22A0 /* Frameworks */, + 6EF749A621E404D6008B22A0 /* Resources */, + 6E4DD93F21E6709600B0C2C7 /* Embed Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 6E4DD98321E67ABA00B0C2C7 /* PBXTargetDependency */, + ); + name = DemoObjctvOS; + productName = DemoObjcApptvOS; + productReference = 6EF749A821E404D6008B22A0 /* DemoObjctvOS.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 6EF7496721E40467008B22A0 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 1010; + ORGANIZATIONNAME = Optimizely; + TargetAttributes = { + 6EF7498D21E404BB008B22A0 = { + CreatedOnToolsVersion = 10.1; + SystemCapabilities = { + com.apple.BackgroundModes = { + enabled = 0; + }; + }; + }; + 6EF749A721E404D6008B22A0 = { + CreatedOnToolsVersion = 10.1; + }; + }; + }; + buildConfigurationList = 6EF7496A21E40467008B22A0 /* Build configuration list for PBXProject "DemoObjcApp" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 6EF7496621E40467008B22A0; + productRefGroup = 6EF7497021E40467008B22A0 /* Products */; + projectDirPath = ""; + projectReferences = ( + { + ProductGroup = 6E4DD96E21E67A6500B0C2C7 /* Products */; + ProjectRef = 6E4DD96D21E67A6500B0C2C7 /* OptimizelySwiftSDK.xcodeproj */; + }, + ); + projectRoot = ""; + targets = ( + 6EF7498D21E404BB008B22A0 /* DemoObjciOS */, + 6EF749A721E404D6008B22A0 /* DemoObjctvOS */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXReferenceProxy section */ + 6E4DD97521E67A6500B0C2C7 /* OptimizelySwiftSDK.framework */ = { + isa = PBXReferenceProxy; + fileType = wrapper.framework; + path = OptimizelySwiftSDK.framework; + remoteRef = 6E4DD97421E67A6500B0C2C7 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 6E4DD97721E67A6500B0C2C7 /* OptimizelySwiftSDK.framework */ = { + isa = PBXReferenceProxy; + fileType = wrapper.framework; + path = OptimizelySwiftSDK.framework; + remoteRef = 6E4DD97621E67A6500B0C2C7 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 6E4DD97921E67A6500B0C2C7 /* OptimizelySwiftSDK-iOSTests.xctest */ = { + isa = PBXReferenceProxy; + fileType = wrapper.cfbundle; + path = "OptimizelySwiftSDK-iOSTests.xctest"; + remoteRef = 6E4DD97821E67A6500B0C2C7 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 6E4DD97B21E67A6500B0C2C7 /* OptimizelySwiftSDK-tvOSTests.xctest */ = { + isa = PBXReferenceProxy; + fileType = wrapper.cfbundle; + path = "OptimizelySwiftSDK-tvOSTests.xctest"; + remoteRef = 6E4DD97A21E67A6500B0C2C7 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; +/* End PBXReferenceProxy section */ + +/* Begin PBXResourcesBuildPhase section */ + 6EF7498C21E404BB008B22A0 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 6E4DD82521E5208F00B0C2C7 /* demoTestDatafile.json in Resources */, + 6E4DD82B21E5208F00B0C2C7 /* optimizely_8182362857.json in Resources */, + 6E4DD82D21E5208F00B0C2C7 /* ProximaNova-Regular.otf in Resources */, + 6E4DD82721E5208F00B0C2C7 /* demoTestDatafileV3.json in Resources */, + 6E4DD82321E5208F00B0C2C7 /* Roboto-Medium.ttf in Resources */, + 6E4DD7FE21E51FDB00B0C2C7 /* Assets.xcassets in Resources */, + 6E4DD7FF21E51FDB00B0C2C7 /* iOSMain.storyboard in Resources */, + 6E4DD82921E5208F00B0C2C7 /* SF-UI-Text-Regular.otf in Resources */, + 6E4DD82F21E5208F00B0C2C7 /* ProximaNovaCond-Regular.otf in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6EF749A621E404D6008B22A0 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 6E4DD82621E5208F00B0C2C7 /* demoTestDatafile.json in Resources */, + 6E4DD82C21E5208F00B0C2C7 /* optimizely_8182362857.json in Resources */, + 6E4DD82E21E5208F00B0C2C7 /* ProximaNova-Regular.otf in Resources */, + 6E4DD82821E5208F00B0C2C7 /* demoTestDatafileV3.json in Resources */, + 6E4DD82421E5208F00B0C2C7 /* Roboto-Medium.ttf in Resources */, + 6E4DD80621E51FF700B0C2C7 /* Assets.xcassets in Resources */, + 6E4DD80721E51FF700B0C2C7 /* tvOSMain.storyboard in Resources */, + 6E4DD82A21E5208F00B0C2C7 /* SF-UI-Text-Regular.otf in Resources */, + 6E4DD83021E5208F00B0C2C7 /* ProximaNovaCond-Regular.otf in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 50156C3313666B2B516DE355 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-DemoObjctvOS-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; + 9C80D766758228B3848F863B /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-DemoObjciOS-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; + E446D4B40B95766419E07D97 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${SRCROOT}/../Pods/Target Support Files/Pods-DemoObjciOS/Pods-DemoObjciOS-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/Amplitude-iOS/Amplitude_iOS.framework", + "${BUILT_PRODUCTS_DIR}/GoogleToolboxForMac/GoogleToolboxForMac.framework", + "${PODS_ROOT}/Localytics/Localytics-iOS-5.4.0/Localytics.framework", + "${BUILT_PRODUCTS_DIR}/Mixpanel-swift/Mixpanel.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputFileListPaths = ( + ); + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Amplitude_iOS.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleToolboxForMac.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Localytics.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Mixpanel.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/../Pods/Target Support Files/Pods-DemoObjciOS/Pods-DemoObjciOS-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 6EF7498A21E404BB008B22A0 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 6E4DD7F521E51E5100B0C2C7 /* ViewController.m in Sources */, + 6E4DD7F721E51E5500B0C2C7 /* main.m in Sources */, + 6E4DD7F321E51E4C00B0C2C7 /* AppDelegate.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6EF749A421E404D6008B22A0 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 6E4DD7F621E51E5200B0C2C7 /* ViewController.m in Sources */, + 6E4DD7F821E51E5600B0C2C7 /* main.m in Sources */, + 6E4DD7F421E51E4D00B0C2C7 /* AppDelegate.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 6E4DD97F21E67AAD00B0C2C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = OptimizelySwiftSDKiOS; + targetProxy = 6E4DD97E21E67AAD00B0C2C7 /* PBXContainerItemProxy */; + }; + 6E4DD98321E67ABA00B0C2C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = OptimizelySwiftSDKtvOS; + targetProxy = 6E4DD98221E67ABA00B0C2C7 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 6E4DD7FB21E51FDB00B0C2C7 /* iOSMain.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 6E4DD7FC21E51FDB00B0C2C7 /* Base */, + ); + name = iOSMain.storyboard; + sourceTree = ""; + }; + 6E4DD80321E51FF600B0C2C7 /* tvOSMain.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 6E4DD80421E51FF600B0C2C7 /* Base */, + ); + name = tvOSMain.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 6EF7498321E40468008B22A0 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + }; + name = Debug; + }; + 6EF7498421E40468008B22A0 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 6EF749A121E404BC008B22A0 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 4BE4886BF950708C866FA8F2 /* Pods-DemoObjciOS.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = ../DemoSwiftApp/DemoSwiftiOS/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.optimizely.DemoObjciOS; + PRODUCT_NAME = "$(TARGET_NAME)"; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 6EF749A221E404BC008B22A0 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = D66FA87FA967DCE9F1972546 /* Pods-DemoObjciOS.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = ../DemoSwiftApp/DemoSwiftiOS/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.optimizely.DemoObjciOS; + PRODUCT_NAME = "$(TARGET_NAME)"; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + 6EF749B921E404D7008B22A0 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 3EFD1578D8AB431E6FD4B8FE /* Pods-DemoObjctvOS.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = ../DemoSwiftApp/DemoSwifttvOS/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.optimizely.DemoObjctvOS; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 12.0; + }; + name = Debug; + }; + 6EF749BA21E404D7008B22A0 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = D58542E1B5771327083E56E2 /* Pods-DemoObjctvOS.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = ../DemoSwiftApp/DemoSwifttvOS/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.optimizely.DemoObjctvOS; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 12.0; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 6EF7496A21E40467008B22A0 /* Build configuration list for PBXProject "DemoObjcApp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 6EF7498321E40468008B22A0 /* Debug */, + 6EF7498421E40468008B22A0 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 6EF749A321E404BC008B22A0 /* Build configuration list for PBXNativeTarget "DemoObjciOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 6EF749A121E404BC008B22A0 /* Debug */, + 6EF749A221E404BC008B22A0 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 6EF749B821E404D7008B22A0 /* Build configuration list for PBXNativeTarget "DemoObjctvOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 6EF749B921E404D7008B22A0 /* Debug */, + 6EF749BA21E404D7008B22A0 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 6EF7496721E40467008B22A0 /* Project object */; +} diff --git a/DemoObjCApp/DemoObjcApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/DemoObjCApp/DemoObjcApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 000000000..b07efd25f --- /dev/null +++ b/DemoObjCApp/DemoObjcApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/OptimizelySDK/OptimizelySDK.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/DemoObjCApp/DemoObjcApp.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from OptimizelySDK/OptimizelySDK.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to DemoObjCApp/DemoObjcApp.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/DemoObjCApp/DemoObjcApp.xcodeproj/xcshareddata/xcschemes/DemoObjciOS.xcscheme b/DemoObjCApp/DemoObjcApp.xcodeproj/xcshareddata/xcschemes/DemoObjciOS.xcscheme new file mode 100644 index 000000000..c373b569f --- /dev/null +++ b/DemoObjCApp/DemoObjcApp.xcodeproj/xcshareddata/xcschemes/DemoObjciOS.xcscheme @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/DemoObjCApp/DemoObjcApp.xcodeproj/xcshareddata/xcschemes/DemoObjctvOS.xcscheme b/DemoObjCApp/DemoObjcApp.xcodeproj/xcshareddata/xcschemes/DemoObjctvOS.xcscheme new file mode 100644 index 000000000..113ae0926 --- /dev/null +++ b/DemoObjCApp/DemoObjcApp.xcodeproj/xcshareddata/xcschemes/DemoObjctvOS.xcscheme @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/DemoObjCApp/ViewController.h b/DemoObjCApp/ViewController.h new file mode 100644 index 000000000..08fae0c8c --- /dev/null +++ b/DemoObjCApp/ViewController.h @@ -0,0 +1,15 @@ +// +// ViewController.h +// DemoObjcApp +// +// Created by Jae Kim on 1/7/19. +// Copyright © 2019 Optimizely. All rights reserved. +// + +#import + +@interface ViewController : UIViewController + + +@end + diff --git a/DemoObjCApp/ViewController.m b/DemoObjCApp/ViewController.m new file mode 100644 index 000000000..c69dc4c9a --- /dev/null +++ b/DemoObjCApp/ViewController.m @@ -0,0 +1,23 @@ +// +// ViewController.m +// DemoObjcApp +// +// Created by Jae Kim on 1/7/19. +// Copyright © 2019 Optimizely. All rights reserved. +// + +#import "ViewController.h" + +@interface ViewController () + +@end + +@implementation ViewController + +- (void)viewDidLoad { + [super viewDidLoad]; + // Do any additional setup after loading the view, typically from a nib. +} + + +@end diff --git a/DemoObjCApp/main.m b/DemoObjCApp/main.m new file mode 100644 index 000000000..80fb97fb4 --- /dev/null +++ b/DemoObjCApp/main.m @@ -0,0 +1,16 @@ +// +// main.m +// DemoObjcAppiOS +// +// Created by Jae Kim on 1/7/19. +// Copyright © 2019 Optimizely. All rights reserved. +// + +#import +#import "AppDelegate.h" + +int main(int argc, char * argv[]) { + @autoreleasepool { + return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); + } +} diff --git a/DemoSwiftApp/AppDelegate.swift b/DemoSwiftApp/AppDelegate.swift new file mode 100644 index 000000000..1a40c6136 --- /dev/null +++ b/DemoSwiftApp/AppDelegate.swift @@ -0,0 +1,78 @@ +/**************************************************************************** + * Copyright 2017-2018, Optimizely, Inc. and contributors * + * * + * Licensed under the Apache License, Version 2.0 (the "License"); * + * you may not use this file except in compliance with the License. * + * You may obtain a copy of the License at * + * * + * http://www.apache.org/licenses/LICENSE-2.0 * + * * + * Unless required by applicable law or agreed to in writing, software * + * distributed under the License is distributed on an "AS IS" BASIS, * + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * + * See the License for the specific language governing permissions and * + * limitations under the License. * + ***************************************************************************/ + +import UIKit +import OptimizelySwiftSDK +#if os(iOS) + import Amplitude_iOS + import Localytics + import Mixpanel +#elseif os(tvOS) + // +#endif + +@UIApplicationMain +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + // generate random user ID on each app load + let userId = String(Int(arc4random_uniform(300000))) + + // customizable settings + let datafileName = "demoTestDatafile" // default parameter for initializing Optimizely from saved datafile + var projectId:String? // project name: X Mobile - Sample App + var experimentKey = "background_experiment" + var eventKey = "sample_conversion" + let attributes = ["sample_attribute_key":"sample_attribute_value"] + let eventDispatcherDispatchInterval = 1000 + let datafileManagerDownloadInterval = 20000 + let sdkKey = "AqLkkcss3wRGUbftnKNgh2" + + + func applicationDidFinishLaunching(_ application: UIApplication) { + + } + + func applicationWillResignActive(_ application: UIApplication) { + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. + } + + func applicationDidEnterBackground(_ application: UIApplication) { + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. + } + + func applicationWillEnterForeground(_ application: UIApplication) { + // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. + } + + func applicationDidBecomeActive(_ application: UIApplication) { + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. + } + + func applicationWillTerminate(_ application: UIApplication) { + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. + } + + //// + func application(_ application: UIApplication, performFetchWithCompletionHandler completionHandler: (UIBackgroundFetchResult) -> Void) { + NotificationCenter.default.post(name: NSNotification.Name("OPTLYbackgroundFetchDone"), object: nil) + completionHandler(.newData) + } +} + diff --git a/OptimizelyDemoApp/OptimizelyDemoApp-Bridging-Header.h b/DemoSwiftApp/DemoSwiftApp-Bridging-Header.h similarity index 89% rename from OptimizelyDemoApp/OptimizelyDemoApp-Bridging-Header.h rename to DemoSwiftApp/DemoSwiftApp-Bridging-Header.h index b447e194e..059733d22 100644 --- a/OptimizelyDemoApp/OptimizelyDemoApp-Bridging-Header.h +++ b/DemoSwiftApp/DemoSwiftApp-Bridging-Header.h @@ -14,9 +14,9 @@ * limitations under the License. * ***************************************************************************/ -#ifndef OptimizelyDemoApp_Bridging_Header_h -#define OptimizelyDemoApp_Bridging_Header_h +#ifndef DemoSwiftApp_Bridging_Header_h +#define DemoSwiftApp_Bridging_Header_h #import -#endif /* OptimizelyDemoApp_Bridging_Header_h */ +#endif /* DemoSwiftApp_Bridging_Header_h */ diff --git a/OptimizelyDemoApp/OptimizelyDemoApp.xcodeproj/project.pbxproj b/DemoSwiftApp/DemoSwiftApp.xcodeproj/project.pbxproj similarity index 51% rename from OptimizelyDemoApp/OptimizelyDemoApp.xcodeproj/project.pbxproj rename to DemoSwiftApp/DemoSwiftApp.xcodeproj/project.pbxproj index 0082eab59..7b7a8fe2e 100644 --- a/OptimizelyDemoApp/OptimizelyDemoApp.xcodeproj/project.pbxproj +++ b/DemoSwiftApp/DemoSwiftApp.xcodeproj/project.pbxproj @@ -7,7 +7,6 @@ objects = { /* Begin PBXBuildFile section */ - 1329CFBFCF0FAFFE74859EEB /* Pods_OptimizelyTVOSDemoApp.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3E39BD0E2072E05E00F73BD0 /* Pods_OptimizelyTVOSDemoApp.framework */; }; 25C6F3B621C95D1700C2EBDD /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = EA299EE21E55313B00931399 /* AppDelegate.swift */; }; 25C6F3B721C95D1800C2EBDD /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = EA299EE21E55313B00931399 /* AppDelegate.swift */; }; 25C6F3B821C95D1A00C2EBDD /* OPTLYFailureViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = EA299EE31E55313B00931399 /* OPTLYFailureViewController.swift */; }; @@ -19,93 +18,127 @@ 25C6F3BE21C95D4100C2EBDD /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EA299EEE1E55316300931399 /* Assets.xcassets */; }; 25C6F3BF21C95D4800C2EBDD /* iOSMain.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = EA299EDD1E55312200931399 /* iOSMain.storyboard */; }; 25C6F3C021C95D4C00C2EBDD /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3E19F86A1F0176A5001FC077 /* Assets.xcassets */; }; - 25C6F3C121C95D5100C2EBDD /* tvOSMain.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = EA299EDA1E55311700931399 /* tvOSMain.storyboard */; }; - 25C6F3C221C95D9E00C2EBDD /* ProximaNova-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = EA70FFC11E552D0B00590BEF /* ProximaNova-Regular.otf */; }; - 25C6F3C421C95DA000C2EBDD /* ProximaNova-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = EA70FFC11E552D0B00590BEF /* ProximaNova-Regular.otf */; }; - 25C6F3C521C95DA200C2EBDD /* ProximaNovaCond-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = EA70FFC21E552D0B00590BEF /* ProximaNovaCond-Regular.otf */; }; - 25C6F3C621C95DA300C2EBDD /* ProximaNovaCond-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = EA70FFC21E552D0B00590BEF /* ProximaNovaCond-Regular.otf */; }; - 25C6F3C721C95DA700C2EBDD /* Roboto-Medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = EA70FFC31E552D0B00590BEF /* Roboto-Medium.ttf */; }; - 25C6F3C821C95DA700C2EBDD /* Roboto-Medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = EA70FFC31E552D0B00590BEF /* Roboto-Medium.ttf */; }; - 25C6F3C921C95DAA00C2EBDD /* SF-UI-Text-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = EA70FFC41E552D0B00590BEF /* SF-UI-Text-Regular.otf */; }; - 25C6F3CA21C95DAB00C2EBDD /* SF-UI-Text-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = EA70FFC41E552D0B00590BEF /* SF-UI-Text-Regular.otf */; }; - 25C6F3CB21C95DAF00C2EBDD /* demoTestDatafile.json in Resources */ = {isa = PBXBuildFile; fileRef = EA4A62BA1E566F3500F1C3CE /* demoTestDatafile.json */; }; - 25C6F3CC21C95DB000C2EBDD /* demoTestDatafile.json in Resources */ = {isa = PBXBuildFile; fileRef = EA4A62BA1E566F3500F1C3CE /* demoTestDatafile.json */; }; - 25C6F3CD21C95DBE00C2EBDD /* demoTestDatafileV3.json in Resources */ = {isa = PBXBuildFile; fileRef = 3EEC2AD220CB399500D096E4 /* demoTestDatafileV3.json */; }; - 25C6F3CE21C95DBE00C2EBDD /* demoTestDatafileV3.json in Resources */ = {isa = PBXBuildFile; fileRef = 3EEC2AD220CB399500D096E4 /* demoTestDatafileV3.json */; }; - 25C6F3CF21C95DC100C2EBDD /* optimizely_8182362857.json in Resources */ = {isa = PBXBuildFile; fileRef = EAF6953D1FA08DD900C73CC2 /* optimizely_8182362857.json */; }; - 90F686AACA1E9FCEA55A08C4 /* Pods_OptimizelyiOSDemoApp.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3E3AD1422061E09E00081305 /* Pods_OptimizelyiOSDemoApp.framework */; }; + 3480ABB656D79B1C566F6E18 /* Pods_DemoSwiftiOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EC1D11D1794467F59480327F /* Pods_DemoSwiftiOS.framework */; }; + 44BDBF4043EC53F85AF3D3DC /* Pods_DemoSwifttvOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CEB087C410B6A1210A021BC5 /* Pods_DemoSwifttvOS.framework */; }; + 6E4DD95F21E679D500B0C2C7 /* OptimizelySwiftSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6E4DD95821E679B900B0C2C7 /* OptimizelySwiftSDK.framework */; }; + 6E4DD96021E679D500B0C2C7 /* OptimizelySwiftSDK.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 6E4DD95821E679B900B0C2C7 /* OptimizelySwiftSDK.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 6E4DD96721E67A3A00B0C2C7 /* OptimizelySwiftSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6E4DD95A21E679B900B0C2C7 /* OptimizelySwiftSDK.framework */; }; + 6E4DD96821E67A3A00B0C2C7 /* OptimizelySwiftSDK.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 6E4DD95A21E679B900B0C2C7 /* OptimizelySwiftSDK.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 6EE7E54C21E50F9D0038EB37 /* Roboto-Medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 6EE7E54521E50F9D0038EB37 /* Roboto-Medium.ttf */; }; + 6EE7E54D21E50F9D0038EB37 /* Roboto-Medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 6EE7E54521E50F9D0038EB37 /* Roboto-Medium.ttf */; }; + 6EE7E54E21E50F9D0038EB37 /* demoTestDatafile.json in Resources */ = {isa = PBXBuildFile; fileRef = 6EE7E54621E50F9D0038EB37 /* demoTestDatafile.json */; }; + 6EE7E54F21E50F9D0038EB37 /* demoTestDatafile.json in Resources */ = {isa = PBXBuildFile; fileRef = 6EE7E54621E50F9D0038EB37 /* demoTestDatafile.json */; }; + 6EE7E55021E50F9D0038EB37 /* demoTestDatafileV3.json in Resources */ = {isa = PBXBuildFile; fileRef = 6EE7E54721E50F9D0038EB37 /* demoTestDatafileV3.json */; }; + 6EE7E55121E50F9D0038EB37 /* demoTestDatafileV3.json in Resources */ = {isa = PBXBuildFile; fileRef = 6EE7E54721E50F9D0038EB37 /* demoTestDatafileV3.json */; }; + 6EE7E55221E50F9D0038EB37 /* SF-UI-Text-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = 6EE7E54821E50F9D0038EB37 /* SF-UI-Text-Regular.otf */; }; + 6EE7E55321E50F9D0038EB37 /* SF-UI-Text-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = 6EE7E54821E50F9D0038EB37 /* SF-UI-Text-Regular.otf */; }; + 6EE7E55421E50F9D0038EB37 /* optimizely_8182362857.json in Resources */ = {isa = PBXBuildFile; fileRef = 6EE7E54921E50F9D0038EB37 /* optimizely_8182362857.json */; }; + 6EE7E55521E50F9D0038EB37 /* optimizely_8182362857.json in Resources */ = {isa = PBXBuildFile; fileRef = 6EE7E54921E50F9D0038EB37 /* optimizely_8182362857.json */; }; + 6EE7E55621E50F9D0038EB37 /* ProximaNova-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = 6EE7E54A21E50F9D0038EB37 /* ProximaNova-Regular.otf */; }; + 6EE7E55721E50F9D0038EB37 /* ProximaNova-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = 6EE7E54A21E50F9D0038EB37 /* ProximaNova-Regular.otf */; }; + 6EE7E55821E50F9D0038EB37 /* ProximaNovaCond-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = 6EE7E54B21E50F9D0038EB37 /* ProximaNovaCond-Regular.otf */; }; + 6EE7E55921E50F9D0038EB37 /* ProximaNovaCond-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = 6EE7E54B21E50F9D0038EB37 /* ProximaNovaCond-Regular.otf */; }; + 6EF2CF1D21E4158A00A5D78D /* tvOSMain.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6EF2CF1B21E4158A00A5D78D /* tvOSMain.storyboard */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ - EA5249301DC72F3500AF6685 /* PBXContainerItemProxy */ = { + 6E4DD95721E679B900B0C2C7 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; - containerPortal = EA52492B1DC72F3500AF6685 /* OptimizelySDKiOS.xcodeproj */; + containerPortal = 6E4DD95021E679B900B0C2C7 /* OptimizelySwiftSDK.xcodeproj */; proxyType = 2; - remoteGlobalIDString = EA3C684D1DC1E6B600C578CA; - remoteInfo = OptimizelySDKiOS; + remoteGlobalIDString = 6EBAEB6C21E3FEF800D13AA9; + remoteInfo = OptimizelySwiftSDKiOS; }; - EA5249321DC72F3500AF6685 /* PBXContainerItemProxy */ = { + 6E4DD95921E679B900B0C2C7 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; - containerPortal = EA52492B1DC72F3500AF6685 /* OptimizelySDKiOS.xcodeproj */; + containerPortal = 6E4DD95021E679B900B0C2C7 /* OptimizelySwiftSDK.xcodeproj */; proxyType = 2; - remoteGlobalIDString = EA3C68571DC1E6B600C578CA; - remoteInfo = OptimizelySDKiOSTests; + remoteGlobalIDString = 6E614DCD21E3F389005982A1; + remoteInfo = OptimizelySwiftSDKtvOS; }; - EA70FFBC1E550EAC00590BEF /* PBXContainerItemProxy */ = { + 6E4DD95B21E679B900B0C2C7 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; - containerPortal = EA70FFB71E550EAC00590BEF /* OptimizelySDKTVOS.xcodeproj */; + containerPortal = 6E4DD95021E679B900B0C2C7 /* OptimizelySwiftSDK.xcodeproj */; proxyType = 2; - remoteGlobalIDString = EA2FA7241DC1FA9F00B1D81B; - remoteInfo = OptimizelySDKTVOS; + remoteGlobalIDString = 6EBAEB7421E3FEF900D13AA9; + remoteInfo = OptimizelySwiftSDKiOSTests; }; - EA70FFBE1E550EAC00590BEF /* PBXContainerItemProxy */ = { + 6E4DD95D21E679B900B0C2C7 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; - containerPortal = EA70FFB71E550EAC00590BEF /* OptimizelySDKTVOS.xcodeproj */; + containerPortal = 6E4DD95021E679B900B0C2C7 /* OptimizelySwiftSDK.xcodeproj */; proxyType = 2; - remoteGlobalIDString = EA2FA72D1DC1FAA000B1D81B; - remoteInfo = OptimizelySDKTVOSTests; + remoteGlobalIDString = 6E614DD521E3F38A005982A1; + remoteInfo = OptimizelySwiftSDKtvOSTests; + }; + 6E4DD96121E679D500B0C2C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 6E4DD95021E679B900B0C2C7 /* OptimizelySwiftSDK.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 6EBAEB6B21E3FEF800D13AA9; + remoteInfo = OptimizelySwiftSDKiOS; + }; + 6E4DD96921E67A3A00B0C2C7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 6E4DD95021E679B900B0C2C7 /* OptimizelySwiftSDK.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 6E614DCC21E3F389005982A1; + remoteInfo = OptimizelySwiftSDKtvOS; }; /* End PBXContainerItemProxy section */ +/* Begin PBXCopyFilesBuildPhase section */ + 6E4DD93321E66FB400B0C2C7 /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 6E4DD96021E679D500B0C2C7 /* OptimizelySwiftSDK.framework in Embed Frameworks */, + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; + 6E4DD96B21E67A3A00B0C2C7 /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 6E4DD96821E67A3A00B0C2C7 /* OptimizelySwiftSDK.framework in Embed Frameworks */, + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + /* Begin PBXFileReference section */ - 0AD2B4CCAE039F03823867E5 /* Pods-OptimizelyiOSDemoApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OptimizelyiOSDemoApp.release.xcconfig"; path = "../Pods/Target Support Files/Pods-OptimizelyiOSDemoApp/Pods-OptimizelyiOSDemoApp.release.xcconfig"; sourceTree = ""; }; - 252D7DED21C8800800134A7A /* OptimizelyiOSDemoApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = OptimizelyiOSDemoApp.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 252D7E1121C8804E00134A7A /* OptimizelyTVOSDemoApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = OptimizelyTVOSDemoApp.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 3321336732A089FCB7E90C94 /* Pods-OptimizelyiOSDemoApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OptimizelyiOSDemoApp.debug.xcconfig"; path = "../Pods/Target Support Files/Pods-OptimizelyiOSDemoApp/Pods-OptimizelyiOSDemoApp.debug.xcconfig"; sourceTree = ""; }; - 3E19F86A1F0176A5001FC077 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = OptimizelyTVOSDemoApp/Assets.xcassets; sourceTree = ""; }; - 3E39BD0E2072E05E00F73BD0 /* Pods_OptimizelyTVOSDemoApp.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = Pods_OptimizelyTVOSDemoApp.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 3E3AD1422061E09E00081305 /* Pods_OptimizelyiOSDemoApp.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = Pods_OptimizelyiOSDemoApp.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 3EB7197B1EC6589600B54F89 /* OptimizelySDKUserProfileService.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = OptimizelySDKUserProfileService.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 3EEC2AD220CB399500D096E4 /* demoTestDatafileV3.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = demoTestDatafileV3.json; sourceTree = ""; }; - 3EF452831ECA639300BA82CB /* OptimizelySDKUserProfileService.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OptimizelySDKUserProfileService.framework; path = "../Debug-appletvos/OptimizelySDKUserProfileService.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; - 920E4FB688AA1A8926800320 /* Pods-OptimizelyTVOSDemoApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OptimizelyTVOSDemoApp.release.xcconfig"; path = "../Pods/Target Support Files/Pods-OptimizelyTVOSDemoApp/Pods-OptimizelyTVOSDemoApp.release.xcconfig"; sourceTree = ""; }; - B8C4B923152B213925B727C4 /* Pods_OptimizelyiOSDemoApp.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_OptimizelyiOSDemoApp.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - EA1E4AA51E5FD1C100BDDABD /* OptimizelyDemoApp-Bridging-Header.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "OptimizelyDemoApp-Bridging-Header.h"; sourceTree = ""; }; - EA1E4B481E65060300BDDABD /* OptimizelySDKEventDispatcher.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = OptimizelySDKEventDispatcher.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - EA1E4B4B1E65060300BDDABD /* OptimizelySDKShared.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = OptimizelySDKShared.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - EA1E4B4E1E65060300BDDABD /* OptimizelySDKCore.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = OptimizelySDKCore.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - EA1E4B541E65060300BDDABD /* OptimizelySDKDatafileManager.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = OptimizelySDKDatafileManager.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - EA299ED81E5530B800931399 /* OptimizelyTVOSDemoApp-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = "OptimizelyTVOSDemoApp-Info.plist"; path = "OptimizelyTVOSDemoApp/OptimizelyTVOSDemoApp-Info.plist"; sourceTree = ""; }; - EA299EDB1E55311700931399 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = OptimizelyTVOSDemoApp/Base.lproj/tvOSMain.storyboard; sourceTree = ""; }; + 252D7DED21C8800800134A7A /* DemoSwiftiOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DemoSwiftiOS.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 252D7E1121C8804E00134A7A /* DemoSwifttvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DemoSwifttvOS.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 3E19F86A1F0176A5001FC077 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 6E4DD95021E679B900B0C2C7 /* OptimizelySwiftSDK.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = OptimizelySwiftSDK.xcodeproj; path = ../OptimizelySDK/OptimizelySwiftSDK.xcodeproj; sourceTree = ""; }; + 6EE7E54521E50F9D0038EB37 /* Roboto-Medium.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Roboto-Medium.ttf"; sourceTree = ""; }; + 6EE7E54621E50F9D0038EB37 /* demoTestDatafile.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = demoTestDatafile.json; sourceTree = ""; }; + 6EE7E54721E50F9D0038EB37 /* demoTestDatafileV3.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = demoTestDatafileV3.json; sourceTree = ""; }; + 6EE7E54821E50F9D0038EB37 /* SF-UI-Text-Regular.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SF-UI-Text-Regular.otf"; sourceTree = ""; }; + 6EE7E54921E50F9D0038EB37 /* optimizely_8182362857.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = optimizely_8182362857.json; sourceTree = ""; }; + 6EE7E54A21E50F9D0038EB37 /* ProximaNova-Regular.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "ProximaNova-Regular.otf"; sourceTree = ""; }; + 6EE7E54B21E50F9D0038EB37 /* ProximaNovaCond-Regular.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "ProximaNovaCond-Regular.otf"; sourceTree = ""; }; + 6EF2CF1C21E4158A00A5D78D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/tvOSMain.storyboard; sourceTree = ""; }; + 9C185BE70FBE51067CFD104E /* Pods-DemoSwiftiOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DemoSwiftiOS.release.xcconfig"; path = "../Pods/Target Support Files/Pods-DemoSwiftiOS/Pods-DemoSwiftiOS.release.xcconfig"; sourceTree = ""; }; + B301A636D5072557B288E62C /* Pods-DemoSwifttvOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DemoSwifttvOS.release.xcconfig"; path = "../Pods/Target Support Files/Pods-DemoSwifttvOS/Pods-DemoSwifttvOS.release.xcconfig"; sourceTree = ""; }; + CEB087C410B6A1210A021BC5 /* Pods_DemoSwifttvOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DemoSwifttvOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + E4A4D2A6EBCC93081556F7A5 /* Pods-DemoSwiftiOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DemoSwiftiOS.debug.xcconfig"; path = "../Pods/Target Support Files/Pods-DemoSwiftiOS/Pods-DemoSwiftiOS.debug.xcconfig"; sourceTree = ""; }; + EA1E4AA51E5FD1C100BDDABD /* DemoSwiftApp-Bridging-Header.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "DemoSwiftApp-Bridging-Header.h"; sourceTree = ""; }; + EA299ED81E5530B800931399 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; EA299EDE1E55312200931399 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/iOSMain.storyboard; sourceTree = ""; }; EA299EE21E55313B00931399 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; EA299EE31E55313B00931399 /* OPTLYFailureViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OPTLYFailureViewController.swift; sourceTree = ""; }; EA299EE41E55313B00931399 /* OPTLYSplashScreenViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OPTLYSplashScreenViewController.swift; sourceTree = ""; }; EA299EE51E55313B00931399 /* OPTLYVariationViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OPTLYVariationViewController.swift; sourceTree = ""; }; EA299EEE1E55316300931399 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - EA299F071E55335300931399 /* Pods_OptimizelySDKiOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = Pods_OptimizelySDKiOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - EA299F0E1E55336D00931399 /* Pods_OptimizelyTVOSDemoApp.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = Pods_OptimizelyTVOSDemoApp.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - EA4A62BA1E566F3500F1C3CE /* demoTestDatafile.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = demoTestDatafile.json; sourceTree = ""; }; - EA5246CC1DC7186800AF6685 /* OptimizelyiOSDemoApp-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "OptimizelyiOSDemoApp-Info.plist"; sourceTree = ""; }; - EA52492B1DC72F3500AF6685 /* OptimizelySDKiOS.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = OptimizelySDKiOS.xcodeproj; path = ../OptimizelySDKiOS/OptimizelySDKiOS.xcodeproj; sourceTree = ""; }; - EA70FFB71E550EAC00590BEF /* OptimizelySDKTVOS.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = OptimizelySDKTVOS.xcodeproj; path = ../OptimizelySDKTVOS/OptimizelySDKTVOS.xcodeproj; sourceTree = ""; }; - EA70FFC11E552D0B00590BEF /* ProximaNova-Regular.otf */ = {isa = PBXFileReference; lastKnownFileType = file; name = "ProximaNova-Regular.otf"; path = "Resources/ProximaNova-Regular.otf"; sourceTree = ""; }; - EA70FFC21E552D0B00590BEF /* ProximaNovaCond-Regular.otf */ = {isa = PBXFileReference; lastKnownFileType = file; name = "ProximaNovaCond-Regular.otf"; path = "Resources/ProximaNovaCond-Regular.otf"; sourceTree = ""; }; - EA70FFC31E552D0B00590BEF /* Roboto-Medium.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; name = "Roboto-Medium.ttf"; path = "Resources/Roboto-Medium.ttf"; sourceTree = ""; }; - EA70FFC41E552D0B00590BEF /* SF-UI-Text-Regular.otf */ = {isa = PBXFileReference; lastKnownFileType = file; name = "SF-UI-Text-Regular.otf"; path = "Resources/SF-UI-Text-Regular.otf"; sourceTree = ""; }; - EAF6953A1FA07BF800C73CC2 /* optimizely_6372300739.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; name = optimizely_6372300739.json; path = ../OptimizelySDKShared/OptimizelySDKSharedTests/TestData/optimizely_6372300739.json; sourceTree = ""; }; - EAF6953D1FA08DD900C73CC2 /* optimizely_8182362857.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; name = optimizely_8182362857.json; path = Resources/optimizely_8182362857.json; sourceTree = ""; }; - FB253CD2AFE817883A1832B5 /* Pods-OptimizelyTVOSDemoApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OptimizelyTVOSDemoApp.debug.xcconfig"; path = "../Pods/Target Support Files/Pods-OptimizelyTVOSDemoApp/Pods-OptimizelyTVOSDemoApp.debug.xcconfig"; sourceTree = ""; }; + EA5246CC1DC7186800AF6685 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + EC1D11D1794467F59480327F /* Pods_DemoSwiftiOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DemoSwiftiOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + FD873EDFB92782C5D1947834 /* Pods-DemoSwifttvOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DemoSwifttvOS.debug.xcconfig"; path = "../Pods/Target Support Files/Pods-DemoSwifttvOS/Pods-DemoSwifttvOS.debug.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -113,7 +146,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 90F686AACA1E9FCEA55A08C4 /* Pods_OptimizelyiOSDemoApp.framework in Frameworks */, + 3480ABB656D79B1C566F6E18 /* Pods_DemoSwiftiOS.framework in Frameworks */, + 6E4DD95F21E679D500B0C2C7 /* OptimizelySwiftSDK.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -121,7 +155,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 1329CFBFCF0FAFFE74859EEB /* Pods_OptimizelyTVOSDemoApp.framework in Frameworks */, + 44BDBF4043EC53F85AF3D3DC /* Pods_DemoSwifttvOS.framework in Frameworks */, + 6E4DD96721E67A3A00B0C2C7 /* OptimizelySwiftSDK.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -131,50 +166,60 @@ 5D9DAC78D3124F03BF2A7CC8 /* Pods */ = { isa = PBXGroup; children = ( - 3321336732A089FCB7E90C94 /* Pods-OptimizelyiOSDemoApp.debug.xcconfig */, - 0AD2B4CCAE039F03823867E5 /* Pods-OptimizelyiOSDemoApp.release.xcconfig */, - FB253CD2AFE817883A1832B5 /* Pods-OptimizelyTVOSDemoApp.debug.xcconfig */, - 920E4FB688AA1A8926800320 /* Pods-OptimizelyTVOSDemoApp.release.xcconfig */, + E4A4D2A6EBCC93081556F7A5 /* Pods-DemoSwiftiOS.debug.xcconfig */, + 9C185BE70FBE51067CFD104E /* Pods-DemoSwiftiOS.release.xcconfig */, + FD873EDFB92782C5D1947834 /* Pods-DemoSwifttvOS.debug.xcconfig */, + B301A636D5072557B288E62C /* Pods-DemoSwifttvOS.release.xcconfig */, ); name = Pods; sourceTree = ""; }; - EA299ED51E5530A400931399 /* OptimizelyTVOSDemoApp */ = { + 6E4DD95121E679B900B0C2C7 /* Products */ = { isa = PBXGroup; children = ( - 3E19F86A1F0176A5001FC077 /* Assets.xcassets */, - EA299ED81E5530B800931399 /* OptimizelyTVOSDemoApp-Info.plist */, - EA299EDA1E55311700931399 /* tvOSMain.storyboard */, + 6E4DD95821E679B900B0C2C7 /* OptimizelySwiftSDK.framework */, + 6E4DD95A21E679B900B0C2C7 /* OptimizelySwiftSDK.framework */, + 6E4DD95C21E679B900B0C2C7 /* OptimizelySwiftSDK-iOSTests.xctest */, + 6E4DD95E21E679B900B0C2C7 /* OptimizelySwiftSDK-tvOSTests.xctest */, ); - name = OptimizelyTVOSDemoApp; + name = Products; + sourceTree = ""; + }; + 6EE7E54421E50F9D0038EB37 /* Resources */ = { + isa = PBXGroup; + children = ( + 6EE7E54521E50F9D0038EB37 /* Roboto-Medium.ttf */, + 6EE7E54621E50F9D0038EB37 /* demoTestDatafile.json */, + 6EE7E54721E50F9D0038EB37 /* demoTestDatafileV3.json */, + 6EE7E54821E50F9D0038EB37 /* SF-UI-Text-Regular.otf */, + 6EE7E54921E50F9D0038EB37 /* optimizely_8182362857.json */, + 6EE7E54A21E50F9D0038EB37 /* ProximaNova-Regular.otf */, + 6EE7E54B21E50F9D0038EB37 /* ProximaNovaCond-Regular.otf */, + ); + path = Resources; sourceTree = ""; }; - EA4F2B651E3695FD00C09876 /* Resources */ = { + EA299ED51E5530A400931399 /* DemoSwifttvOS */ = { isa = PBXGroup; children = ( - EA70FFC11E552D0B00590BEF /* ProximaNova-Regular.otf */, - EA70FFC21E552D0B00590BEF /* ProximaNovaCond-Regular.otf */, - EA70FFC31E552D0B00590BEF /* Roboto-Medium.ttf */, - EA70FFC41E552D0B00590BEF /* SF-UI-Text-Regular.otf */, - EA4A62BA1E566F3500F1C3CE /* demoTestDatafile.json */, - 3EEC2AD220CB399500D096E4 /* demoTestDatafileV3.json */, - EAF6953A1FA07BF800C73CC2 /* optimizely_6372300739.json */, - EAF6953D1FA08DD900C73CC2 /* optimizely_8182362857.json */, - ); - name = Resources; + 3E19F86A1F0176A5001FC077 /* Assets.xcassets */, + EA299ED81E5530B800931399 /* Info.plist */, + 6EF2CF1B21E4158A00A5D78D /* tvOSMain.storyboard */, + ); + path = DemoSwifttvOS; sourceTree = ""; }; EA5246B41DC7186800AF6685 = { isa = PBXGroup; children = ( - EA1E4AA51E5FD1C100BDDABD /* OptimizelyDemoApp-Bridging-Header.h */, + EA1E4AA51E5FD1C100BDDABD /* DemoSwiftApp-Bridging-Header.h */, EA299EE21E55313B00931399 /* AppDelegate.swift */, EA299EE31E55313B00931399 /* OPTLYFailureViewController.swift */, EA299EE41E55313B00931399 /* OPTLYSplashScreenViewController.swift */, EA299EE51E55313B00931399 /* OPTLYVariationViewController.swift */, - EA5246BF1DC7186800AF6685 /* OptimizelyiOSDemoApp */, - EA299ED51E5530A400931399 /* OptimizelyTVOSDemoApp */, - EA4F2B651E3695FD00C09876 /* Resources */, + EA5246BF1DC7186800AF6685 /* DemoSwiftiOS */, + EA299ED51E5530A400931399 /* DemoSwifttvOS */, + 6EE7E54421E50F9D0038EB37 /* Resources */, EA5246BE1DC7186800AF6685 /* Products */, EA5248C31DC72E8300AF6685 /* Frameworks */, 5D9DAC78D3124F03BF2A7CC8 /* Pods */, @@ -184,99 +229,74 @@ EA5246BE1DC7186800AF6685 /* Products */ = { isa = PBXGroup; children = ( - 252D7DED21C8800800134A7A /* OptimizelyiOSDemoApp.app */, - 252D7E1121C8804E00134A7A /* OptimizelyTVOSDemoApp.app */, + 252D7DED21C8800800134A7A /* DemoSwiftiOS.app */, + 252D7E1121C8804E00134A7A /* DemoSwifttvOS.app */, ); name = Products; sourceTree = ""; }; - EA5246BF1DC7186800AF6685 /* OptimizelyiOSDemoApp */ = { + EA5246BF1DC7186800AF6685 /* DemoSwiftiOS */ = { isa = PBXGroup; children = ( EA299EEE1E55316300931399 /* Assets.xcassets */, - EA5246CC1DC7186800AF6685 /* OptimizelyiOSDemoApp-Info.plist */, + EA5246CC1DC7186800AF6685 /* Info.plist */, EA299EDD1E55312200931399 /* iOSMain.storyboard */, ); - path = OptimizelyiOSDemoApp; + path = DemoSwiftiOS; sourceTree = ""; }; EA5248C31DC72E8300AF6685 /* Frameworks */ = { isa = PBXGroup; children = ( - 3E39BD0E2072E05E00F73BD0 /* Pods_OptimizelyTVOSDemoApp.framework */, - 3E3AD1422061E09E00081305 /* Pods_OptimizelyiOSDemoApp.framework */, - EA70FFB71E550EAC00590BEF /* OptimizelySDKTVOS.xcodeproj */, - EA52492B1DC72F3500AF6685 /* OptimizelySDKiOS.xcodeproj */, - 3EB7197B1EC6589600B54F89 /* OptimizelySDKUserProfileService.framework */, - 3EF452831ECA639300BA82CB /* OptimizelySDKUserProfileService.framework */, - EA299F071E55335300931399 /* Pods_OptimizelySDKiOS.framework */, - EA299F0E1E55336D00931399 /* Pods_OptimizelyTVOSDemoApp.framework */, - B8C4B923152B213925B727C4 /* Pods_OptimizelyiOSDemoApp.framework */, - EA1E4B541E65060300BDDABD /* OptimizelySDKDatafileManager.framework */, - EA1E4B4E1E65060300BDDABD /* OptimizelySDKCore.framework */, - EA1E4B4B1E65060300BDDABD /* OptimizelySDKShared.framework */, - EA1E4B481E65060300BDDABD /* OptimizelySDKEventDispatcher.framework */, + 6E4DD95021E679B900B0C2C7 /* OptimizelySwiftSDK.xcodeproj */, + EC1D11D1794467F59480327F /* Pods_DemoSwiftiOS.framework */, + CEB087C410B6A1210A021BC5 /* Pods_DemoSwifttvOS.framework */, ); name = Frameworks; sourceTree = ""; }; - EA52492C1DC72F3500AF6685 /* Products */ = { - isa = PBXGroup; - children = ( - EA5249311DC72F3500AF6685 /* OptimizelySDKiOS.framework */, - EA5249331DC72F3500AF6685 /* OptimizelySDKiOSTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - EA70FFB81E550EAC00590BEF /* Products */ = { - isa = PBXGroup; - children = ( - EA70FFBD1E550EAC00590BEF /* OptimizelySDKTVOS.framework */, - EA70FFBF1E550EAC00590BEF /* OptimizelySDKTVOSTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ - 252D7DEC21C8800800134A7A /* OptimizelyiOSDemoApp */ = { + 252D7DEC21C8800800134A7A /* DemoSwiftiOS */ = { isa = PBXNativeTarget; - buildConfigurationList = 252D7E0721C8800900134A7A /* Build configuration list for PBXNativeTarget "OptimizelyiOSDemoApp" */; + buildConfigurationList = 252D7E0721C8800900134A7A /* Build configuration list for PBXNativeTarget "DemoSwiftiOS" */; buildPhases = ( - DE637B3AEB86242AF530397C /* [CP] Check Pods Manifest.lock */, + 8C29F1E0722378268CBB6EF1 /* [CP] Check Pods Manifest.lock */, 252D7DE921C8800800134A7A /* Sources */, 252D7DEA21C8800800134A7A /* Frameworks */, 252D7DEB21C8800800134A7A /* Resources */, - 02020A92A44A871B8412C236 /* [CP] Embed Pods Frameworks */, + 6E4DD93321E66FB400B0C2C7 /* Embed Frameworks */, + 40E3609361F6006DD6E5757A /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); dependencies = ( + 6E4DD96221E679D500B0C2C7 /* PBXTargetDependency */, ); - name = OptimizelyiOSDemoApp; + name = DemoSwiftiOS; productName = OptimizelyiOSDemoApp; - productReference = 252D7DED21C8800800134A7A /* OptimizelyiOSDemoApp.app */; + productReference = 252D7DED21C8800800134A7A /* DemoSwiftiOS.app */; productType = "com.apple.product-type.application"; }; - 252D7E1021C8804E00134A7A /* OptimizelyTVOSDemoApp */ = { + 252D7E1021C8804E00134A7A /* DemoSwifttvOS */ = { isa = PBXNativeTarget; - buildConfigurationList = 252D7E2821C8805000134A7A /* Build configuration list for PBXNativeTarget "OptimizelyTVOSDemoApp" */; + buildConfigurationList = 252D7E2821C8805000134A7A /* Build configuration list for PBXNativeTarget "DemoSwifttvOS" */; buildPhases = ( - 4D1FA7107BF2560EF0416B2B /* [CP] Check Pods Manifest.lock */, + 3113BA42DAEFB72BCAE11952 /* [CP] Check Pods Manifest.lock */, 252D7E0D21C8804E00134A7A /* Sources */, 252D7E0E21C8804E00134A7A /* Frameworks */, 252D7E0F21C8804E00134A7A /* Resources */, - 86CF9CBD51279A646A57D421 /* [CP] Embed Pods Frameworks */, + 6E4DD96B21E67A3A00B0C2C7 /* Embed Frameworks */, ); buildRules = ( ); dependencies = ( + 6E4DD96A21E67A3A00B0C2C7 /* PBXTargetDependency */, ); - name = OptimizelyTVOSDemoApp; + name = DemoSwifttvOS; productName = OptimizelyTVOSDemoApp; - productReference = 252D7E1121C8804E00134A7A /* OptimizelyTVOSDemoApp.app */; + productReference = 252D7E1121C8804E00134A7A /* DemoSwifttvOS.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ @@ -292,14 +312,24 @@ 252D7DEC21C8800800134A7A = { CreatedOnToolsVersion = 10.1; ProvisioningStyle = Automatic; + SystemCapabilities = { + com.apple.BackgroundModes = { + enabled = 1; + }; + }; }; 252D7E1021C8804E00134A7A = { CreatedOnToolsVersion = 10.1; ProvisioningStyle = Automatic; + SystemCapabilities = { + com.apple.BackgroundModes.appletvos = { + enabled = 1; + }; + }; }; }; }; - buildConfigurationList = EA5246B81DC7186800AF6685 /* Build configuration list for PBXProject "OptimizelyDemoApp" */; + buildConfigurationList = EA5246B81DC7186800AF6685 /* Build configuration list for PBXProject "DemoSwiftApp" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = English; hasScannedForEncodings = 0; @@ -312,49 +342,45 @@ projectDirPath = ""; projectReferences = ( { - ProductGroup = EA52492C1DC72F3500AF6685 /* Products */; - ProjectRef = EA52492B1DC72F3500AF6685 /* OptimizelySDKiOS.xcodeproj */; - }, - { - ProductGroup = EA70FFB81E550EAC00590BEF /* Products */; - ProjectRef = EA70FFB71E550EAC00590BEF /* OptimizelySDKTVOS.xcodeproj */; + ProductGroup = 6E4DD95121E679B900B0C2C7 /* Products */; + ProjectRef = 6E4DD95021E679B900B0C2C7 /* OptimizelySwiftSDK.xcodeproj */; }, ); projectRoot = ""; targets = ( - 252D7DEC21C8800800134A7A /* OptimizelyiOSDemoApp */, - 252D7E1021C8804E00134A7A /* OptimizelyTVOSDemoApp */, + 252D7DEC21C8800800134A7A /* DemoSwiftiOS */, + 252D7E1021C8804E00134A7A /* DemoSwifttvOS */, ); }; /* End PBXProject section */ /* Begin PBXReferenceProxy section */ - EA5249311DC72F3500AF6685 /* OptimizelySDKiOS.framework */ = { + 6E4DD95821E679B900B0C2C7 /* OptimizelySwiftSDK.framework */ = { isa = PBXReferenceProxy; fileType = wrapper.framework; - path = OptimizelySDKiOS.framework; - remoteRef = EA5249301DC72F3500AF6685 /* PBXContainerItemProxy */; + path = OptimizelySwiftSDK.framework; + remoteRef = 6E4DD95721E679B900B0C2C7 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - EA5249331DC72F3500AF6685 /* OptimizelySDKiOSTests.xctest */ = { + 6E4DD95A21E679B900B0C2C7 /* OptimizelySwiftSDK.framework */ = { isa = PBXReferenceProxy; - fileType = wrapper.cfbundle; - path = OptimizelySDKiOSTests.xctest; - remoteRef = EA5249321DC72F3500AF6685 /* PBXContainerItemProxy */; + fileType = wrapper.framework; + path = OptimizelySwiftSDK.framework; + remoteRef = 6E4DD95921E679B900B0C2C7 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - EA70FFBD1E550EAC00590BEF /* OptimizelySDKTVOS.framework */ = { + 6E4DD95C21E679B900B0C2C7 /* OptimizelySwiftSDK-iOSTests.xctest */ = { isa = PBXReferenceProxy; - fileType = wrapper.framework; - path = OptimizelySDKTVOS.framework; - remoteRef = EA70FFBC1E550EAC00590BEF /* PBXContainerItemProxy */; + fileType = wrapper.cfbundle; + path = "OptimizelySwiftSDK-iOSTests.xctest"; + remoteRef = 6E4DD95B21E679B900B0C2C7 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - EA70FFBF1E550EAC00590BEF /* OptimizelySDKTVOSTests.xctest */ = { + 6E4DD95E21E679B900B0C2C7 /* OptimizelySwiftSDK-tvOSTests.xctest */ = { isa = PBXReferenceProxy; fileType = wrapper.cfbundle; - path = OptimizelySDKTVOSTests.xctest; - remoteRef = EA70FFBE1E550EAC00590BEF /* PBXContainerItemProxy */; + path = "OptimizelySwiftSDK-tvOSTests.xctest"; + remoteRef = 6E4DD95D21E679B900B0C2C7 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXReferenceProxy section */ @@ -364,15 +390,15 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - 25C6F3C721C95DA700C2EBDD /* Roboto-Medium.ttf in Resources */, + 6EE7E54C21E50F9D0038EB37 /* Roboto-Medium.ttf in Resources */, 25C6F3BE21C95D4100C2EBDD /* Assets.xcassets in Resources */, - 25C6F3C921C95DAA00C2EBDD /* SF-UI-Text-Regular.otf in Resources */, - 25C6F3CB21C95DAF00C2EBDD /* demoTestDatafile.json in Resources */, - 25C6F3C521C95DA200C2EBDD /* ProximaNovaCond-Regular.otf in Resources */, + 6EE7E55421E50F9D0038EB37 /* optimizely_8182362857.json in Resources */, 25C6F3BF21C95D4800C2EBDD /* iOSMain.storyboard in Resources */, - 25C6F3C421C95DA000C2EBDD /* ProximaNova-Regular.otf in Resources */, - 25C6F3CD21C95DBE00C2EBDD /* demoTestDatafileV3.json in Resources */, - 25C6F3CF21C95DC100C2EBDD /* optimizely_8182362857.json in Resources */, + 6EE7E55021E50F9D0038EB37 /* demoTestDatafileV3.json in Resources */, + 6EE7E55821E50F9D0038EB37 /* ProximaNovaCond-Regular.otf in Resources */, + 6EE7E55621E50F9D0038EB37 /* ProximaNova-Regular.otf in Resources */, + 6EE7E54E21E50F9D0038EB37 /* demoTestDatafile.json in Resources */, + 6EE7E55221E50F9D0038EB37 /* SF-UI-Text-Regular.otf in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -380,61 +406,22 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - 25C6F3C821C95DA700C2EBDD /* Roboto-Medium.ttf in Resources */, + 6EE7E54F21E50F9D0038EB37 /* demoTestDatafile.json in Resources */, + 6EE7E55721E50F9D0038EB37 /* ProximaNova-Regular.otf in Resources */, + 6EE7E55321E50F9D0038EB37 /* SF-UI-Text-Regular.otf in Resources */, + 6EE7E55921E50F9D0038EB37 /* ProximaNovaCond-Regular.otf in Resources */, 25C6F3C021C95D4C00C2EBDD /* Assets.xcassets in Resources */, - 25C6F3CA21C95DAB00C2EBDD /* SF-UI-Text-Regular.otf in Resources */, - 25C6F3CC21C95DB000C2EBDD /* demoTestDatafile.json in Resources */, - 25C6F3C621C95DA300C2EBDD /* ProximaNovaCond-Regular.otf in Resources */, - 25C6F3C121C95D5100C2EBDD /* tvOSMain.storyboard in Resources */, - 25C6F3C221C95D9E00C2EBDD /* ProximaNova-Regular.otf in Resources */, - 25C6F3CE21C95DBE00C2EBDD /* demoTestDatafileV3.json in Resources */, + 6EF2CF1D21E4158A00A5D78D /* tvOSMain.storyboard in Resources */, + 6EE7E55521E50F9D0038EB37 /* optimizely_8182362857.json in Resources */, + 6EE7E55121E50F9D0038EB37 /* demoTestDatafileV3.json in Resources */, + 6EE7E54D21E50F9D0038EB37 /* Roboto-Medium.ttf in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - 02020A92A44A871B8412C236 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${SRCROOT}/../Pods/Target Support Files/Pods-OptimizelyiOSDemoApp/Pods-OptimizelyiOSDemoApp-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/Amplitude-iOS/Amplitude_iOS.framework", - "${BUILT_PRODUCTS_DIR}/GoogleToolboxForMac/GoogleToolboxForMac.framework", - "${PODS_ROOT}/Localytics/Localytics-iOS-5.4.0/Localytics.framework", - "${BUILT_PRODUCTS_DIR}/Mixpanel-swift/Mixpanel.framework", - "${BUILT_PRODUCTS_DIR}/OptimizelySDKCore-iOS/OptimizelySDKCore.framework", - "${BUILT_PRODUCTS_DIR}/OptimizelySDKDatafileManager-iOS/OptimizelySDKDatafileManager.framework", - "${BUILT_PRODUCTS_DIR}/OptimizelySDKEventDispatcher-iOS/OptimizelySDKEventDispatcher.framework", - "${BUILT_PRODUCTS_DIR}/OptimizelySDKShared-iOS/OptimizelySDKShared.framework", - "${BUILT_PRODUCTS_DIR}/OptimizelySDKUserProfileService-iOS/OptimizelySDKUserProfileService.framework", - "${BUILT_PRODUCTS_DIR}/OptimizelySDKiOS/OptimizelySDKiOS.framework", - ); - name = "[CP] Embed Pods Frameworks"; - outputFileListPaths = ( - ); - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Amplitude_iOS.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleToolboxForMac.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Localytics.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Mixpanel.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OptimizelySDKCore.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OptimizelySDKDatafileManager.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OptimizelySDKEventDispatcher.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OptimizelySDKShared.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OptimizelySDKUserProfileService.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OptimizelySDKiOS.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/../Pods/Target Support Files/Pods-OptimizelyiOSDemoApp/Pods-OptimizelyiOSDemoApp-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 4D1FA7107BF2560EF0416B2B /* [CP] Check Pods Manifest.lock */ = { + 3113BA42DAEFB72BCAE11952 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -449,14 +436,14 @@ outputFileListPaths = ( ); outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-OptimizelyTVOSDemoApp-checkManifestLockResult.txt", + "$(DERIVED_FILE_DIR)/Pods-DemoSwifttvOS-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; - 86CF9CBD51279A646A57D421 /* [CP] Embed Pods Frameworks */ = { + 40E3609361F6006DD6E5757A /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -464,31 +451,27 @@ inputFileListPaths = ( ); inputPaths = ( - "${SRCROOT}/../Pods/Target Support Files/Pods-OptimizelyTVOSDemoApp/Pods-OptimizelyTVOSDemoApp-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/OptimizelySDKCore-tvOS/OptimizelySDKCore.framework", - "${BUILT_PRODUCTS_DIR}/OptimizelySDKDatafileManager-tvOS/OptimizelySDKDatafileManager.framework", - "${BUILT_PRODUCTS_DIR}/OptimizelySDKEventDispatcher-tvOS/OptimizelySDKEventDispatcher.framework", - "${BUILT_PRODUCTS_DIR}/OptimizelySDKShared-tvOS/OptimizelySDKShared.framework", - "${BUILT_PRODUCTS_DIR}/OptimizelySDKUserProfileService-tvOS/OptimizelySDKUserProfileService.framework", - "${BUILT_PRODUCTS_DIR}/OptimizelySDKTVOS/OptimizelySDKTVOS.framework", + "${SRCROOT}/../Pods/Target Support Files/Pods-DemoSwiftiOS/Pods-DemoSwiftiOS-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/Amplitude-iOS/Amplitude_iOS.framework", + "${BUILT_PRODUCTS_DIR}/GoogleToolboxForMac/GoogleToolboxForMac.framework", + "${PODS_ROOT}/Localytics/Localytics-iOS-5.4.0/Localytics.framework", + "${BUILT_PRODUCTS_DIR}/Mixpanel-swift/Mixpanel.framework", ); name = "[CP] Embed Pods Frameworks"; outputFileListPaths = ( ); outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OptimizelySDKCore.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OptimizelySDKDatafileManager.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OptimizelySDKEventDispatcher.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OptimizelySDKShared.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OptimizelySDKUserProfileService.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OptimizelySDKTVOS.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Amplitude_iOS.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleToolboxForMac.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Localytics.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Mixpanel.framework", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/../Pods/Target Support Files/Pods-OptimizelyTVOSDemoApp/Pods-OptimizelyTVOSDemoApp-frameworks.sh\"\n"; + shellScript = "\"${SRCROOT}/../Pods/Target Support Files/Pods-DemoSwiftiOS/Pods-DemoSwiftiOS-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; - DE637B3AEB86242AF530397C /* [CP] Check Pods Manifest.lock */ = { + 8C29F1E0722378268CBB6EF1 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -503,7 +486,7 @@ outputFileListPaths = ( ); outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-OptimizelyiOSDemoApp-checkManifestLockResult.txt", + "$(DERIVED_FILE_DIR)/Pods-DemoSwiftiOS-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -537,11 +520,24 @@ }; /* End PBXSourcesBuildPhase section */ +/* Begin PBXTargetDependency section */ + 6E4DD96221E679D500B0C2C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = OptimizelySwiftSDKiOS; + targetProxy = 6E4DD96121E679D500B0C2C7 /* PBXContainerItemProxy */; + }; + 6E4DD96A21E67A3A00B0C2C7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = OptimizelySwiftSDKtvOS; + targetProxy = 6E4DD96921E67A3A00B0C2C7 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + /* Begin PBXVariantGroup section */ - EA299EDA1E55311700931399 /* tvOSMain.storyboard */ = { + 6EF2CF1B21E4158A00A5D78D /* tvOSMain.storyboard */ = { isa = PBXVariantGroup; children = ( - EA299EDB1E55311700931399 /* Base */, + 6EF2CF1C21E4158A00A5D78D /* Base */, ); name = tvOSMain.storyboard; sourceTree = ""; @@ -559,7 +555,7 @@ /* Begin XCBuildConfiguration section */ 252D7E0821C8800900134A7A /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 3321336732A089FCB7E90C94 /* Pods-OptimizelyiOSDemoApp.debug.xcconfig */; + baseConfigurationReference = E4A4D2A6EBCC93081556F7A5 /* Pods-DemoSwiftiOS.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -574,12 +570,12 @@ "DEBUG=1", "$(inherited)", ); - INFOPLIST_FILE = "$(SRCROOT)/OptimizelyiOSDemoApp/OptimizelyiOSDemoApp-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 12.1; + INFOPLIST_FILE = "$(SRCROOT)/DemoSwiftiOS/Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = com.optimizely.OptimizelyiOSDemoApp; + PRODUCT_BUNDLE_IDENTIFIER = com.optimizely.DemoSwiftiOS; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; @@ -588,7 +584,7 @@ }; 252D7E0921C8800900134A7A /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 0AD2B4CCAE039F03823867E5 /* Pods-OptimizelyiOSDemoApp.release.xcconfig */; + baseConfigurationReference = 9C185BE70FBE51067CFD104E /* Pods-DemoSwiftiOS.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -599,11 +595,11 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; GCC_C_LANGUAGE_STANDARD = gnu11; - INFOPLIST_FILE = "$(SRCROOT)/OptimizelyiOSDemoApp/OptimizelyiOSDemoApp-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 12.1; + INFOPLIST_FILE = "$(SRCROOT)/DemoSwiftiOS/Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = com.optimizely.OptimizelyiOSDemoApp; + PRODUCT_BUNDLE_IDENTIFIER = com.optimizely.DemoSwiftiOS; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; @@ -612,7 +608,7 @@ }; 252D7E2921C8805000134A7A /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = FB253CD2AFE817883A1832B5 /* Pods-OptimizelyTVOSDemoApp.debug.xcconfig */; + baseConfigurationReference = FD873EDFB92782C5D1947834 /* Pods-DemoSwifttvOS.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -626,22 +622,22 @@ "DEBUG=1", "$(inherited)", ); - INFOPLIST_FILE = "OptimizelyTVOSDemoApp/OptimizelyTVOSDemoApp-Info.plist"; + INFOPLIST_FILE = "$(SRCROOT)/DemoSwifttvOS/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = com.optimizely.OptimizelyTVOSDemoApp; + PRODUCT_BUNDLE_IDENTIFIER = com.optimizely.DemoSwifttvOS; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = appletvos; SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 12.1; + TVOS_DEPLOYMENT_TARGET = 12.0; }; name = Debug; }; 252D7E2A21C8805000134A7A /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 920E4FB688AA1A8926800320 /* Pods-OptimizelyTVOSDemoApp.release.xcconfig */; + baseConfigurationReference = B301A636D5072557B288E62C /* Pods-DemoSwifttvOS.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; @@ -651,21 +647,22 @@ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CODE_SIGN_STYLE = Automatic; GCC_C_LANGUAGE_STANDARD = gnu11; - INFOPLIST_FILE = "OptimizelyTVOSDemoApp/OptimizelyTVOSDemoApp-Info.plist"; + INFOPLIST_FILE = "$(SRCROOT)/DemoSwifttvOS/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; MTL_FAST_MATH = YES; - PRODUCT_BUNDLE_IDENTIFIER = com.optimizely.OptimizelyTVOSDemoApp; + PRODUCT_BUNDLE_IDENTIFIER = com.optimizely.DemoSwifttvOS; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = appletvos; SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 12.1; + TVOS_DEPLOYMENT_TARGET = 12.0; }; name = Release; }; EA5246E31DC7186800AF6685 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES; CLANG_ANALYZER_NONNULL = YES; @@ -731,6 +728,7 @@ EA5246E41DC7186800AF6685 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES; CLANG_ANALYZER_NONNULL = YES; @@ -786,7 +784,7 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 252D7E0721C8800900134A7A /* Build configuration list for PBXNativeTarget "OptimizelyiOSDemoApp" */ = { + 252D7E0721C8800900134A7A /* Build configuration list for PBXNativeTarget "DemoSwiftiOS" */ = { isa = XCConfigurationList; buildConfigurations = ( 252D7E0821C8800900134A7A /* Debug */, @@ -795,7 +793,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 252D7E2821C8805000134A7A /* Build configuration list for PBXNativeTarget "OptimizelyTVOSDemoApp" */ = { + 252D7E2821C8805000134A7A /* Build configuration list for PBXNativeTarget "DemoSwifttvOS" */ = { isa = XCConfigurationList; buildConfigurations = ( 252D7E2921C8805000134A7A /* Debug */, @@ -804,7 +802,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - EA5246B81DC7186800AF6685 /* Build configuration list for PBXProject "OptimizelyDemoApp" */ = { + EA5246B81DC7186800AF6685 /* Build configuration list for PBXProject "DemoSwiftApp" */ = { isa = XCConfigurationList; buildConfigurations = ( EA5246E31DC7186800AF6685 /* Debug */, diff --git a/OptimizelyDemoApp/OptimizelyDemoApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/DemoSwiftApp/DemoSwiftApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from OptimizelyDemoApp/OptimizelyDemoApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to DemoSwiftApp/DemoSwiftApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/DemoSwiftApp/DemoSwiftApp.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/DemoSwiftApp/DemoSwiftApp.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 000000000..18d981003 --- /dev/null +++ b/DemoSwiftApp/DemoSwiftApp.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/OptimizelyDemoApp/OptimizelyDemoApp.xcodeproj/xcshareddata/xcschemes/OptimizelyiOSDemoApp.xcscheme b/DemoSwiftApp/DemoSwiftApp.xcodeproj/xcshareddata/xcschemes/DemoSwiftiOS.xcscheme similarity index 79% rename from OptimizelyDemoApp/OptimizelyDemoApp.xcodeproj/xcshareddata/xcschemes/OptimizelyiOSDemoApp.xcscheme rename to DemoSwiftApp/DemoSwiftApp.xcodeproj/xcshareddata/xcschemes/DemoSwiftiOS.xcscheme index d5bddb506..613e8ca3c 100644 --- a/OptimizelyDemoApp/OptimizelyDemoApp.xcodeproj/xcshareddata/xcschemes/OptimizelyiOSDemoApp.xcscheme +++ b/DemoSwiftApp/DemoSwiftApp.xcodeproj/xcshareddata/xcschemes/DemoSwiftiOS.xcscheme @@ -15,9 +15,9 @@ + BuildableName = "DemoSwiftiOS.app" + BlueprintName = "DemoSwiftiOS" + ReferencedContainer = "container:DemoSwiftApp.xcodeproj"> @@ -35,7 +35,7 @@ BlueprintIdentifier = "252D7DFF21C8800900134A7A" BuildableName = "OptimizelyiOSDemoAppUITests.xctest" BlueprintName = "OptimizelyiOSDemoAppUITests" - ReferencedContainer = "container:OptimizelyDemoApp.xcodeproj"> + ReferencedContainer = "container:DemoSwiftApp.xcodeproj"> @@ -43,9 +43,9 @@ + BuildableName = "DemoSwiftiOS.app" + BlueprintName = "DemoSwiftiOS" + ReferencedContainer = "container:DemoSwiftApp.xcodeproj"> @@ -66,9 +66,9 @@ + BuildableName = "DemoSwiftiOS.app" + BlueprintName = "DemoSwiftiOS" + ReferencedContainer = "container:DemoSwiftApp.xcodeproj"> @@ -85,9 +85,9 @@ + BuildableName = "DemoSwiftiOS.app" + BlueprintName = "DemoSwiftiOS" + ReferencedContainer = "container:DemoSwiftApp.xcodeproj"> diff --git a/OptimizelyDemoApp/OptimizelyDemoApp.xcodeproj/xcshareddata/xcschemes/OptimizelyTVOSDemoApp.xcscheme b/DemoSwiftApp/DemoSwiftApp.xcodeproj/xcshareddata/xcschemes/DemoSwifttvOS.xcscheme similarity index 79% rename from OptimizelyDemoApp/OptimizelyDemoApp.xcodeproj/xcshareddata/xcschemes/OptimizelyTVOSDemoApp.xcscheme rename to DemoSwiftApp/DemoSwiftApp.xcodeproj/xcshareddata/xcschemes/DemoSwifttvOS.xcscheme index 0f7dc31bb..a22ca3949 100644 --- a/OptimizelyDemoApp/OptimizelyDemoApp.xcodeproj/xcshareddata/xcschemes/OptimizelyTVOSDemoApp.xcscheme +++ b/DemoSwiftApp/DemoSwiftApp.xcodeproj/xcshareddata/xcschemes/DemoSwifttvOS.xcscheme @@ -15,9 +15,9 @@ + BuildableName = "DemoSwifttvOS.app" + BlueprintName = "DemoSwifttvOS" + ReferencedContainer = "container:DemoSwiftApp.xcodeproj"> @@ -35,7 +35,7 @@ BlueprintIdentifier = "252D7E2021C8805000134A7A" BuildableName = "OptimizelyTVOSDemoAppUITests.xctest" BlueprintName = "OptimizelyTVOSDemoAppUITests" - ReferencedContainer = "container:OptimizelyDemoApp.xcodeproj"> + ReferencedContainer = "container:DemoSwiftApp.xcodeproj"> @@ -43,9 +43,9 @@ + BuildableName = "DemoSwifttvOS.app" + BlueprintName = "DemoSwifttvOS" + ReferencedContainer = "container:DemoSwiftApp.xcodeproj"> @@ -66,9 +66,9 @@ + BuildableName = "DemoSwifttvOS.app" + BlueprintName = "DemoSwifttvOS" + ReferencedContainer = "container:DemoSwiftApp.xcodeproj"> @@ -85,9 +85,9 @@ + BuildableName = "DemoSwifttvOS.app" + BlueprintName = "DemoSwifttvOS" + ReferencedContainer = "container:DemoSwiftApp.xcodeproj"> diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Contents.json b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Contents.json rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-1024.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-1024.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-1024.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-1024.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-20.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-20.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-20.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-20.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-20@2x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-20@2x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-20@2x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-20@2x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-20@3x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-20@3x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-20@3x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-20@3x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-40@2x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-40@2x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-40@2x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-40@2x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-40@3x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-40@3x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-40@3x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-40@3x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-60@2x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-60@2x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-60@2x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-60@2x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-60@3x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-60@3x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-60@3x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-60@3x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-72.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-72.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-72.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-72.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-72@2x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-72@2x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-72@2x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-72@2x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-76.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-76.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-76.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-76.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-76@2x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-76@2x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-76@2x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-76@2x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-83.5@2x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-83.5@2x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-83.5@2x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-83.5@2x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-Small-50.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-Small-50.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-Small-50.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-Small-50.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-Small-50@2x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-Small-50@2x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-Small-50@2x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-Small-50@2x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-Small.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-Small.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-Small.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-Small.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-Small@2x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-Small@2x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-Small@2x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-Small@2x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-Small@3x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-Small@3x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-Small@3x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-Small@3x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-iPad-20@2x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-iPad-20@2x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-iPad-20@2x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-iPad-20@2x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-iPad-settings.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-iPad-settings.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-iPad-settings.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-iPad-settings.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-iPad-settings@2x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-iPad-settings@2x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-iPad-settings@2x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-iPad-settings@2x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-iPad-spotlight.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-iPad-spotlight.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-iPad-spotlight.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-iPad-spotlight.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-iPad-spotlight@2x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-iPad-spotlight@2x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon-iPad-spotlight@2x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon-iPad-spotlight@2x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon@2x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon@2x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/AppIcon.appiconset/Icon@2x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/AppIcon.appiconset/Icon@2x.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Contents.json b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Contents.json rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/Contents.json b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/Contents.json rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image1_1024x768.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image1_1024x768.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image1_1024x768.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image1_1024x768.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image1_1536x2048.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image1_1536x2048.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image1_1536x2048.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image1_1536x2048.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image1_2048x1536.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image1_2048x1536.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image1_2048x1536.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image1_2048x1536.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image1_640x1136.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image1_640x1136.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image1_640x1136.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image1_640x1136.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image1_640x960.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image1_640x960.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image1_640x960.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image1_640x960.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image1_768x1024.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image1_768x1024.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image1_768x1024.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image1_768x1024.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image_1024x748.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image_1024x748.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image_1024x748.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image_1024x748.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image_1024x768.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image_1024x768.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image_1024x768.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image_1024x768.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image_1242x2208.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image_1242x2208.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image_1242x2208.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image_1242x2208.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image_1536x2008.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image_1536x2008.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image_1536x2008.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image_1536x2008.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image_1536x2048.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image_1536x2048.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image_1536x2048.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image_1536x2048.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image_2048x1496.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image_2048x1496.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image_2048x1496.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image_2048x1496.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image_2048x1536.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image_2048x1536.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image_2048x1536.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image_2048x1536.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image_2208x1242.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image_2208x1242.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image_2208x1242.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image_2208x1242.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image_320x480.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image_320x480.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image_320x480.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image_320x480.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image_640x1136.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image_640x1136.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image_640x1136.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image_640x1136.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image_640x960.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image_640x960.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image_640x960.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image_640x960.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image_750x1334.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image_750x1334.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image_750x1334.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image_750x1334.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image_768x1004.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image_768x1004.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image_768x1004.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image_768x1004.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image_768x1024.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image_768x1024.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/LaunchImage.launchimage/image_768x1024.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/LaunchImage.launchimage/image_768x1024.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_confirmation.imageset/Contents.json b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_confirmation.imageset/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_confirmation.imageset/Contents.json rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_confirmation.imageset/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_confirmation.imageset/background_confirmation@1x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_confirmation.imageset/background_confirmation@1x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_confirmation.imageset/background_confirmation@1x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_confirmation.imageset/background_confirmation@1x.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_confirmation.imageset/background_confirmation@2x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_confirmation.imageset/background_confirmation@2x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_confirmation.imageset/background_confirmation@2x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_confirmation.imageset/background_confirmation@2x.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_confirmation.imageset/background_confirmation@3x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_confirmation.imageset/background_confirmation@3x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_confirmation.imageset/background_confirmation@3x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_confirmation.imageset/background_confirmation@3x.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_error.imageset/Contents.json b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_error.imageset/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_error.imageset/Contents.json rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_error.imageset/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_error.imageset/background_error@1x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_error.imageset/background_error@1x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_error.imageset/background_error@1x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_error.imageset/background_error@1x.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_error.imageset/background_error@2x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_error.imageset/background_error@2x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_error.imageset/background_error@2x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_error.imageset/background_error@2x.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_error.imageset/background_error@3x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_error.imageset/background_error@3x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_error.imageset/background_error@3x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_error.imageset/background_error@3x.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_variA.imageset/Contents.json b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_variA.imageset/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_variA.imageset/Contents.json rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_variA.imageset/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_variA.imageset/background_variA@1x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_variA.imageset/background_variA@1x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_variA.imageset/background_variA@1x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_variA.imageset/background_variA@1x.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_variA.imageset/background_variA@2x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_variA.imageset/background_variA@2x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_variA.imageset/background_variA@2x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_variA.imageset/background_variA@2x.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_variA.imageset/background_variA@3x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_variA.imageset/background_variA@3x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_variA.imageset/background_variA@3x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_variA.imageset/background_variA@3x.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_variB-marina.imageset/Contents.json b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_variB-marina.imageset/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_variB-marina.imageset/Contents.json rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_variB-marina.imageset/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@1x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@1x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@1x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@1x.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@2x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@2x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@2x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@2x.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@3x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@3x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@3x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@3x.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/logo.imageset/Contents.json b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/logo.imageset/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/logo.imageset/Contents.json rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/logo.imageset/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/logo.imageset/logo@1x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/logo.imageset/logo@1x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/logo.imageset/logo@1x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/logo.imageset/logo@1x.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/logo.imageset/logo@2x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/logo.imageset/logo@2x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/logo.imageset/logo@2x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/logo.imageset/logo@2x.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/logo.imageset/logo@3x.png b/DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/logo.imageset/logo@3x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/logo.imageset/logo@3x.png rename to DemoSwiftApp/DemoSwiftiOS/Assets.xcassets/logo.imageset/logo@3x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Base.lproj/iOSMain.storyboard b/DemoSwiftApp/DemoSwiftiOS/Base.lproj/iOSMain.storyboard similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Base.lproj/iOSMain.storyboard rename to DemoSwiftApp/DemoSwiftiOS/Base.lproj/iOSMain.storyboard diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/OptimizelyiOSDemoApp-Info.plist b/DemoSwiftApp/DemoSwiftiOS/Info.plist similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/OptimizelyiOSDemoApp-Info.plist rename to DemoSwiftApp/DemoSwiftiOS/Info.plist diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Content.imageset/Contents.json b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Content.imageset/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Content.imageset/Contents.json rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Content.imageset/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Content.imageset/icon-large_back.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Content.imageset/icon-large_back.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Content.imageset/icon-large_back.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Content.imageset/icon-large_back.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Contents.json b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Contents.json rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Back.imagestacklayer/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Contents.json b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Contents.json rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Content.imageset/Contents.json b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Content.imageset/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Content.imageset/Contents.json rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Content.imageset/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Content.imageset/icon-large_front.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Content.imageset/icon-large_front.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Content.imageset/icon-large_front.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Content.imageset/icon-large_front.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Contents.json b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Contents.json rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Front.imagestacklayer/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Content.imageset/icon-large_middle.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Content.imageset/icon-large_middle.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Content.imageset/icon-large_middle.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Content.imageset/icon-large_middle.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Contents.json b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Contents.json rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Large.imagestack/Middle.imagestacklayer/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/Contents.json b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/Contents.json rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/icon-small_back.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/icon-small_back.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/icon-small_back.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/icon-small_back.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/icon-small_back@2x.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/icon-small_back@2x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/icon-small_back@2x.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Content.imageset/icon-small_back@2x.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Contents.json b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Contents.json rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Back.imagestacklayer/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Contents.json b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Contents.json rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/Contents.json b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/Contents.json rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/icon-small_front.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/icon-small_front.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/icon-small_front.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/icon-small_front.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/icon-small_front@2x.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/icon-small_front@2x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/icon-small_front@2x.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Content.imageset/icon-small_front@2x.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Contents.json b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Contents.json rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Front.imagestacklayer/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/icon-small_middle.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/icon-small_middle.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/icon-small_middle.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/icon-small_middle.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/icon-small_middle@2x.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/icon-small_middle@2x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/icon-small_middle@2x.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Content.imageset/icon-small_middle@2x.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/Contents.json b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/Contents.json rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - Small.imagestack/Middle.imagestacklayer/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Contents.json b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Contents.json rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/Contents.json b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/Contents.json rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/icon-top_shelf_wide.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/icon-top_shelf_wide.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/icon-top_shelf_wide.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/icon-top_shelf_wide.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/icon-top_shelf_wide@2x.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/icon-top_shelf_wide@2x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/icon-top_shelf_wide@2x.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/icon-top_shelf_wide@2x.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/Contents.json b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/Contents.json rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/icon-top_shelf.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/icon-top_shelf.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/icon-top_shelf.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/icon-top_shelf.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/icon-top_shelf@2x.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/icon-top_shelf@2x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/icon-top_shelf@2x.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/icon-top_shelf@2x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/Contents.json b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/Contents.json rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/LaunchImage-2.launchimage/Contents.json b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/LaunchImage-2.launchimage/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/LaunchImage-2.launchimage/Contents.json rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/LaunchImage-2.launchimage/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/LaunchImage.launchimage/Contents.json b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/LaunchImage.launchimage/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/LaunchImage.launchimage/Contents.json rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/LaunchImage.launchimage/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/LaunchImage.launchimage/LaunchImage.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/LaunchImage.launchimage/LaunchImage.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Assets.xcassets/LaunchImage.launchimage/LaunchImage.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/LaunchImage.launchimage/LaunchImage.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_confirmation.imageset/Contents.json b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_confirmation.imageset/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_confirmation.imageset/Contents.json rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_confirmation.imageset/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_confirmation.imageset/background_confirmation@1x.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_confirmation.imageset/background_confirmation@1x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_confirmation.imageset/background_confirmation@1x.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_confirmation.imageset/background_confirmation@1x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_confirmation.imageset/background_confirmation@2x.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_confirmation.imageset/background_confirmation@2x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_confirmation.imageset/background_confirmation@2x.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_confirmation.imageset/background_confirmation@2x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_confirmation.imageset/background_confirmation@3x.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_confirmation.imageset/background_confirmation@3x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_confirmation.imageset/background_confirmation@3x.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_confirmation.imageset/background_confirmation@3x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_error.imageset/Contents.json b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_error.imageset/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_error.imageset/Contents.json rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_error.imageset/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_error.imageset/background_error@1x.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_error.imageset/background_error@1x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_error.imageset/background_error@1x.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_error.imageset/background_error@1x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_error.imageset/background_error@2x.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_error.imageset/background_error@2x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_error.imageset/background_error@2x.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_error.imageset/background_error@2x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_error.imageset/background_error@3x.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_error.imageset/background_error@3x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_error.imageset/background_error@3x.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_error.imageset/background_error@3x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_variA.imageset/Contents.json b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_variA.imageset/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_variA.imageset/Contents.json rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_variA.imageset/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_variA.imageset/background_variA@1x.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_variA.imageset/background_variA@1x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_variA.imageset/background_variA@1x.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_variA.imageset/background_variA@1x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_variA.imageset/background_variA@2x.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_variA.imageset/background_variA@2x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_variA.imageset/background_variA@2x.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_variA.imageset/background_variA@2x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_variA.imageset/background_variA@3x.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_variA.imageset/background_variA@3x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_variA.imageset/background_variA@3x.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_variA.imageset/background_variA@3x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_variB-marina.imageset/Contents.json b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_variB-marina.imageset/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_variB-marina.imageset/Contents.json rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_variB-marina.imageset/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@1x.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@1x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@1x.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@1x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@2x.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@2x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@2x.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@2x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@3x.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@3x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@3x.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/background_variB-marina.imageset/background_variB-marina@3x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/logo.imageset/Contents.json b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/logo.imageset/Contents.json similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/logo.imageset/Contents.json rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/logo.imageset/Contents.json diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/logo.imageset/logo@1x.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/logo.imageset/logo@1x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/logo.imageset/logo@1x.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/logo.imageset/logo@1x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/logo.imageset/logo@2x.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/logo.imageset/logo@2x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/logo.imageset/logo@2x.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/logo.imageset/logo@2x.png diff --git a/OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/logo.imageset/logo@3x.png b/DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/logo.imageset/logo@3x.png similarity index 100% rename from OptimizelyDemoApp/OptimizelyiOSDemoApp/Assets.xcassets/logo.imageset/logo@3x.png rename to DemoSwiftApp/DemoSwifttvOS/Assets.xcassets/logo.imageset/logo@3x.png diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/Base.lproj/tvOSMain.storyboard b/DemoSwiftApp/DemoSwifttvOS/Base.lproj/tvOSMain.storyboard similarity index 100% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/Base.lproj/tvOSMain.storyboard rename to DemoSwiftApp/DemoSwifttvOS/Base.lproj/tvOSMain.storyboard diff --git a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/OptimizelyTVOSDemoApp-Info.plist b/DemoSwiftApp/DemoSwifttvOS/Info.plist similarity index 92% rename from OptimizelyDemoApp/OptimizelyTVOSDemoApp/OptimizelyTVOSDemoApp-Info.plist rename to DemoSwiftApp/DemoSwifttvOS/Info.plist index d71a1e803..817fa87f7 100644 --- a/OptimizelyDemoApp/OptimizelyTVOSDemoApp/OptimizelyTVOSDemoApp-Info.plist +++ b/DemoSwiftApp/DemoSwifttvOS/Info.plist @@ -20,6 +20,10 @@ 1 LSRequiresIPhoneOS + UIBackgroundModes + + fetch + UIMainStoryboardFile tvOSMain UIRequiredDeviceCapabilities diff --git a/OptimizelyDemoApp/OPTLYFailureViewController.swift b/DemoSwiftApp/OPTLYFailureViewController.swift similarity index 100% rename from OptimizelyDemoApp/OPTLYFailureViewController.swift rename to DemoSwiftApp/OPTLYFailureViewController.swift diff --git a/OptimizelyDemoApp/OPTLYSplashScreenViewController.swift b/DemoSwiftApp/OPTLYSplashScreenViewController.swift similarity index 100% rename from OptimizelyDemoApp/OPTLYSplashScreenViewController.swift rename to DemoSwiftApp/OPTLYSplashScreenViewController.swift diff --git a/OptimizelyDemoApp/OPTLYVariationViewController.swift b/DemoSwiftApp/OPTLYVariationViewController.swift similarity index 93% rename from OptimizelyDemoApp/OPTLYVariationViewController.swift rename to DemoSwiftApp/OPTLYVariationViewController.swift index bb16aa2a8..e8dc68564 100644 --- a/OptimizelyDemoApp/OPTLYVariationViewController.swift +++ b/DemoSwiftApp/OPTLYVariationViewController.swift @@ -15,16 +15,12 @@ ***************************************************************************/ import UIKit -#if os(iOS) - import OptimizelySDKiOS -#elseif os(tvOS) - import OptimizelySDKTVOS -#endif +import OptimizelySwiftSDK class OPTLYVariationViewController: UIViewController { var eventKey :String = "" - var optimizelyClient :OPTLYClient? = nil + // var optimizelyClient :OPTLYClient? = nil var variationKey :String = "" var userId :String = "" @@ -62,7 +58,7 @@ class OPTLYVariationViewController: UIViewController { } @IBAction func attemptTrackAndShowSuccessOrFailure(_ sender: Any) { - self.optimizelyClient?.track(self.eventKey, userId: userId) + // self.optimizelyClient?.track(self.eventKey, userId: userId) self.performSegue(withIdentifier: "OPTLYConversionSuccessSegue", sender: self) } } diff --git a/OptimizelyDemoApp/Resources/ProximaNova-Regular.otf b/DemoSwiftApp/Resources/ProximaNova-Regular.otf similarity index 100% rename from OptimizelyDemoApp/Resources/ProximaNova-Regular.otf rename to DemoSwiftApp/Resources/ProximaNova-Regular.otf diff --git a/OptimizelyDemoApp/Resources/ProximaNovaCond-Regular.otf b/DemoSwiftApp/Resources/ProximaNovaCond-Regular.otf similarity index 100% rename from OptimizelyDemoApp/Resources/ProximaNovaCond-Regular.otf rename to DemoSwiftApp/Resources/ProximaNovaCond-Regular.otf diff --git a/OptimizelyDemoApp/Resources/Roboto-Medium.ttf b/DemoSwiftApp/Resources/Roboto-Medium.ttf similarity index 100% rename from OptimizelyDemoApp/Resources/Roboto-Medium.ttf rename to DemoSwiftApp/Resources/Roboto-Medium.ttf diff --git a/OptimizelyDemoApp/Resources/SF-UI-Text-Regular.otf b/DemoSwiftApp/Resources/SF-UI-Text-Regular.otf similarity index 100% rename from OptimizelyDemoApp/Resources/SF-UI-Text-Regular.otf rename to DemoSwiftApp/Resources/SF-UI-Text-Regular.otf diff --git a/OptimizelyDemoApp/demoTestDatafile.json b/DemoSwiftApp/Resources/demoTestDatafile.json similarity index 100% rename from OptimizelyDemoApp/demoTestDatafile.json rename to DemoSwiftApp/Resources/demoTestDatafile.json diff --git a/OptimizelyDemoApp/demoTestDatafileV3.json b/DemoSwiftApp/Resources/demoTestDatafileV3.json similarity index 100% rename from OptimizelyDemoApp/demoTestDatafileV3.json rename to DemoSwiftApp/Resources/demoTestDatafileV3.json diff --git a/OptimizelyDemoApp/Resources/optimizely_8182362857.json b/DemoSwiftApp/Resources/optimizely_8182362857.json similarity index 100% rename from OptimizelyDemoApp/Resources/optimizely_8182362857.json rename to DemoSwiftApp/Resources/optimizely_8182362857.json diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000..5c304d1a4 --- /dev/null +++ b/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright {yyyy} {name of copyright owner} + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/OptimizelyDemoApp/AppDelegate.swift b/OptimizelyDemoApp/AppDelegate.swift deleted file mode 100644 index c9382e8a0..000000000 --- a/OptimizelyDemoApp/AppDelegate.swift +++ /dev/null @@ -1,220 +0,0 @@ -/**************************************************************************** - * Copyright 2017-2018, Optimizely, Inc. and contributors * - * * - * Licensed under the Apache License, Version 2.0 (the "License"); * - * you may not use this file except in compliance with the License. * - * You may obtain a copy of the License at * - * * - * http://www.apache.org/licenses/LICENSE-2.0 * - * * - * Unless required by applicable law or agreed to in writing, software * - * distributed under the License is distributed on an "AS IS" BASIS, * - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * - * See the License for the specific language governing permissions and * - * limitations under the License. * - ***************************************************************************/ - -import UIKit -#if os(iOS) - import OptimizelySDKiOS - import Amplitude_iOS - import Localytics - import Mixpanel -#elseif os(tvOS) - import OptimizelySDKTVOS -#endif - -@UIApplicationMain -class AppDelegate: UIResponder, UIApplicationDelegate { - - var window: UIWindow? - - var optimizelyClient : OPTLYClient? - - // generate random user ID on each app load - let userId = String(Int(arc4random_uniform(300000))) - - // customizable settings - let datafileName = "demoTestDatafile" // default parameter for initializing Optimizely from saved datafile - var projectId:String? // project name: X Mobile - Sample App - var experimentKey = "background_experiment" - var eventKey = "sample_conversion" - let attributes = ["sample_attribute_key":"sample_attribute_value"] - let eventDispatcherDispatchInterval = 1000 - let datafileManagerDownloadInterval = 20000 - let sdkKey = "AqLkkcss3wRGUbftnKNgh2" - - - func applicationDidFinishLaunching(_ application: UIApplication) { - - // ******************************************************** - // ***************** Integration Samples ****************** - // ******************************************************** - - // most of the third-party integrations only support iOS, so the sample code is only targeted for iOS builds - #if os(iOS) - - // ---- Initialize integration SDKs ---- - Amplitude.instance().initializeApiKey("YOUR_API_KEY_HERE") - Mixpanel.initialize(token:"MIXPANEL_TOKEN") - Localytics.autoIntegrate("YOUR-LOCALYTICS-APP-KEY", launchOptions: nil) - - #endif - // ************************************************** - // *********** Optimizely Initialization ************ - // ************************************************** - - // ---- Create the Event Dispatcher ---- - let eventDispatcher = OPTLYEventDispatcherDefault(builder: OPTLYEventDispatcherBuilder(block: { (builder) in - builder?.eventDispatcherDispatchInterval = self.eventDispatcherDispatchInterval - builder?.logger = OPTLYLoggerDefault.init(logLevel: .debug) - })) - - // ---- Create the Datafile Manager ---- - let datafileManager = OPTLYDatafileManagerDefault(builder: OPTLYDatafileManagerBuilder(block: { (builder) in - // builder!.datafileFetchInterval = TimeInterval(self.datafileManagerDownloadInterval) - builder!.datafileConfig = OPTLYDatafileConfig(projectId: nil, withSDKKey:self.sdkKey)!; - - })) - - let builder = OPTLYManagerBuilder(block: { (builder) in - builder!.projectId = nil; - builder!.sdkKey = self.sdkKey - builder!.datafileManager = datafileManager! - builder!.eventDispatcher = eventDispatcher - }) - - - //// - UIApplication.shared.setMinimumBackgroundFetchInterval(10) - - - // ---- Create the Manager ---- - var optimizelyManager = OPTLYManager(builder: builder) - - optimizelyManager?.datafileConfig = datafileManager?.datafileConfig - - // After creating the client, there are three different ways to intialize the manager: - - // ---- 1. Asynchronous Initialization ----- - // initialize Optimizely Client from a datafile download - optimizelyManager?.initialize(callback: { [weak self] (error, optimizelyClient) in -#if os(iOS) - optimizelyClient?.optimizely?.notificationCenter?.addActivateNotificationListener({ (experiment, userId, attributes, variation, event) in - // ---- Amplitude ---- - let propertyKey : String! = "[Optimizely] " + experiment.experimentKey - let identify : AMPIdentify = AMPIdentify() - identify.set(propertyKey, value:variation.variationKey as NSObject?) - // Track impression event (optional) - let eventIdentifier : String = "[Optimizely] " + experiment.experimentKey + " - " + variation.variationKey - Amplitude.instance().logEvent(eventIdentifier) - // ---- Mixpanel ---- - let mixpanel : MixpanelInstance = Mixpanel.mainInstance() - mixpanel.registerSuperProperties([propertyKey: variation.variationKey]) - mixpanel.people.set(property: propertyKey, to: variation.variationKey) - mixpanel.track(event:eventIdentifier) - }) - - optimizelyClient?.optimizely?.notificationCenter?.addTrackNotificationListener({ (eventKey, userId, attributes, eventTags, event) in - // Tag custom event with attributes - let event : String = eventKey - let localyticsEventIdentifier : String = "[Optimizely] " + event - Localytics.tagEvent(localyticsEventIdentifier) - - }) -#endif - //let variation = optimizelyClient?.activate((self?.experimentKey)!, userId: (self?.userId)!) - let variation = optimizelyClient?.activate((self?.experimentKey)!, userId: (self?.userId)!, attributes: ["browser_type": "safari"]) - - if let experiments = optimizelyClient?.optimizely?.config?.experiments { - for experiment in experiments { - print(experiment.experimentKey) - } - } - self?.setRootViewController(optimizelyClient: optimizelyClient, bucketedVariation:variation) - }) - - // ---- 2. Synchronous Initialization with Datafile ---- - // load the datafile from the app bundle - // let bundle = Bundle.init(for: self.classForCoder) - // let filePath = bundle.path(forResource: datafileName, ofType: "json") - // var jsonDatafile: Data? = nil - // do { - // let fileContents = try String.init(contentsOfFile: filePath!, encoding: String.Encoding.utf8) - // jsonDatafile = fileContents.data(using: String.Encoding.utf8)! - // } - // catch { - // print("invalid JSON Data") - // } - // - // let optimizelyClient : OPTLYClient? = optimizelyManager?.initialize(withDatafile:jsonDatafile!) - // let variation = optimizelyClient?.activate(self.experimentKey, userId:self.userId, attributes: self.attributes) - // self.setRootViewController(optimizelyClient: optimizelyClient, bucketedVariation:variation) - - // --- 3. Synchronous Initialization with Saved Datafile ---- - // let optimizelyClient = optimizelyManager?.initialize() - // let variation = optimizelyClient?.activate(self.experimentKey, userId:self.userId, attributes: self.attributes) - // self.setRootViewController(optimizelyClient: optimizelyClient, bucketedVariation:variation) - } - - func setRootViewController(optimizelyClient: OPTLYClient!, bucketedVariation:OPTLYVariation?) { - DispatchQueue.main.async { - - var storyboard : UIStoryboard - - #if os(tvOS) - storyboard = UIStoryboard(name: "tvOSMain", bundle: nil) - #elseif os(iOS) - storyboard = UIStoryboard(name: "iOSMain", bundle: nil) - #endif - - var rootViewController = storyboard.instantiateViewController(withIdentifier: "OPTLYFailureViewController") - - if (bucketedVariation != nil) { - // load variation page - if let variationViewController = storyboard.instantiateViewController(withIdentifier: "OPTLYVariationViewController") as? OPTLYVariationViewController - { - variationViewController.eventKey = self.eventKey - variationViewController.optimizelyClient = optimizelyClient - variationViewController.userId = self.userId - variationViewController.variationKey = bucketedVariation!.variationKey - rootViewController = variationViewController - } - } - - if let window = self.window { - window.rootViewController = rootViewController - } - } - } - - func applicationWillResignActive(_ application: UIApplication) { - // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. - // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. - optimizelyClient?.optimizely?.notificationCenter?.clearAllNotificationListeners(); - } - - func applicationDidEnterBackground(_ application: UIApplication) { - // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. - // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. - } - - func applicationWillEnterForeground(_ application: UIApplication) { - // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. - } - - func applicationDidBecomeActive(_ application: UIApplication) { - // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. - } - - func applicationWillTerminate(_ application: UIApplication) { - // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. - } - - //// - func application(_ application: UIApplication, performFetchWithCompletionHandler completionHandler: (UIBackgroundFetchResult) -> Void) { - NotificationCenter.default.post(name: NSNotification.Name("OPTLYbackgroundFetchDone"), object: nil) - completionHandler(.newData) - } -} - diff --git a/OptimizelySDK.xcworkspace/contents.xcworkspacedata b/OptimizelySDK.xcworkspace/contents.xcworkspacedata index b9f664fc3..1bc99652a 100644 --- a/OptimizelySDK.xcworkspace/contents.xcworkspacedata +++ b/OptimizelySDK.xcworkspace/contents.xcworkspacedata @@ -2,12 +2,18 @@ + location = "group:DemoSwiftApp/DemoSwiftApp.xcodeproj"> + location = "group:DemoObjcApp/DemoObjcApp.xcodeproj"> + + + + diff --git a/OptimizelySDK.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/OptimizelySDK.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 000000000..0c67376eb --- /dev/null +++ b/OptimizelySDK.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,5 @@ + + + + + diff --git a/OptimizelySDK/OptimizelySDK.xcodeproj/project.pbxproj b/OptimizelySDK/OptimizelySDK.xcodeproj/project.pbxproj deleted file mode 100644 index 41b5d97d2..000000000 --- a/OptimizelySDK/OptimizelySDK.xcodeproj/project.pbxproj +++ /dev/null @@ -1,788 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 50; - objects = { - -/* Begin PBXBuildFile section */ - 0B124BBA21B32996001BE0FA /* Optimizely.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BB921B32996001BE0FA /* Optimizely.swift */; }; - 0B124BBC21B5BC45001BE0FA /* Bucketer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BBB21B5BC45001BE0FA /* Bucketer.swift */; }; - 0B124BBF21B5C024001BE0FA /* MurmurHash3.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BBE21B5C024001BE0FA /* MurmurHash3.swift */; }; - 0B124BC121B5D60B001BE0FA /* DecisionService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BC021B5D60B001BE0FA /* DecisionService.swift */; }; - 0B124BC321B5D88D001BE0FA /* ErrorHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BC221B5D88D001BE0FA /* ErrorHandler.swift */; }; - 0B124BC721B5DD44001BE0FA /* EventForDispatch.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BC621B5DD44001BE0FA /* EventForDispatch.swift */; }; - 0B124BC921B5DE16001BE0FA /* EventDispatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BC821B5DE16001BE0FA /* EventDispatcher.swift */; }; - 0B124BCB21B5DF39001BE0FA /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BCA21B5DF39001BE0FA /* Result.swift */; }; - 0B54908B21C9602900BE04C5 /* DefaultNotificationCenter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B54908A21C9602900BE04C5 /* DefaultNotificationCenter.swift */; }; - 0B54908C21C9602900BE04C5 /* DefaultNotificationCenter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B54908A21C9602900BE04C5 /* DefaultNotificationCenter.swift */; }; - 0B5ADA2621CC62CD0049BC2C /* DataStore.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B5ADA2521CC62CD0049BC2C /* DataStore.swift */; }; - 0B5ADA2821CC64620049BC2C /* DataStoreEvents.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B5ADA2721CC64620049BC2C /* DataStoreEvents.swift */; }; - 0B5ADA2B21CC739E0049BC2C /* EventForDispatch+extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B5ADA2A21CC739E0049BC2C /* EventForDispatch+extension.swift */; }; - 0B5ADA2C21CC94B70049BC2C /* DataStoreEvents.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B5ADA2721CC64620049BC2C /* DataStoreEvents.swift */; }; - 0B5ADA2D21CD5B400049BC2C /* DataStore.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B5ADA2521CC62CD0049BC2C /* DataStore.swift */; }; - 0B5ADA2E21CD5B510049BC2C /* EventForDispatch+extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B5ADA2A21CC739E0049BC2C /* EventForDispatch+extension.swift */; }; - 0B61623B21B60167000D7A28 /* BatchEvent.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61623A21B60167000D7A28 /* BatchEvent.swift */; }; - 0B61623F21B6055F000D7A28 /* DatafileHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61623E21B6055F000D7A28 /* DatafileHandler.swift */; }; - 0B61624121B6EC3F000D7A28 /* UserProfileService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624021B6EC3F000D7A28 /* UserProfileService.swift */; }; - 0B61624321B6EDCC000D7A28 /* NotificationCenter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624221B6EDCC000D7A28 /* NotificationCenter.swift */; }; - 0B61624521B6F1B6000D7A28 /* Logger.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624421B6F1B6000D7A28 /* Logger.swift */; }; - 0B61624821B70D0F000D7A28 /* DefaultBucketer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624721B70D0F000D7A28 /* DefaultBucketer.swift */; }; - 0B61624A21B7292E000D7A28 /* BucketTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624921B7292E000D7A28 /* BucketTests.swift */; }; - 0B61624B21B72995000D7A28 /* DefaultBucketer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624721B70D0F000D7A28 /* DefaultBucketer.swift */; }; - 0B61624C21B72999000D7A28 /* MurmurHash3.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BBE21B5C024001BE0FA /* MurmurHash3.swift */; }; - 0B61624D21B7299D000D7A28 /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BCA21B5DF39001BE0FA /* Result.swift */; }; - 0B61624E21B729A2000D7A28 /* Bucketer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BBB21B5BC45001BE0FA /* Bucketer.swift */; }; - 0B61625021B72DCB000D7A28 /* DefaultDecisionService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624F21B72DCB000D7A28 /* DefaultDecisionService.swift */; }; - 0B61625221B731E8000D7A28 /* Constants.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61625121B731E8000D7A28 /* Constants.swift */; }; - 0B61625421B86EC7000D7A28 /* DecisionServiceTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61625321B86EC6000D7A28 /* DecisionServiceTest.swift */; }; - 0B61625521B86FC2000D7A28 /* DefaultDecisionService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624F21B72DCB000D7A28 /* DefaultDecisionService.swift */; }; - 0B61625621B87052000D7A28 /* DecisionService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BC021B5D60B001BE0FA /* DecisionService.swift */; }; - 0B61625721B87062000D7A28 /* Constants.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61625121B731E8000D7A28 /* Constants.swift */; }; - 0B61625821B8706F000D7A28 /* UserProfileService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624021B6EC3F000D7A28 /* UserProfileService.swift */; }; - 0B61625A21B870C6000D7A28 /* DefaultUserProfileService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61625921B870C6000D7A28 /* DefaultUserProfileService.swift */; }; - 0B61625B21B8727E000D7A28 /* DefaultUserProfileService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61625921B870C6000D7A28 /* DefaultUserProfileService.swift */; }; - 0B61625D21B8B82A000D7A28 /* JSONParse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61625C21B8B82A000D7A28 /* JSONParse.swift */; }; - 0B61625F21B8C3A9000D7A28 /* DefaultLogger.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61625E21B8C3A9000D7A28 /* DefaultLogger.swift */; }; - 0B61630A21BB2193000D7A28 /* DefaultLogger.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61625E21B8C3A9000D7A28 /* DefaultLogger.swift */; }; - 0B61630B21BB21AC000D7A28 /* Logger.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624421B6F1B6000D7A28 /* Logger.swift */; }; - 0B61630D21BB273B000D7A28 /* OptimizelyManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61630C21BB273B000D7A28 /* OptimizelyManager.swift */; }; - 0B61631121BB9AB9000D7A28 /* OptimizelyManagerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61631021BB9AB9000D7A28 /* OptimizelyManagerTests.swift */; }; - 0B61631221BB9BC4000D7A28 /* OptimizelyManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61630C21BB273B000D7A28 /* OptimizelyManager.swift */; }; - 0B61631321BB9D7D000D7A28 /* Optimizely.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BB921B32996001BE0FA /* Optimizely.swift */; }; - 0B61631421BB9D85000D7A28 /* ErrorHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BC221B5D88D001BE0FA /* ErrorHandler.swift */; }; - 0B61631521BB9D89000D7A28 /* EventDispatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BC821B5DE16001BE0FA /* EventDispatcher.swift */; }; - 0B61631621BB9D8C000D7A28 /* DatafileHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61623E21B6055F000D7A28 /* DatafileHandler.swift */; }; - 0B61631721BB9D93000D7A28 /* NotificationCenter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624221B6EDCC000D7A28 /* NotificationCenter.swift */; }; - 0B61631821BB9EC2000D7A28 /* EventForDispatch.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BC621B5DD44001BE0FA /* EventForDispatch.swift */; }; - 0B7CB0CC21AC5FE2007B77E5 /* OptimizelySDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0B7CB0C221AC5FE2007B77E5 /* OptimizelySDK.framework */; }; - 0B7CB0D121AC5FE2007B77E5 /* OptimizelySDKTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0D021AC5FE2007B77E5 /* OptimizelySDKTests.swift */; }; - 0B7CB0D321AC5FE2007B77E5 /* OptimizelySDK.h in Headers */ = {isa = PBXBuildFile; fileRef = 0B7CB0C521AC5FE2007B77E5 /* OptimizelySDK.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 0B7CB0EB21ADF4E6007B77E5 /* TrafficAllocation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0EA21ADF4E6007B77E5 /* TrafficAllocation.swift */; }; - 0B7CB0ED21ADF6A2007B77E5 /* Variable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0EC21ADF6A2007B77E5 /* Variable.swift */; }; - 0B7CB0EF21ADF6C1007B77E5 /* Variation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0EE21ADF6C1007B77E5 /* Variation.swift */; }; - 0B7CB0F321ADF784007B77E5 /* Experiment.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0F221ADF784007B77E5 /* Experiment.swift */; }; - 0B7CB0F521ADFE27007B77E5 /* Rollout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0F421ADFE27007B77E5 /* Rollout.swift */; }; - 0B7CB0F721ADFEBD007B77E5 /* FeatureVariable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0F621ADFEBD007B77E5 /* FeatureVariable.swift */; }; - 0B7CB0F921ADFF0F007B77E5 /* FeatureFlag.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0F821ADFF0F007B77E5 /* FeatureFlag.swift */; }; - 0B7CB0FB21ADFFFB007B77E5 /* Event.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0FA21ADFFFB007B77E5 /* Event.swift */; }; - 0B7CB0FD21AE0058007B77E5 /* ProjectConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0FC21AE0058007B77E5 /* ProjectConfig.swift */; }; - 0B7CB0FF21AE03A0007B77E5 /* Group.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0FE21AE03A0007B77E5 /* Group.swift */; }; - 0B7CB10121AE042E007B77E5 /* Attribute.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB10021AE042E007B77E5 /* Attribute.swift */; }; - 0B7CB10421AE053A007B77E5 /* Audience.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB10321AE053A007B77E5 /* Audience.swift */; }; - 0B7CB10521AE0D18007B77E5 /* ProjectConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0FC21AE0058007B77E5 /* ProjectConfig.swift */; }; - 0B7CB10621AE0EBB007B77E5 /* Audience.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB10321AE053A007B77E5 /* Audience.swift */; }; - 0B7CB10721AE0EBF007B77E5 /* TrafficAllocation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0EA21ADF4E6007B77E5 /* TrafficAllocation.swift */; }; - 0B7CB10821AE0EC3007B77E5 /* Variable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0EC21ADF6A2007B77E5 /* Variable.swift */; }; - 0B7CB10921AE0EC7007B77E5 /* Variation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0EE21ADF6C1007B77E5 /* Variation.swift */; }; - 0B7CB10B21AE0ED2007B77E5 /* Experiment.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0F221ADF784007B77E5 /* Experiment.swift */; }; - 0B7CB10C21AE0ED2007B77E5 /* Rollout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0F421ADFE27007B77E5 /* Rollout.swift */; }; - 0B7CB10D21AE0ED2007B77E5 /* FeatureVariable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0F621ADFEBD007B77E5 /* FeatureVariable.swift */; }; - 0B7CB10E21AE0ED2007B77E5 /* FeatureFlag.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0F821ADFF0F007B77E5 /* FeatureFlag.swift */; }; - 0B7CB10F21AE0ED2007B77E5 /* Event.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0FA21ADFFFB007B77E5 /* Event.swift */; }; - 0B7CB11021AE0ED8007B77E5 /* Group.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0FE21AE03A0007B77E5 /* Group.swift */; }; - 0B7CB11121AE0EDC007B77E5 /* Attribute.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB10021AE042E007B77E5 /* Attribute.swift */; }; - 0B7CB11921AF753D007B77E5 /* UserAttribute.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB11821AF753D007B77E5 /* UserAttribute.swift */; }; - 0B7CB11B21B08A0B007B77E5 /* UserAttribute.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB11821AF753D007B77E5 /* UserAttribute.swift */; }; - 0B7CB11D21B0BBE1007B77E5 /* ConditionHolder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB11C21B0BBE1007B77E5 /* ConditionHolder.swift */; }; - 0B7CB11E21B0CEBD007B77E5 /* ConditionHolder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB11C21B0BBE1007B77E5 /* ConditionHolder.swift */; }; - 0B807B1121C2DD4E0090DDC8 /* BatchEventBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B807B1021C2DD4E0090DDC8 /* BatchEventBuilder.swift */; }; - 0B807B1221C2DDD50090DDC8 /* BatchEvent.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61623A21B60167000D7A28 /* BatchEvent.swift */; }; - 0B807B1421C302C80090DDC8 /* BatchEventBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B807B1021C2DD4E0090DDC8 /* BatchEventBuilder.swift */; }; - 0B807B1621C312390090DDC8 /* DefaultEventDispatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B807B1521C312390090DDC8 /* DefaultEventDispatcher.swift */; }; - 0B807B1721C316380090DDC8 /* DefaultEventDispatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B807B1521C312390090DDC8 /* DefaultEventDispatcher.swift */; }; - 0B807B1C21C44E000090DDC8 /* DefaultDatafileHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B807B1B21C44E000090DDC8 /* DefaultDatafileHandler.swift */; }; - 0B807B1D21C4793A0090DDC8 /* DefaultDatafileHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B807B1B21C44E000090DDC8 /* DefaultDatafileHandler.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 0B7CB0CD21AC5FE2007B77E5 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 0B7CB0B921AC5FE2007B77E5 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 0B7CB0C121AC5FE2007B77E5; - remoteInfo = OptimizelySDK; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 0B124BB921B32996001BE0FA /* Optimizely.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Optimizely.swift; sourceTree = ""; }; - 0B124BBB21B5BC45001BE0FA /* Bucketer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Bucketer.swift; sourceTree = ""; }; - 0B124BBE21B5C024001BE0FA /* MurmurHash3.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MurmurHash3.swift; sourceTree = ""; }; - 0B124BC021B5D60B001BE0FA /* DecisionService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DecisionService.swift; sourceTree = ""; }; - 0B124BC221B5D88D001BE0FA /* ErrorHandler.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ErrorHandler.swift; sourceTree = ""; }; - 0B124BC621B5DD44001BE0FA /* EventForDispatch.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EventForDispatch.swift; sourceTree = ""; }; - 0B124BC821B5DE16001BE0FA /* EventDispatcher.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EventDispatcher.swift; sourceTree = ""; }; - 0B124BCA21B5DF39001BE0FA /* Result.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Result.swift; sourceTree = ""; }; - 0B54908A21C9602900BE04C5 /* DefaultNotificationCenter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DefaultNotificationCenter.swift; sourceTree = ""; }; - 0B5ADA2521CC62CD0049BC2C /* DataStore.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DataStore.swift; sourceTree = ""; }; - 0B5ADA2721CC64620049BC2C /* DataStoreEvents.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DataStoreEvents.swift; sourceTree = ""; }; - 0B5ADA2A21CC739E0049BC2C /* EventForDispatch+extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "EventForDispatch+extension.swift"; sourceTree = ""; }; - 0B61623A21B60167000D7A28 /* BatchEvent.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BatchEvent.swift; sourceTree = ""; }; - 0B61623E21B6055F000D7A28 /* DatafileHandler.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DatafileHandler.swift; sourceTree = ""; }; - 0B61624021B6EC3F000D7A28 /* UserProfileService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UserProfileService.swift; sourceTree = ""; }; - 0B61624221B6EDCC000D7A28 /* NotificationCenter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NotificationCenter.swift; sourceTree = ""; }; - 0B61624421B6F1B6000D7A28 /* Logger.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Logger.swift; sourceTree = ""; }; - 0B61624721B70D0F000D7A28 /* DefaultBucketer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DefaultBucketer.swift; sourceTree = ""; }; - 0B61624921B7292E000D7A28 /* BucketTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BucketTests.swift; sourceTree = ""; }; - 0B61624F21B72DCB000D7A28 /* DefaultDecisionService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DefaultDecisionService.swift; sourceTree = ""; }; - 0B61625121B731E8000D7A28 /* Constants.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Constants.swift; sourceTree = ""; }; - 0B61625321B86EC6000D7A28 /* DecisionServiceTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DecisionServiceTest.swift; sourceTree = ""; }; - 0B61625921B870C6000D7A28 /* DefaultUserProfileService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DefaultUserProfileService.swift; sourceTree = ""; }; - 0B61625C21B8B82A000D7A28 /* JSONParse.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JSONParse.swift; sourceTree = ""; }; - 0B61625E21B8C3A9000D7A28 /* DefaultLogger.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DefaultLogger.swift; sourceTree = ""; }; - 0B61630C21BB273B000D7A28 /* OptimizelyManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OptimizelyManager.swift; sourceTree = ""; }; - 0B61631021BB9AB9000D7A28 /* OptimizelyManagerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OptimizelyManagerTests.swift; sourceTree = ""; }; - 0B7CB0C221AC5FE2007B77E5 /* OptimizelySDK.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = OptimizelySDK.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 0B7CB0C521AC5FE2007B77E5 /* OptimizelySDK.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = OptimizelySDK.h; sourceTree = ""; }; - 0B7CB0C621AC5FE2007B77E5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 0B7CB0CB21AC5FE2007B77E5 /* OptimizelySDKTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = OptimizelySDKTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 0B7CB0D021AC5FE2007B77E5 /* OptimizelySDKTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OptimizelySDKTests.swift; sourceTree = ""; }; - 0B7CB0D221AC5FE2007B77E5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 0B7CB0EA21ADF4E6007B77E5 /* TrafficAllocation.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TrafficAllocation.swift; sourceTree = ""; }; - 0B7CB0EC21ADF6A2007B77E5 /* Variable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Variable.swift; sourceTree = ""; }; - 0B7CB0EE21ADF6C1007B77E5 /* Variation.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Variation.swift; sourceTree = ""; }; - 0B7CB0F221ADF784007B77E5 /* Experiment.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Experiment.swift; sourceTree = ""; }; - 0B7CB0F421ADFE27007B77E5 /* Rollout.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Rollout.swift; sourceTree = ""; }; - 0B7CB0F621ADFEBD007B77E5 /* FeatureVariable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FeatureVariable.swift; sourceTree = ""; }; - 0B7CB0F821ADFF0F007B77E5 /* FeatureFlag.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FeatureFlag.swift; sourceTree = ""; }; - 0B7CB0FA21ADFFFB007B77E5 /* Event.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Event.swift; sourceTree = ""; }; - 0B7CB0FC21AE0058007B77E5 /* ProjectConfig.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ProjectConfig.swift; sourceTree = ""; }; - 0B7CB0FE21AE03A0007B77E5 /* Group.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Group.swift; sourceTree = ""; }; - 0B7CB10021AE042E007B77E5 /* Attribute.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Attribute.swift; sourceTree = ""; }; - 0B7CB10321AE053A007B77E5 /* Audience.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Audience.swift; sourceTree = ""; }; - 0B7CB11821AF753D007B77E5 /* UserAttribute.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UserAttribute.swift; sourceTree = ""; }; - 0B7CB11C21B0BBE1007B77E5 /* ConditionHolder.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConditionHolder.swift; sourceTree = ""; }; - 0B807B1021C2DD4E0090DDC8 /* BatchEventBuilder.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BatchEventBuilder.swift; sourceTree = ""; }; - 0B807B1521C312390090DDC8 /* DefaultEventDispatcher.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DefaultEventDispatcher.swift; sourceTree = ""; }; - 0B807B1B21C44E000090DDC8 /* DefaultDatafileHandler.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DefaultDatafileHandler.swift; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 0B7CB0BF21AC5FE2007B77E5 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 0B7CB0C821AC5FE2007B77E5 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 0B7CB0CC21AC5FE2007B77E5 /* OptimizelySDK.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 0B124BB821B32973001BE0FA /* protocols */ = { - isa = PBXGroup; - children = ( - 0B124BB921B32996001BE0FA /* Optimizely.swift */, - 0B124BBB21B5BC45001BE0FA /* Bucketer.swift */, - 0B124BC021B5D60B001BE0FA /* DecisionService.swift */, - 0B124BC221B5D88D001BE0FA /* ErrorHandler.swift */, - 0B124BC821B5DE16001BE0FA /* EventDispatcher.swift */, - 0B61623E21B6055F000D7A28 /* DatafileHandler.swift */, - 0B61624021B6EC3F000D7A28 /* UserProfileService.swift */, - 0B61624221B6EDCC000D7A28 /* NotificationCenter.swift */, - 0B61624421B6F1B6000D7A28 /* Logger.swift */, - 0B61625C21B8B82A000D7A28 /* JSONParse.swift */, - 0B5ADA2521CC62CD0049BC2C /* DataStore.swift */, - ); - path = protocols; - sourceTree = ""; - }; - 0B124BBD21B5C00A001BE0FA /* utils */ = { - isa = PBXGroup; - children = ( - 0B124BBE21B5C024001BE0FA /* MurmurHash3.swift */, - 0B124BCA21B5DF39001BE0FA /* Result.swift */, - 0B61625121B731E8000D7A28 /* Constants.swift */, - ); - path = utils; - sourceTree = ""; - }; - 0B124BC521B5DCD4001BE0FA /* dispatchEvents */ = { - isa = PBXGroup; - children = ( - 0B124BC621B5DD44001BE0FA /* EventForDispatch.swift */, - 0B61623A21B60167000D7A28 /* BatchEvent.swift */, - ); - path = dispatchEvents; - sourceTree = ""; - }; - 0B5ADA2921CC73730049BC2C /* extensions */ = { - isa = PBXGroup; - children = ( - 0B5ADA2A21CC739E0049BC2C /* EventForDispatch+extension.swift */, - ); - path = extensions; - sourceTree = ""; - }; - 0B61624621B70CE7000D7A28 /* implementation */ = { - isa = PBXGroup; - children = ( - 0B807B1321C2FB770090DDC8 /* events */, - 0B61624721B70D0F000D7A28 /* DefaultBucketer.swift */, - 0B54908A21C9602900BE04C5 /* DefaultNotificationCenter.swift */, - 0B61624F21B72DCB000D7A28 /* DefaultDecisionService.swift */, - 0B61625921B870C6000D7A28 /* DefaultUserProfileService.swift */, - 0B61625E21B8C3A9000D7A28 /* DefaultLogger.swift */, - 0B61630C21BB273B000D7A28 /* OptimizelyManager.swift */, - 0B807B1521C312390090DDC8 /* DefaultEventDispatcher.swift */, - 0B807B1B21C44E000090DDC8 /* DefaultDatafileHandler.swift */, - 0B5ADA2721CC64620049BC2C /* DataStoreEvents.swift */, - ); - path = implementation; - sourceTree = ""; - }; - 0B7CB0B821AC5FE2007B77E5 = { - isa = PBXGroup; - children = ( - 0B5ADA2921CC73730049BC2C /* extensions */, - 0B61624621B70CE7000D7A28 /* implementation */, - 0B124BBD21B5C00A001BE0FA /* utils */, - 0B124BB821B32973001BE0FA /* protocols */, - 0B7CB0E921ADF261007B77E5 /* Data Model */, - 0B7CB0C421AC5FE2007B77E5 /* OptimizelySDK */, - 0B7CB0CF21AC5FE2007B77E5 /* OptimizelySDKTests */, - 0B7CB0C321AC5FE2007B77E5 /* Products */, - ); - sourceTree = ""; - }; - 0B7CB0C321AC5FE2007B77E5 /* Products */ = { - isa = PBXGroup; - children = ( - 0B7CB0C221AC5FE2007B77E5 /* OptimizelySDK.framework */, - 0B7CB0CB21AC5FE2007B77E5 /* OptimizelySDKTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 0B7CB0C421AC5FE2007B77E5 /* OptimizelySDK */ = { - isa = PBXGroup; - children = ( - 0B7CB0C521AC5FE2007B77E5 /* OptimizelySDK.h */, - 0B7CB0C621AC5FE2007B77E5 /* Info.plist */, - ); - path = OptimizelySDK; - sourceTree = ""; - }; - 0B7CB0CF21AC5FE2007B77E5 /* OptimizelySDKTests */ = { - isa = PBXGroup; - children = ( - 0B7CB0D021AC5FE2007B77E5 /* OptimizelySDKTests.swift */, - 0B7CB0D221AC5FE2007B77E5 /* Info.plist */, - 0B61624921B7292E000D7A28 /* BucketTests.swift */, - 0B61625321B86EC6000D7A28 /* DecisionServiceTest.swift */, - 0B61631021BB9AB9000D7A28 /* OptimizelyManagerTests.swift */, - ); - path = OptimizelySDKTests; - sourceTree = ""; - }; - 0B7CB0E921ADF261007B77E5 /* Data Model */ = { - isa = PBXGroup; - children = ( - 0B124BC521B5DCD4001BE0FA /* dispatchEvents */, - 0B7CB10221AE04C1007B77E5 /* audience */, - 0B7CB0EA21ADF4E6007B77E5 /* TrafficAllocation.swift */, - 0B7CB0EC21ADF6A2007B77E5 /* Variable.swift */, - 0B7CB0EE21ADF6C1007B77E5 /* Variation.swift */, - 0B7CB0F221ADF784007B77E5 /* Experiment.swift */, - 0B7CB0F421ADFE27007B77E5 /* Rollout.swift */, - 0B7CB0F621ADFEBD007B77E5 /* FeatureVariable.swift */, - 0B7CB0F821ADFF0F007B77E5 /* FeatureFlag.swift */, - 0B7CB0FA21ADFFFB007B77E5 /* Event.swift */, - 0B7CB0FC21AE0058007B77E5 /* ProjectConfig.swift */, - 0B7CB0FE21AE03A0007B77E5 /* Group.swift */, - 0B7CB10021AE042E007B77E5 /* Attribute.swift */, - ); - path = "Data Model"; - sourceTree = ""; - }; - 0B7CB10221AE04C1007B77E5 /* audience */ = { - isa = PBXGroup; - children = ( - 0B7CB10321AE053A007B77E5 /* Audience.swift */, - 0B7CB11821AF753D007B77E5 /* UserAttribute.swift */, - 0B7CB11C21B0BBE1007B77E5 /* ConditionHolder.swift */, - ); - path = audience; - sourceTree = ""; - }; - 0B807B1321C2FB770090DDC8 /* events */ = { - isa = PBXGroup; - children = ( - 0B807B1021C2DD4E0090DDC8 /* BatchEventBuilder.swift */, - ); - path = events; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - 0B7CB0BD21AC5FE2007B77E5 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 0B7CB0D321AC5FE2007B77E5 /* OptimizelySDK.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - 0B7CB0C121AC5FE2007B77E5 /* OptimizelySDK */ = { - isa = PBXNativeTarget; - buildConfigurationList = 0B7CB0D621AC5FE2007B77E5 /* Build configuration list for PBXNativeTarget "OptimizelySDK" */; - buildPhases = ( - 0B7CB0BD21AC5FE2007B77E5 /* Headers */, - 0B7CB0BE21AC5FE2007B77E5 /* Sources */, - 0B7CB0BF21AC5FE2007B77E5 /* Frameworks */, - 0B7CB0C021AC5FE2007B77E5 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = OptimizelySDK; - productName = OptimizelySDK; - productReference = 0B7CB0C221AC5FE2007B77E5 /* OptimizelySDK.framework */; - productType = "com.apple.product-type.framework"; - }; - 0B7CB0CA21AC5FE2007B77E5 /* OptimizelySDKTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 0B7CB0D921AC5FE2007B77E5 /* Build configuration list for PBXNativeTarget "OptimizelySDKTests" */; - buildPhases = ( - 0B7CB0C721AC5FE2007B77E5 /* Sources */, - 0B7CB0C821AC5FE2007B77E5 /* Frameworks */, - 0B7CB0C921AC5FE2007B77E5 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 0B7CB0CE21AC5FE2007B77E5 /* PBXTargetDependency */, - ); - name = OptimizelySDKTests; - productName = OptimizelySDKTests; - productReference = 0B7CB0CB21AC5FE2007B77E5 /* OptimizelySDKTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 0B7CB0B921AC5FE2007B77E5 /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 1000; - LastUpgradeCheck = 1000; - ORGANIZATIONNAME = Optimizely; - TargetAttributes = { - 0B7CB0C121AC5FE2007B77E5 = { - CreatedOnToolsVersion = 10.0; - LastSwiftMigration = 1000; - }; - 0B7CB0CA21AC5FE2007B77E5 = { - CreatedOnToolsVersion = 10.0; - }; - }; - }; - buildConfigurationList = 0B7CB0BC21AC5FE2007B77E5 /* Build configuration list for PBXProject "OptimizelySDK" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = 0B7CB0B821AC5FE2007B77E5; - productRefGroup = 0B7CB0C321AC5FE2007B77E5 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 0B7CB0C121AC5FE2007B77E5 /* OptimizelySDK */, - 0B7CB0CA21AC5FE2007B77E5 /* OptimizelySDKTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 0B7CB0C021AC5FE2007B77E5 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 0B7CB0C921AC5FE2007B77E5 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 0B7CB0BE21AC5FE2007B77E5 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 0B7CB0FF21AE03A0007B77E5 /* Group.swift in Sources */, - 0B61624121B6EC3F000D7A28 /* UserProfileService.swift in Sources */, - 0B61625F21B8C3A9000D7A28 /* DefaultLogger.swift in Sources */, - 0B61624821B70D0F000D7A28 /* DefaultBucketer.swift in Sources */, - 0B7CB0F321ADF784007B77E5 /* Experiment.swift in Sources */, - 0B5ADA2B21CC739E0049BC2C /* EventForDispatch+extension.swift in Sources */, - 0B124BC321B5D88D001BE0FA /* ErrorHandler.swift in Sources */, - 0B61625D21B8B82A000D7A28 /* JSONParse.swift in Sources */, - 0B61625221B731E8000D7A28 /* Constants.swift in Sources */, - 0B61625021B72DCB000D7A28 /* DefaultDecisionService.swift in Sources */, - 0B61624521B6F1B6000D7A28 /* Logger.swift in Sources */, - 0B7CB0FB21ADFFFB007B77E5 /* Event.swift in Sources */, - 0B124BC921B5DE16001BE0FA /* EventDispatcher.swift in Sources */, - 0B61623B21B60167000D7A28 /* BatchEvent.swift in Sources */, - 0B5ADA2621CC62CD0049BC2C /* DataStore.swift in Sources */, - 0B7CB0FD21AE0058007B77E5 /* ProjectConfig.swift in Sources */, - 0B61623F21B6055F000D7A28 /* DatafileHandler.swift in Sources */, - 0B7CB11D21B0BBE1007B77E5 /* ConditionHolder.swift in Sources */, - 0B54908B21C9602900BE04C5 /* DefaultNotificationCenter.swift in Sources */, - 0B7CB11921AF753D007B77E5 /* UserAttribute.swift in Sources */, - 0B807B1C21C44E000090DDC8 /* DefaultDatafileHandler.swift in Sources */, - 0B807B1621C312390090DDC8 /* DefaultEventDispatcher.swift in Sources */, - 0B124BBF21B5C024001BE0FA /* MurmurHash3.swift in Sources */, - 0B124BCB21B5DF39001BE0FA /* Result.swift in Sources */, - 0B61630D21BB273B000D7A28 /* OptimizelyManager.swift in Sources */, - 0B7CB0F921ADFF0F007B77E5 /* FeatureFlag.swift in Sources */, - 0B61625A21B870C6000D7A28 /* DefaultUserProfileService.swift in Sources */, - 0B7CB10421AE053A007B77E5 /* Audience.swift in Sources */, - 0B7CB10121AE042E007B77E5 /* Attribute.swift in Sources */, - 0B7CB0F721ADFEBD007B77E5 /* FeatureVariable.swift in Sources */, - 0B7CB0EB21ADF4E6007B77E5 /* TrafficAllocation.swift in Sources */, - 0B124BBA21B32996001BE0FA /* Optimizely.swift in Sources */, - 0B124BC721B5DD44001BE0FA /* EventForDispatch.swift in Sources */, - 0B5ADA2821CC64620049BC2C /* DataStoreEvents.swift in Sources */, - 0B7CB0EF21ADF6C1007B77E5 /* Variation.swift in Sources */, - 0B7CB0ED21ADF6A2007B77E5 /* Variable.swift in Sources */, - 0B807B1121C2DD4E0090DDC8 /* BatchEventBuilder.swift in Sources */, - 0B124BC121B5D60B001BE0FA /* DecisionService.swift in Sources */, - 0B61624321B6EDCC000D7A28 /* NotificationCenter.swift in Sources */, - 0B124BBC21B5BC45001BE0FA /* Bucketer.swift in Sources */, - 0B7CB0F521ADFE27007B77E5 /* Rollout.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 0B7CB0C721AC5FE2007B77E5 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 0B7CB0D121AC5FE2007B77E5 /* OptimizelySDKTests.swift in Sources */, - 0B61625821B8706F000D7A28 /* UserProfileService.swift in Sources */, - 0B54908C21C9602900BE04C5 /* DefaultNotificationCenter.swift in Sources */, - 0B61631721BB9D93000D7A28 /* NotificationCenter.swift in Sources */, - 0B61625521B86FC2000D7A28 /* DefaultDecisionService.swift in Sources */, - 0B807B1D21C4793A0090DDC8 /* DefaultDatafileHandler.swift in Sources */, - 0B7CB11E21B0CEBD007B77E5 /* ConditionHolder.swift in Sources */, - 0B61624D21B7299D000D7A28 /* Result.swift in Sources */, - 0B61625621B87052000D7A28 /* DecisionService.swift in Sources */, - 0B7CB11B21B08A0B007B77E5 /* UserAttribute.swift in Sources */, - 0B7CB10E21AE0ED2007B77E5 /* FeatureFlag.swift in Sources */, - 0B61624B21B72995000D7A28 /* DefaultBucketer.swift in Sources */, - 0B5ADA2E21CD5B510049BC2C /* EventForDispatch+extension.swift in Sources */, - 0B7CB10921AE0EC7007B77E5 /* Variation.swift in Sources */, - 0B7CB10C21AE0ED2007B77E5 /* Rollout.swift in Sources */, - 0B61631221BB9BC4000D7A28 /* OptimizelyManager.swift in Sources */, - 0B61630B21BB21AC000D7A28 /* Logger.swift in Sources */, - 0B7CB11121AE0EDC007B77E5 /* Attribute.swift in Sources */, - 0B61631621BB9D8C000D7A28 /* DatafileHandler.swift in Sources */, - 0B7CB10F21AE0ED2007B77E5 /* Event.swift in Sources */, - 0B807B1721C316380090DDC8 /* DefaultEventDispatcher.swift in Sources */, - 0B61624E21B729A2000D7A28 /* Bucketer.swift in Sources */, - 0B807B1221C2DDD50090DDC8 /* BatchEvent.swift in Sources */, - 0B61631121BB9AB9000D7A28 /* OptimizelyManagerTests.swift in Sources */, - 0B61631321BB9D7D000D7A28 /* Optimizely.swift in Sources */, - 0B7CB10621AE0EBB007B77E5 /* Audience.swift in Sources */, - 0B61625421B86EC7000D7A28 /* DecisionServiceTest.swift in Sources */, - 0B61625B21B8727E000D7A28 /* DefaultUserProfileService.swift in Sources */, - 0B61631421BB9D85000D7A28 /* ErrorHandler.swift in Sources */, - 0B5ADA2D21CD5B400049BC2C /* DataStore.swift in Sources */, - 0B7CB11021AE0ED8007B77E5 /* Group.swift in Sources */, - 0B7CB10B21AE0ED2007B77E5 /* Experiment.swift in Sources */, - 0B7CB10D21AE0ED2007B77E5 /* FeatureVariable.swift in Sources */, - 0B61630A21BB2193000D7A28 /* DefaultLogger.swift in Sources */, - 0B5ADA2C21CC94B70049BC2C /* DataStoreEvents.swift in Sources */, - 0B7CB10521AE0D18007B77E5 /* ProjectConfig.swift in Sources */, - 0B61624A21B7292E000D7A28 /* BucketTests.swift in Sources */, - 0B807B1421C302C80090DDC8 /* BatchEventBuilder.swift in Sources */, - 0B61631521BB9D89000D7A28 /* EventDispatcher.swift in Sources */, - 0B7CB10721AE0EBF007B77E5 /* TrafficAllocation.swift in Sources */, - 0B7CB10821AE0EC3007B77E5 /* Variable.swift in Sources */, - 0B61624C21B72999000D7A28 /* MurmurHash3.swift in Sources */, - 0B61631821BB9EC2000D7A28 /* EventForDispatch.swift in Sources */, - 0B61625721B87062000D7A28 /* Constants.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 0B7CB0CE21AC5FE2007B77E5 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 0B7CB0C121AC5FE2007B77E5 /* OptimizelySDK */; - targetProxy = 0B7CB0CD21AC5FE2007B77E5 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - 0B7CB0D421AC5FE2007B77E5 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 0B7CB0D521AC5FE2007B77E5 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - SDKROOT = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 0B7CB0D721AC5FE2007B77E5 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BITCODE_GENERATION_MODE = bitcode; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_IDENTITY = ""; - CODE_SIGN_STYLE = Automatic; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = OptimizelySDK/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - OTHER_CFLAGS = "-fembed-bitcode"; - PRODUCT_BUNDLE_IDENTIFIER = com.optimizely.OptimizelySDK; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 4.2; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 0B7CB0D821AC5FE2007B77E5 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BITCODE_GENERATION_MODE = bitcode; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_IDENTITY = ""; - CODE_SIGN_STYLE = Automatic; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = OptimizelySDK/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - OTHER_CFLAGS = "-fembed-bitcode"; - PRODUCT_BUNDLE_IDENTIFIER = com.optimizely.OptimizelySDK; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SKIP_INSTALL = YES; - SWIFT_VERSION = 4.2; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; - 0B7CB0DA21AC5FE2007B77E5 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - CODE_SIGN_STYLE = Automatic; - INFOPLIST_FILE = OptimizelySDKTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.optimizely.OptimizelySDKTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.2; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 0B7CB0DB21AC5FE2007B77E5 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - CODE_SIGN_STYLE = Automatic; - INFOPLIST_FILE = OptimizelySDKTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.optimizely.OptimizelySDKTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.2; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 0B7CB0BC21AC5FE2007B77E5 /* Build configuration list for PBXProject "OptimizelySDK" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 0B7CB0D421AC5FE2007B77E5 /* Debug */, - 0B7CB0D521AC5FE2007B77E5 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 0B7CB0D621AC5FE2007B77E5 /* Build configuration list for PBXNativeTarget "OptimizelySDK" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 0B7CB0D721AC5FE2007B77E5 /* Debug */, - 0B7CB0D821AC5FE2007B77E5 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 0B7CB0D921AC5FE2007B77E5 /* Build configuration list for PBXNativeTarget "OptimizelySDKTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 0B7CB0DA21AC5FE2007B77E5 /* Debug */, - 0B7CB0DB21AC5FE2007B77E5 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 0B7CB0B921AC5FE2007B77E5 /* Project object */; -} diff --git a/OptimizelySDK/OptimizelySDK/OptimizelySDK.h b/OptimizelySDK/OptimizelySDK/OptimizelySDK.h deleted file mode 100644 index b06b56a0a..000000000 --- a/OptimizelySDK/OptimizelySDK/OptimizelySDK.h +++ /dev/null @@ -1,27 +0,0 @@ -/**************************************************************************** - * Copyright 2018, Optimizely, Inc. and contributors * - * * - * Licensed under the Apache License, Version 2.0 (the "License"); * - * you may not use this file except in compliance with the License. * - * You may obtain a copy of the License at * - * * - * http://www.apache.org/licenses/LICENSE-2.0 * - * * - * Unless required by applicable law or agreed to in writing, software * - * distributed under the License is distributed on an "AS IS" BASIS, * - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * - * See the License for the specific language governing permissions and * - * limitations under the License. * - ***************************************************************************/ - -#import - -//! Project version number for OptimizelySDK. -FOUNDATION_EXPORT double OptimizelySDKVersionNumber; - -//! Project version string for OptimizelySDK. -FOUNDATION_EXPORT const unsigned char OptimizelySDKVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - - diff --git a/OptimizelySDK/OptimizelySwiftSDK.xcodeproj/project.pbxproj b/OptimizelySDK/OptimizelySwiftSDK.xcodeproj/project.pbxproj new file mode 100644 index 000000000..883879eb4 --- /dev/null +++ b/OptimizelySDK/OptimizelySwiftSDK.xcodeproj/project.pbxproj @@ -0,0 +1,1213 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + 6E4DD83121E524E300B0C2C7 /* EventForDispatch+extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B5ADA2A21CC739E0049BC2C /* EventForDispatch+extension.swift */; }; + 6E4DD83221E524E400B0C2C7 /* EventForDispatch+extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B5ADA2A21CC739E0049BC2C /* EventForDispatch+extension.swift */; }; + 6E4DD83321E524E900B0C2C7 /* BatchEventBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B807B1021C2DD4E0090DDC8 /* BatchEventBuilder.swift */; }; + 6E4DD83421E524E900B0C2C7 /* BatchEventBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B807B1021C2DD4E0090DDC8 /* BatchEventBuilder.swift */; }; + 6E4DD83521E524EF00B0C2C7 /* DefaultBucketer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624721B70D0F000D7A28 /* DefaultBucketer.swift */; }; + 6E4DD83621E524EF00B0C2C7 /* DefaultNotificationCenter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B54908A21C9602900BE04C5 /* DefaultNotificationCenter.swift */; }; + 6E4DD83721E524EF00B0C2C7 /* DefaultDecisionService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624F21B72DCB000D7A28 /* DefaultDecisionService.swift */; }; + 6E4DD83821E524EF00B0C2C7 /* DefaultUserProfileService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61625921B870C6000D7A28 /* DefaultUserProfileService.swift */; }; + 6E4DD83921E524EF00B0C2C7 /* DefaultLogger.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61625E21B8C3A9000D7A28 /* DefaultLogger.swift */; }; + 6E4DD83A21E524EF00B0C2C7 /* OptimizelyManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61630C21BB273B000D7A28 /* OptimizelyManager.swift */; }; + 6E4DD83B21E524EF00B0C2C7 /* DefaultEventDispatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B807B1521C312390090DDC8 /* DefaultEventDispatcher.swift */; }; + 6E4DD83C21E524EF00B0C2C7 /* DefaultDatafileHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B807B1B21C44E000090DDC8 /* DefaultDatafileHandler.swift */; }; + 6E4DD83D21E524EF00B0C2C7 /* DataStoreEvents.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B5ADA2721CC64620049BC2C /* DataStoreEvents.swift */; }; + 6E4DD83E21E524F000B0C2C7 /* DefaultBucketer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624721B70D0F000D7A28 /* DefaultBucketer.swift */; }; + 6E4DD83F21E524F000B0C2C7 /* DefaultNotificationCenter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B54908A21C9602900BE04C5 /* DefaultNotificationCenter.swift */; }; + 6E4DD84021E524F000B0C2C7 /* DefaultDecisionService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624F21B72DCB000D7A28 /* DefaultDecisionService.swift */; }; + 6E4DD84121E524F000B0C2C7 /* DefaultUserProfileService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61625921B870C6000D7A28 /* DefaultUserProfileService.swift */; }; + 6E4DD84221E524F000B0C2C7 /* DefaultLogger.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61625E21B8C3A9000D7A28 /* DefaultLogger.swift */; }; + 6E4DD84321E524F000B0C2C7 /* OptimizelyManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61630C21BB273B000D7A28 /* OptimizelyManager.swift */; }; + 6E4DD84421E524F000B0C2C7 /* DefaultEventDispatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B807B1521C312390090DDC8 /* DefaultEventDispatcher.swift */; }; + 6E4DD84521E524F000B0C2C7 /* DefaultDatafileHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B807B1B21C44E000090DDC8 /* DefaultDatafileHandler.swift */; }; + 6E4DD84621E524F000B0C2C7 /* DataStoreEvents.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B5ADA2721CC64620049BC2C /* DataStoreEvents.swift */; }; + 6E4DD84721E524FB00B0C2C7 /* MurmurHash3.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BBE21B5C024001BE0FA /* MurmurHash3.swift */; }; + 6E4DD84821E524FB00B0C2C7 /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BCA21B5DF39001BE0FA /* Result.swift */; }; + 6E4DD84921E524FB00B0C2C7 /* Constants.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61625121B731E8000D7A28 /* Constants.swift */; }; + 6E4DD84A21E524FC00B0C2C7 /* MurmurHash3.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BBE21B5C024001BE0FA /* MurmurHash3.swift */; }; + 6E4DD84B21E524FC00B0C2C7 /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BCA21B5DF39001BE0FA /* Result.swift */; }; + 6E4DD84C21E524FC00B0C2C7 /* Constants.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61625121B731E8000D7A28 /* Constants.swift */; }; + 6E4DD84D21E5250200B0C2C7 /* Optimizely.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BB921B32996001BE0FA /* Optimizely.swift */; }; + 6E4DD84E21E5250200B0C2C7 /* Bucketer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BBB21B5BC45001BE0FA /* Bucketer.swift */; }; + 6E4DD84F21E5250200B0C2C7 /* DecisionService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BC021B5D60B001BE0FA /* DecisionService.swift */; }; + 6E4DD85021E5250200B0C2C7 /* ErrorHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BC221B5D88D001BE0FA /* ErrorHandler.swift */; }; + 6E4DD85121E5250200B0C2C7 /* EventDispatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BC821B5DE16001BE0FA /* EventDispatcher.swift */; }; + 6E4DD85221E5250200B0C2C7 /* DatafileHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61623E21B6055F000D7A28 /* DatafileHandler.swift */; }; + 6E4DD85321E5250200B0C2C7 /* UserProfileService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624021B6EC3F000D7A28 /* UserProfileService.swift */; }; + 6E4DD85421E5250200B0C2C7 /* NotificationCenter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624221B6EDCC000D7A28 /* NotificationCenter.swift */; }; + 6E4DD85521E5250200B0C2C7 /* Logger.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624421B6F1B6000D7A28 /* Logger.swift */; }; + 6E4DD85621E5250200B0C2C7 /* JSONParse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61625C21B8B82A000D7A28 /* JSONParse.swift */; }; + 6E4DD85721E5250200B0C2C7 /* DataStore.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B5ADA2521CC62CD0049BC2C /* DataStore.swift */; }; + 6E4DD85821E5250200B0C2C7 /* Optimizely.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BB921B32996001BE0FA /* Optimizely.swift */; }; + 6E4DD85921E5250200B0C2C7 /* Bucketer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BBB21B5BC45001BE0FA /* Bucketer.swift */; }; + 6E4DD85A21E5250200B0C2C7 /* DecisionService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BC021B5D60B001BE0FA /* DecisionService.swift */; }; + 6E4DD85B21E5250200B0C2C7 /* ErrorHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BC221B5D88D001BE0FA /* ErrorHandler.swift */; }; + 6E4DD85C21E5250200B0C2C7 /* EventDispatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BC821B5DE16001BE0FA /* EventDispatcher.swift */; }; + 6E4DD85D21E5250200B0C2C7 /* DatafileHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61623E21B6055F000D7A28 /* DatafileHandler.swift */; }; + 6E4DD85E21E5250200B0C2C7 /* UserProfileService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624021B6EC3F000D7A28 /* UserProfileService.swift */; }; + 6E4DD85F21E5250200B0C2C7 /* NotificationCenter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624221B6EDCC000D7A28 /* NotificationCenter.swift */; }; + 6E4DD86021E5250200B0C2C7 /* Logger.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624421B6F1B6000D7A28 /* Logger.swift */; }; + 6E4DD86121E5250200B0C2C7 /* JSONParse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61625C21B8B82A000D7A28 /* JSONParse.swift */; }; + 6E4DD86221E5250200B0C2C7 /* DataStore.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B5ADA2521CC62CD0049BC2C /* DataStore.swift */; }; + 6E4DD86321E5250B00B0C2C7 /* EventForDispatch.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BC621B5DD44001BE0FA /* EventForDispatch.swift */; }; + 6E4DD86421E5250B00B0C2C7 /* BatchEvent.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61623A21B60167000D7A28 /* BatchEvent.swift */; }; + 6E4DD86521E5250B00B0C2C7 /* EventForDispatch.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BC621B5DD44001BE0FA /* EventForDispatch.swift */; }; + 6E4DD86621E5250B00B0C2C7 /* BatchEvent.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61623A21B60167000D7A28 /* BatchEvent.swift */; }; + 6E4DD86721E5251200B0C2C7 /* Audience.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB10321AE053A007B77E5 /* Audience.swift */; }; + 6E4DD86821E5251200B0C2C7 /* UserAttribute.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB11821AF753D007B77E5 /* UserAttribute.swift */; }; + 6E4DD86921E5251200B0C2C7 /* ConditionHolder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB11C21B0BBE1007B77E5 /* ConditionHolder.swift */; }; + 6E4DD86A21E5251200B0C2C7 /* Audience.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB10321AE053A007B77E5 /* Audience.swift */; }; + 6E4DD86B21E5251200B0C2C7 /* UserAttribute.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB11821AF753D007B77E5 /* UserAttribute.swift */; }; + 6E4DD86C21E5251200B0C2C7 /* ConditionHolder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB11C21B0BBE1007B77E5 /* ConditionHolder.swift */; }; + 6E4DD86D21E5251700B0C2C7 /* TrafficAllocation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0EA21ADF4E6007B77E5 /* TrafficAllocation.swift */; }; + 6E4DD86E21E5251700B0C2C7 /* Variable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0EC21ADF6A2007B77E5 /* Variable.swift */; }; + 6E4DD86F21E5251700B0C2C7 /* Variation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0EE21ADF6C1007B77E5 /* Variation.swift */; }; + 6E4DD87021E5251700B0C2C7 /* Experiment.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0F221ADF784007B77E5 /* Experiment.swift */; }; + 6E4DD87121E5251700B0C2C7 /* Rollout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0F421ADFE27007B77E5 /* Rollout.swift */; }; + 6E4DD87221E5251700B0C2C7 /* FeatureVariable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0F621ADFEBD007B77E5 /* FeatureVariable.swift */; }; + 6E4DD87321E5251700B0C2C7 /* FeatureFlag.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0F821ADFF0F007B77E5 /* FeatureFlag.swift */; }; + 6E4DD87421E5251700B0C2C7 /* Event.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0FA21ADFFFB007B77E5 /* Event.swift */; }; + 6E4DD87521E5251700B0C2C7 /* ProjectConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0FC21AE0058007B77E5 /* ProjectConfig.swift */; }; + 6E4DD87621E5251700B0C2C7 /* Group.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0FE21AE03A0007B77E5 /* Group.swift */; }; + 6E4DD87721E5251700B0C2C7 /* Attribute.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB10021AE042E007B77E5 /* Attribute.swift */; }; + 6E4DD87821E5251800B0C2C7 /* TrafficAllocation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0EA21ADF4E6007B77E5 /* TrafficAllocation.swift */; }; + 6E4DD87921E5251800B0C2C7 /* Variable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0EC21ADF6A2007B77E5 /* Variable.swift */; }; + 6E4DD87A21E5251800B0C2C7 /* Variation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0EE21ADF6C1007B77E5 /* Variation.swift */; }; + 6E4DD87B21E5251800B0C2C7 /* Experiment.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0F221ADF784007B77E5 /* Experiment.swift */; }; + 6E4DD87C21E5251800B0C2C7 /* Rollout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0F421ADFE27007B77E5 /* Rollout.swift */; }; + 6E4DD87D21E5251800B0C2C7 /* FeatureVariable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0F621ADFEBD007B77E5 /* FeatureVariable.swift */; }; + 6E4DD87E21E5251800B0C2C7 /* FeatureFlag.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0F821ADFF0F007B77E5 /* FeatureFlag.swift */; }; + 6E4DD87F21E5251800B0C2C7 /* Event.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0FA21ADFFFB007B77E5 /* Event.swift */; }; + 6E4DD88021E5251800B0C2C7 /* ProjectConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0FC21AE0058007B77E5 /* ProjectConfig.swift */; }; + 6E4DD88121E5251800B0C2C7 /* Group.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0FE21AE03A0007B77E5 /* Group.swift */; }; + 6E4DD88221E5251800B0C2C7 /* Attribute.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB10021AE042E007B77E5 /* Attribute.swift */; }; + 6E4DD88521E525F000B0C2C7 /* EventForDispatch+extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B5ADA2A21CC739E0049BC2C /* EventForDispatch+extension.swift */; }; + 6E4DD88621E525F100B0C2C7 /* EventForDispatch+extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B5ADA2A21CC739E0049BC2C /* EventForDispatch+extension.swift */; }; + 6E4DD88721E525F500B0C2C7 /* BatchEventBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B807B1021C2DD4E0090DDC8 /* BatchEventBuilder.swift */; }; + 6E4DD88821E525F600B0C2C7 /* BatchEventBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B807B1021C2DD4E0090DDC8 /* BatchEventBuilder.swift */; }; + 6E4DD88921E525FC00B0C2C7 /* DefaultBucketer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624721B70D0F000D7A28 /* DefaultBucketer.swift */; }; + 6E4DD88A21E525FC00B0C2C7 /* DefaultNotificationCenter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B54908A21C9602900BE04C5 /* DefaultNotificationCenter.swift */; }; + 6E4DD88B21E525FC00B0C2C7 /* DefaultDecisionService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624F21B72DCB000D7A28 /* DefaultDecisionService.swift */; }; + 6E4DD88C21E525FC00B0C2C7 /* DefaultUserProfileService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61625921B870C6000D7A28 /* DefaultUserProfileService.swift */; }; + 6E4DD88D21E525FC00B0C2C7 /* DefaultLogger.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61625E21B8C3A9000D7A28 /* DefaultLogger.swift */; }; + 6E4DD88E21E525FC00B0C2C7 /* OptimizelyManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61630C21BB273B000D7A28 /* OptimizelyManager.swift */; }; + 6E4DD88F21E525FC00B0C2C7 /* DefaultEventDispatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B807B1521C312390090DDC8 /* DefaultEventDispatcher.swift */; }; + 6E4DD89021E525FC00B0C2C7 /* DefaultDatafileHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B807B1B21C44E000090DDC8 /* DefaultDatafileHandler.swift */; }; + 6E4DD89121E525FC00B0C2C7 /* DataStoreEvents.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B5ADA2721CC64620049BC2C /* DataStoreEvents.swift */; }; + 6E4DD89221E525FD00B0C2C7 /* DefaultBucketer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624721B70D0F000D7A28 /* DefaultBucketer.swift */; }; + 6E4DD89321E525FD00B0C2C7 /* DefaultNotificationCenter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B54908A21C9602900BE04C5 /* DefaultNotificationCenter.swift */; }; + 6E4DD89421E525FD00B0C2C7 /* DefaultDecisionService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624F21B72DCB000D7A28 /* DefaultDecisionService.swift */; }; + 6E4DD89521E525FD00B0C2C7 /* DefaultUserProfileService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61625921B870C6000D7A28 /* DefaultUserProfileService.swift */; }; + 6E4DD89621E525FD00B0C2C7 /* DefaultLogger.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61625E21B8C3A9000D7A28 /* DefaultLogger.swift */; }; + 6E4DD89721E525FD00B0C2C7 /* OptimizelyManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61630C21BB273B000D7A28 /* OptimizelyManager.swift */; }; + 6E4DD89821E525FD00B0C2C7 /* DefaultEventDispatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B807B1521C312390090DDC8 /* DefaultEventDispatcher.swift */; }; + 6E4DD89921E525FD00B0C2C7 /* DefaultDatafileHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B807B1B21C44E000090DDC8 /* DefaultDatafileHandler.swift */; }; + 6E4DD89A21E525FD00B0C2C7 /* DataStoreEvents.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B5ADA2721CC64620049BC2C /* DataStoreEvents.swift */; }; + 6E4DD89B21E5260100B0C2C7 /* MurmurHash3.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BBE21B5C024001BE0FA /* MurmurHash3.swift */; }; + 6E4DD89C21E5260100B0C2C7 /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BCA21B5DF39001BE0FA /* Result.swift */; }; + 6E4DD89D21E5260100B0C2C7 /* Constants.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61625121B731E8000D7A28 /* Constants.swift */; }; + 6E4DD89E21E5260200B0C2C7 /* MurmurHash3.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BBE21B5C024001BE0FA /* MurmurHash3.swift */; }; + 6E4DD89F21E5260200B0C2C7 /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BCA21B5DF39001BE0FA /* Result.swift */; }; + 6E4DD8A021E5260200B0C2C7 /* Constants.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61625121B731E8000D7A28 /* Constants.swift */; }; + 6E4DD8A121E5260600B0C2C7 /* Optimizely.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BB921B32996001BE0FA /* Optimizely.swift */; }; + 6E4DD8A221E5260600B0C2C7 /* Bucketer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BBB21B5BC45001BE0FA /* Bucketer.swift */; }; + 6E4DD8A321E5260600B0C2C7 /* DecisionService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BC021B5D60B001BE0FA /* DecisionService.swift */; }; + 6E4DD8A421E5260600B0C2C7 /* ErrorHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BC221B5D88D001BE0FA /* ErrorHandler.swift */; }; + 6E4DD8A521E5260600B0C2C7 /* EventDispatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BC821B5DE16001BE0FA /* EventDispatcher.swift */; }; + 6E4DD8A621E5260600B0C2C7 /* DatafileHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61623E21B6055F000D7A28 /* DatafileHandler.swift */; }; + 6E4DD8A721E5260600B0C2C7 /* UserProfileService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624021B6EC3F000D7A28 /* UserProfileService.swift */; }; + 6E4DD8A821E5260600B0C2C7 /* NotificationCenter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624221B6EDCC000D7A28 /* NotificationCenter.swift */; }; + 6E4DD8A921E5260600B0C2C7 /* Logger.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624421B6F1B6000D7A28 /* Logger.swift */; }; + 6E4DD8AA21E5260600B0C2C7 /* JSONParse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61625C21B8B82A000D7A28 /* JSONParse.swift */; }; + 6E4DD8AB21E5260600B0C2C7 /* DataStore.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B5ADA2521CC62CD0049BC2C /* DataStore.swift */; }; + 6E4DD8AC21E5260700B0C2C7 /* Optimizely.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BB921B32996001BE0FA /* Optimizely.swift */; }; + 6E4DD8AD21E5260700B0C2C7 /* Bucketer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BBB21B5BC45001BE0FA /* Bucketer.swift */; }; + 6E4DD8AE21E5260700B0C2C7 /* DecisionService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BC021B5D60B001BE0FA /* DecisionService.swift */; }; + 6E4DD8AF21E5260700B0C2C7 /* ErrorHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BC221B5D88D001BE0FA /* ErrorHandler.swift */; }; + 6E4DD8B021E5260700B0C2C7 /* EventDispatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BC821B5DE16001BE0FA /* EventDispatcher.swift */; }; + 6E4DD8B121E5260700B0C2C7 /* DatafileHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61623E21B6055F000D7A28 /* DatafileHandler.swift */; }; + 6E4DD8B221E5260700B0C2C7 /* UserProfileService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624021B6EC3F000D7A28 /* UserProfileService.swift */; }; + 6E4DD8B321E5260700B0C2C7 /* NotificationCenter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624221B6EDCC000D7A28 /* NotificationCenter.swift */; }; + 6E4DD8B421E5260700B0C2C7 /* Logger.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61624421B6F1B6000D7A28 /* Logger.swift */; }; + 6E4DD8B521E5260700B0C2C7 /* JSONParse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61625C21B8B82A000D7A28 /* JSONParse.swift */; }; + 6E4DD8B621E5260700B0C2C7 /* DataStore.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B5ADA2521CC62CD0049BC2C /* DataStore.swift */; }; + 6E4DD8B721E5260A00B0C2C7 /* EventForDispatch.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BC621B5DD44001BE0FA /* EventForDispatch.swift */; }; + 6E4DD8B821E5260A00B0C2C7 /* BatchEvent.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61623A21B60167000D7A28 /* BatchEvent.swift */; }; + 6E4DD8B921E5260B00B0C2C7 /* EventForDispatch.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B124BC621B5DD44001BE0FA /* EventForDispatch.swift */; }; + 6E4DD8BA21E5260B00B0C2C7 /* BatchEvent.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B61623A21B60167000D7A28 /* BatchEvent.swift */; }; + 6E4DD8BB21E5261100B0C2C7 /* Audience.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB10321AE053A007B77E5 /* Audience.swift */; }; + 6E4DD8BC21E5261100B0C2C7 /* Audience.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB10321AE053A007B77E5 /* Audience.swift */; }; + 6E4DD8BD21E5261500B0C2C7 /* TrafficAllocation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0EA21ADF4E6007B77E5 /* TrafficAllocation.swift */; }; + 6E4DD8BE21E5261500B0C2C7 /* Variable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0EC21ADF6A2007B77E5 /* Variable.swift */; }; + 6E4DD8BF21E5261500B0C2C7 /* Variation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0EE21ADF6C1007B77E5 /* Variation.swift */; }; + 6E4DD8C021E5261500B0C2C7 /* Experiment.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0F221ADF784007B77E5 /* Experiment.swift */; }; + 6E4DD8C121E5261500B0C2C7 /* Rollout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0F421ADFE27007B77E5 /* Rollout.swift */; }; + 6E4DD8C221E5261500B0C2C7 /* FeatureVariable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0F621ADFEBD007B77E5 /* FeatureVariable.swift */; }; + 6E4DD8C321E5261500B0C2C7 /* FeatureFlag.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0F821ADFF0F007B77E5 /* FeatureFlag.swift */; }; + 6E4DD8C421E5261500B0C2C7 /* Event.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0FA21ADFFFB007B77E5 /* Event.swift */; }; + 6E4DD8C521E5261500B0C2C7 /* ProjectConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0FC21AE0058007B77E5 /* ProjectConfig.swift */; }; + 6E4DD8C621E5261500B0C2C7 /* Group.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0FE21AE03A0007B77E5 /* Group.swift */; }; + 6E4DD8C721E5261500B0C2C7 /* Attribute.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB10021AE042E007B77E5 /* Attribute.swift */; }; + 6E4DD8C821E5261600B0C2C7 /* TrafficAllocation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0EA21ADF4E6007B77E5 /* TrafficAllocation.swift */; }; + 6E4DD8C921E5261600B0C2C7 /* Variable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0EC21ADF6A2007B77E5 /* Variable.swift */; }; + 6E4DD8CA21E5261600B0C2C7 /* Variation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0EE21ADF6C1007B77E5 /* Variation.swift */; }; + 6E4DD8CB21E5261600B0C2C7 /* Experiment.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0F221ADF784007B77E5 /* Experiment.swift */; }; + 6E4DD8CC21E5261600B0C2C7 /* Rollout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0F421ADFE27007B77E5 /* Rollout.swift */; }; + 6E4DD8CD21E5261600B0C2C7 /* FeatureVariable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0F621ADFEBD007B77E5 /* FeatureVariable.swift */; }; + 6E4DD8CE21E5261600B0C2C7 /* FeatureFlag.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0F821ADFF0F007B77E5 /* FeatureFlag.swift */; }; + 6E4DD8CF21E5261600B0C2C7 /* Event.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0FA21ADFFFB007B77E5 /* Event.swift */; }; + 6E4DD8D021E5261600B0C2C7 /* ProjectConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0FC21AE0058007B77E5 /* ProjectConfig.swift */; }; + 6E4DD8D121E5261600B0C2C7 /* Group.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB0FE21AE03A0007B77E5 /* Group.swift */; }; + 6E4DD8D221E5261600B0C2C7 /* Attribute.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB10021AE042E007B77E5 /* Attribute.swift */; }; + 6E4DD8D421E5273F00B0C2C7 /* UserAttribute.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB11821AF753D007B77E5 /* UserAttribute.swift */; }; + 6E4DD8D621E5274300B0C2C7 /* UserAttribute.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB11821AF753D007B77E5 /* UserAttribute.swift */; }; + 6E4DD8D721E5274600B0C2C7 /* ConditionHolder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB11C21B0BBE1007B77E5 /* ConditionHolder.swift */; }; + 6E4DD8D821E5274600B0C2C7 /* ConditionHolder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B7CB11C21B0BBE1007B77E5 /* ConditionHolder.swift */; }; + 6E4DD8F121E530A900B0C2C7 /* OPTResult.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6E4DD8EE21E530A900B0C2C7 /* OPTResult.swift */; }; + 6E4DD8F221E530A900B0C2C7 /* OPTResult.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6E4DD8EE21E530A900B0C2C7 /* OPTResult.swift */; }; + 6E4DD8F321E530A900B0C2C7 /* OPTResult.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6E4DD8EE21E530A900B0C2C7 /* OPTResult.swift */; }; + 6E4DD8F421E530A900B0C2C7 /* OPTResult.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6E4DD8EE21E530A900B0C2C7 /* OPTResult.swift */; }; + 6E4DD8F521E530A900B0C2C7 /* OPTError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6E4DD8EF21E530A900B0C2C7 /* OPTError.swift */; }; + 6E4DD8F621E530A900B0C2C7 /* OPTError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6E4DD8EF21E530A900B0C2C7 /* OPTError.swift */; }; + 6E4DD8F721E530A900B0C2C7 /* OPTError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6E4DD8EF21E530A900B0C2C7 /* OPTError.swift */; }; + 6E4DD8F821E530A900B0C2C7 /* OPTError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6E4DD8EF21E530A900B0C2C7 /* OPTError.swift */; }; + 6E4DD8F921E530A900B0C2C7 /* OPTManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6E4DD8F021E530A900B0C2C7 /* OPTManager.swift */; }; + 6E4DD8FA21E530A900B0C2C7 /* OPTManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6E4DD8F021E530A900B0C2C7 /* OPTManager.swift */; }; + 6E4DD8FB21E530A900B0C2C7 /* OPTManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6E4DD8F021E530A900B0C2C7 /* OPTManager.swift */; }; + 6E4DD8FC21E530A900B0C2C7 /* OPTManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6E4DD8F021E530A900B0C2C7 /* OPTManager.swift */; }; + 6E4DD99621E6BAA700B0C2C7 /* OptimizelySwiftSDKiOSTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6E4DD99121E6BAA700B0C2C7 /* OptimizelySwiftSDKiOSTests.swift */; }; + 6E4DD99721E6BAA700B0C2C7 /* DecisionServiceTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6E4DD99221E6BAA700B0C2C7 /* DecisionServiceTest.swift */; }; + 6E4DD99821E6BAA700B0C2C7 /* OptimizelyManagerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6E4DD99321E6BAA700B0C2C7 /* OptimizelyManagerTests.swift */; }; + 6E4DD99921E6BAA700B0C2C7 /* BucketTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6E4DD99421E6BAA700B0C2C7 /* BucketTests.swift */; }; + 6E614DD621E3F38A005982A1 /* OptimizelySwiftSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6E614DCD21E3F389005982A1 /* OptimizelySwiftSDK.framework */; }; + 6E614DDB21E3F38A005982A1 /* OptimizelySwiftSDKtvOSTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6E614DDA21E3F38A005982A1 /* OptimizelySwiftSDKtvOSTests.swift */; }; + 6EBAEB7521E3FEF900D13AA9 /* OptimizelySwiftSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EBAEB6C21E3FEF800D13AA9 /* OptimizelySwiftSDK.framework */; }; + 6EBAEB7C21E3FEF900D13AA9 /* OptimizelySwiftSDKiOS.h in Headers */ = {isa = PBXBuildFile; fileRef = 6EBAEB6E21E3FEF800D13AA9 /* OptimizelySwiftSDKiOS.h */; settings = {ATTRIBUTES = (Public, ); }; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 6E614DD721E3F38A005982A1 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 0B7CB0B921AC5FE2007B77E5 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 6E614DCC21E3F389005982A1; + remoteInfo = OptimizelySwiftSDKtvOS; + }; + 6EBAEB7621E3FEF900D13AA9 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 0B7CB0B921AC5FE2007B77E5 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 6EBAEB6B21E3FEF800D13AA9; + remoteInfo = OptimizelySwiftSDKiOS; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 0B124BB921B32996001BE0FA /* Optimizely.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Optimizely.swift; sourceTree = ""; }; + 0B124BBB21B5BC45001BE0FA /* Bucketer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Bucketer.swift; sourceTree = ""; }; + 0B124BBE21B5C024001BE0FA /* MurmurHash3.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MurmurHash3.swift; sourceTree = ""; }; + 0B124BC021B5D60B001BE0FA /* DecisionService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DecisionService.swift; sourceTree = ""; }; + 0B124BC221B5D88D001BE0FA /* ErrorHandler.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ErrorHandler.swift; sourceTree = ""; }; + 0B124BC621B5DD44001BE0FA /* EventForDispatch.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EventForDispatch.swift; sourceTree = ""; }; + 0B124BC821B5DE16001BE0FA /* EventDispatcher.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EventDispatcher.swift; sourceTree = ""; }; + 0B124BCA21B5DF39001BE0FA /* Result.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Result.swift; sourceTree = ""; }; + 0B54908A21C9602900BE04C5 /* DefaultNotificationCenter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DefaultNotificationCenter.swift; sourceTree = ""; }; + 0B5ADA2521CC62CD0049BC2C /* DataStore.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DataStore.swift; sourceTree = ""; }; + 0B5ADA2721CC64620049BC2C /* DataStoreEvents.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DataStoreEvents.swift; sourceTree = ""; }; + 0B5ADA2A21CC739E0049BC2C /* EventForDispatch+extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "EventForDispatch+extension.swift"; sourceTree = ""; }; + 0B61623A21B60167000D7A28 /* BatchEvent.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BatchEvent.swift; sourceTree = ""; }; + 0B61623E21B6055F000D7A28 /* DatafileHandler.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DatafileHandler.swift; sourceTree = ""; }; + 0B61624021B6EC3F000D7A28 /* UserProfileService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UserProfileService.swift; sourceTree = ""; }; + 0B61624221B6EDCC000D7A28 /* NotificationCenter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NotificationCenter.swift; sourceTree = ""; }; + 0B61624421B6F1B6000D7A28 /* Logger.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Logger.swift; sourceTree = ""; }; + 0B61624721B70D0F000D7A28 /* DefaultBucketer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DefaultBucketer.swift; sourceTree = ""; }; + 0B61624F21B72DCB000D7A28 /* DefaultDecisionService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DefaultDecisionService.swift; sourceTree = ""; }; + 0B61625121B731E8000D7A28 /* Constants.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Constants.swift; sourceTree = ""; }; + 0B61625921B870C6000D7A28 /* DefaultUserProfileService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DefaultUserProfileService.swift; sourceTree = ""; }; + 0B61625C21B8B82A000D7A28 /* JSONParse.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JSONParse.swift; sourceTree = ""; }; + 0B61625E21B8C3A9000D7A28 /* DefaultLogger.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DefaultLogger.swift; sourceTree = ""; }; + 0B61630C21BB273B000D7A28 /* OptimizelyManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OptimizelyManager.swift; sourceTree = ""; }; + 0B7CB0EA21ADF4E6007B77E5 /* TrafficAllocation.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TrafficAllocation.swift; sourceTree = ""; }; + 0B7CB0EC21ADF6A2007B77E5 /* Variable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Variable.swift; sourceTree = ""; }; + 0B7CB0EE21ADF6C1007B77E5 /* Variation.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Variation.swift; sourceTree = ""; }; + 0B7CB0F221ADF784007B77E5 /* Experiment.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Experiment.swift; sourceTree = ""; }; + 0B7CB0F421ADFE27007B77E5 /* Rollout.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Rollout.swift; sourceTree = ""; }; + 0B7CB0F621ADFEBD007B77E5 /* FeatureVariable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FeatureVariable.swift; sourceTree = ""; }; + 0B7CB0F821ADFF0F007B77E5 /* FeatureFlag.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FeatureFlag.swift; sourceTree = ""; }; + 0B7CB0FA21ADFFFB007B77E5 /* Event.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Event.swift; sourceTree = ""; }; + 0B7CB0FC21AE0058007B77E5 /* ProjectConfig.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ProjectConfig.swift; sourceTree = ""; }; + 0B7CB0FE21AE03A0007B77E5 /* Group.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Group.swift; sourceTree = ""; }; + 0B7CB10021AE042E007B77E5 /* Attribute.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Attribute.swift; sourceTree = ""; }; + 0B7CB10321AE053A007B77E5 /* Audience.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Audience.swift; sourceTree = ""; }; + 0B7CB11821AF753D007B77E5 /* UserAttribute.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UserAttribute.swift; sourceTree = ""; }; + 0B7CB11C21B0BBE1007B77E5 /* ConditionHolder.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConditionHolder.swift; sourceTree = ""; }; + 0B807B1021C2DD4E0090DDC8 /* BatchEventBuilder.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BatchEventBuilder.swift; sourceTree = ""; }; + 0B807B1521C312390090DDC8 /* DefaultEventDispatcher.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DefaultEventDispatcher.swift; sourceTree = ""; }; + 0B807B1B21C44E000090DDC8 /* DefaultDatafileHandler.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DefaultDatafileHandler.swift; sourceTree = ""; }; + 6E4DD8EE21E530A900B0C2C7 /* OPTResult.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OPTResult.swift; sourceTree = ""; }; + 6E4DD8EF21E530A900B0C2C7 /* OPTError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OPTError.swift; sourceTree = ""; }; + 6E4DD8F021E530A900B0C2C7 /* OPTManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OPTManager.swift; sourceTree = ""; }; + 6E4DD99121E6BAA700B0C2C7 /* OptimizelySwiftSDKiOSTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OptimizelySwiftSDKiOSTests.swift; sourceTree = ""; }; + 6E4DD99221E6BAA700B0C2C7 /* DecisionServiceTest.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DecisionServiceTest.swift; sourceTree = ""; }; + 6E4DD99321E6BAA700B0C2C7 /* OptimizelyManagerTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OptimizelyManagerTests.swift; sourceTree = ""; }; + 6E4DD99421E6BAA700B0C2C7 /* BucketTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BucketTests.swift; sourceTree = ""; }; + 6E4DD99521E6BAA700B0C2C7 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 6E614DCD21E3F389005982A1 /* OptimizelySwiftSDK.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = OptimizelySwiftSDK.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 6E614DD521E3F38A005982A1 /* OptimizelySwiftSDK-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "OptimizelySwiftSDK-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; + 6E614DDA21E3F38A005982A1 /* OptimizelySwiftSDKtvOSTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OptimizelySwiftSDKtvOSTests.swift; sourceTree = ""; }; + 6E614DDC21E3F38A005982A1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 6EBAEB6C21E3FEF800D13AA9 /* OptimizelySwiftSDK.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = OptimizelySwiftSDK.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 6EBAEB6E21E3FEF800D13AA9 /* OptimizelySwiftSDKiOS.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = OptimizelySwiftSDKiOS.h; sourceTree = ""; }; + 6EBAEB6F21E3FEF800D13AA9 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 6EBAEB7421E3FEF900D13AA9 /* OptimizelySwiftSDK-iOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "OptimizelySwiftSDK-iOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 6E614DCA21E3F389005982A1 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6E614DD221E3F38A005982A1 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 6E614DD621E3F38A005982A1 /* OptimizelySwiftSDK.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6EBAEB6921E3FEF800D13AA9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6EBAEB7121E3FEF900D13AA9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 6EBAEB7521E3FEF900D13AA9 /* OptimizelySwiftSDK.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 0B124BB821B32973001BE0FA /* protocols */ = { + isa = PBXGroup; + children = ( + 0B124BB921B32996001BE0FA /* Optimizely.swift */, + 0B124BBB21B5BC45001BE0FA /* Bucketer.swift */, + 0B124BC021B5D60B001BE0FA /* DecisionService.swift */, + 0B124BC221B5D88D001BE0FA /* ErrorHandler.swift */, + 0B124BC821B5DE16001BE0FA /* EventDispatcher.swift */, + 0B61623E21B6055F000D7A28 /* DatafileHandler.swift */, + 0B61624021B6EC3F000D7A28 /* UserProfileService.swift */, + 0B61624221B6EDCC000D7A28 /* NotificationCenter.swift */, + 0B61624421B6F1B6000D7A28 /* Logger.swift */, + 0B61625C21B8B82A000D7A28 /* JSONParse.swift */, + 0B5ADA2521CC62CD0049BC2C /* DataStore.swift */, + ); + path = protocols; + sourceTree = ""; + }; + 0B124BBD21B5C00A001BE0FA /* utils */ = { + isa = PBXGroup; + children = ( + 0B124BBE21B5C024001BE0FA /* MurmurHash3.swift */, + 0B124BCA21B5DF39001BE0FA /* Result.swift */, + 0B61625121B731E8000D7A28 /* Constants.swift */, + ); + path = utils; + sourceTree = ""; + }; + 0B124BC521B5DCD4001BE0FA /* dispatchEvents */ = { + isa = PBXGroup; + children = ( + 0B124BC621B5DD44001BE0FA /* EventForDispatch.swift */, + 0B61623A21B60167000D7A28 /* BatchEvent.swift */, + ); + path = dispatchEvents; + sourceTree = ""; + }; + 0B5ADA2921CC73730049BC2C /* extensions */ = { + isa = PBXGroup; + children = ( + 0B5ADA2A21CC739E0049BC2C /* EventForDispatch+extension.swift */, + ); + path = extensions; + sourceTree = ""; + }; + 0B61624621B70CE7000D7A28 /* implementation */ = { + isa = PBXGroup; + children = ( + 0B807B1321C2FB770090DDC8 /* events */, + 0B61624721B70D0F000D7A28 /* DefaultBucketer.swift */, + 0B54908A21C9602900BE04C5 /* DefaultNotificationCenter.swift */, + 0B61624F21B72DCB000D7A28 /* DefaultDecisionService.swift */, + 0B61625921B870C6000D7A28 /* DefaultUserProfileService.swift */, + 0B61625E21B8C3A9000D7A28 /* DefaultLogger.swift */, + 0B61630C21BB273B000D7A28 /* OptimizelyManager.swift */, + 0B807B1521C312390090DDC8 /* DefaultEventDispatcher.swift */, + 0B807B1B21C44E000090DDC8 /* DefaultDatafileHandler.swift */, + 0B5ADA2721CC64620049BC2C /* DataStoreEvents.swift */, + ); + path = implementation; + sourceTree = ""; + }; + 0B7CB0B821AC5FE2007B77E5 = { + isa = PBXGroup; + children = ( + 0B5ADA2921CC73730049BC2C /* extensions */, + 0B61624621B70CE7000D7A28 /* implementation */, + 0B124BBD21B5C00A001BE0FA /* utils */, + 0B124BB821B32973001BE0FA /* protocols */, + 0B7CB0E921ADF261007B77E5 /* Data Model */, + 6E4DD8ED21E530A900B0C2C7 /* OptimizelySwiftSDK */, + 6E4DD99021E6BAA700B0C2C7 /* OptimizelySwiftSDKiOSTests */, + 6E614DD921E3F38A005982A1 /* OptimizelySwiftSDKtvOSTests */, + 0B7CB0C321AC5FE2007B77E5 /* Products */, + ); + sourceTree = ""; + }; + 0B7CB0C321AC5FE2007B77E5 /* Products */ = { + isa = PBXGroup; + children = ( + 6E614DCD21E3F389005982A1 /* OptimizelySwiftSDK.framework */, + 6E614DD521E3F38A005982A1 /* OptimizelySwiftSDK-tvOSTests.xctest */, + 6EBAEB6C21E3FEF800D13AA9 /* OptimizelySwiftSDK.framework */, + 6EBAEB7421E3FEF900D13AA9 /* OptimizelySwiftSDK-iOSTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 0B7CB0E921ADF261007B77E5 /* Data Model */ = { + isa = PBXGroup; + children = ( + 0B124BC521B5DCD4001BE0FA /* dispatchEvents */, + 0B7CB10221AE04C1007B77E5 /* audience */, + 0B7CB0EA21ADF4E6007B77E5 /* TrafficAllocation.swift */, + 0B7CB0EC21ADF6A2007B77E5 /* Variable.swift */, + 0B7CB0EE21ADF6C1007B77E5 /* Variation.swift */, + 0B7CB0F221ADF784007B77E5 /* Experiment.swift */, + 0B7CB0F421ADFE27007B77E5 /* Rollout.swift */, + 0B7CB0F621ADFEBD007B77E5 /* FeatureVariable.swift */, + 0B7CB0F821ADFF0F007B77E5 /* FeatureFlag.swift */, + 0B7CB0FA21ADFFFB007B77E5 /* Event.swift */, + 0B7CB0FC21AE0058007B77E5 /* ProjectConfig.swift */, + 0B7CB0FE21AE03A0007B77E5 /* Group.swift */, + 0B7CB10021AE042E007B77E5 /* Attribute.swift */, + ); + path = "Data Model"; + sourceTree = ""; + }; + 0B7CB10221AE04C1007B77E5 /* audience */ = { + isa = PBXGroup; + children = ( + 0B7CB10321AE053A007B77E5 /* Audience.swift */, + 0B7CB11821AF753D007B77E5 /* UserAttribute.swift */, + 0B7CB11C21B0BBE1007B77E5 /* ConditionHolder.swift */, + ); + path = audience; + sourceTree = ""; + }; + 0B807B1321C2FB770090DDC8 /* events */ = { + isa = PBXGroup; + children = ( + 0B807B1021C2DD4E0090DDC8 /* BatchEventBuilder.swift */, + ); + path = events; + sourceTree = ""; + }; + 6E4DD8ED21E530A900B0C2C7 /* OptimizelySwiftSDK */ = { + isa = PBXGroup; + children = ( + 6E4DD8EE21E530A900B0C2C7 /* OPTResult.swift */, + 6E4DD8EF21E530A900B0C2C7 /* OPTError.swift */, + 6E4DD8F021E530A900B0C2C7 /* OPTManager.swift */, + 6EBAEB6E21E3FEF800D13AA9 /* OptimizelySwiftSDKiOS.h */, + 6EBAEB6F21E3FEF800D13AA9 /* Info.plist */, + ); + path = OptimizelySwiftSDK; + sourceTree = ""; + }; + 6E4DD99021E6BAA700B0C2C7 /* OptimizelySwiftSDKiOSTests */ = { + isa = PBXGroup; + children = ( + 6E4DD99121E6BAA700B0C2C7 /* OptimizelySwiftSDKiOSTests.swift */, + 6E4DD99221E6BAA700B0C2C7 /* DecisionServiceTest.swift */, + 6E4DD99321E6BAA700B0C2C7 /* OptimizelyManagerTests.swift */, + 6E4DD99421E6BAA700B0C2C7 /* BucketTests.swift */, + 6E4DD99521E6BAA700B0C2C7 /* Info.plist */, + ); + path = OptimizelySwiftSDKiOSTests; + sourceTree = ""; + }; + 6E614DD921E3F38A005982A1 /* OptimizelySwiftSDKtvOSTests */ = { + isa = PBXGroup; + children = ( + 6E614DDA21E3F38A005982A1 /* OptimizelySwiftSDKtvOSTests.swift */, + 6E614DDC21E3F38A005982A1 /* Info.plist */, + ); + path = OptimizelySwiftSDKtvOSTests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 6E614DC821E3F389005982A1 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6EBAEB6721E3FEF800D13AA9 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 6EBAEB7C21E3FEF900D13AA9 /* OptimizelySwiftSDKiOS.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 6E614DCC21E3F389005982A1 /* OptimizelySwiftSDK-tvOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 6E614DE221E3F38A005982A1 /* Build configuration list for PBXNativeTarget "OptimizelySwiftSDK-tvOS" */; + buildPhases = ( + 6E614DC821E3F389005982A1 /* Headers */, + 6E614DC921E3F389005982A1 /* Sources */, + 6E614DCA21E3F389005982A1 /* Frameworks */, + 6E614DCB21E3F389005982A1 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "OptimizelySwiftSDK-tvOS"; + productName = OptimizelySwiftSDKtvOS; + productReference = 6E614DCD21E3F389005982A1 /* OptimizelySwiftSDK.framework */; + productType = "com.apple.product-type.framework"; + }; + 6E614DD421E3F38A005982A1 /* OptimizelySwiftSDK-tvOSTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 6E614DE321E3F38A005982A1 /* Build configuration list for PBXNativeTarget "OptimizelySwiftSDK-tvOSTests" */; + buildPhases = ( + 6E614DD121E3F38A005982A1 /* Sources */, + 6E614DD221E3F38A005982A1 /* Frameworks */, + 6E614DD321E3F38A005982A1 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 6E614DD821E3F38A005982A1 /* PBXTargetDependency */, + ); + name = "OptimizelySwiftSDK-tvOSTests"; + productName = OptimizelySwiftSDKtvOSTests; + productReference = 6E614DD521E3F38A005982A1 /* OptimizelySwiftSDK-tvOSTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 6EBAEB6B21E3FEF800D13AA9 /* OptimizelySwiftSDK-iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 6EBAEB8121E3FEF900D13AA9 /* Build configuration list for PBXNativeTarget "OptimizelySwiftSDK-iOS" */; + buildPhases = ( + 6EBAEB6721E3FEF800D13AA9 /* Headers */, + 6EBAEB6821E3FEF800D13AA9 /* Sources */, + 6EBAEB6921E3FEF800D13AA9 /* Frameworks */, + 6EBAEB6A21E3FEF800D13AA9 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "OptimizelySwiftSDK-iOS"; + productName = OptimizelySwiftSDKiOS; + productReference = 6EBAEB6C21E3FEF800D13AA9 /* OptimizelySwiftSDK.framework */; + productType = "com.apple.product-type.framework"; + }; + 6EBAEB7321E3FEF900D13AA9 /* OptimizelySwiftSDK-iOSTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 6EBAEB8221E3FEF900D13AA9 /* Build configuration list for PBXNativeTarget "OptimizelySwiftSDK-iOSTests" */; + buildPhases = ( + 6EBAEB7021E3FEF900D13AA9 /* Sources */, + 6EBAEB7121E3FEF900D13AA9 /* Frameworks */, + 6EBAEB7221E3FEF900D13AA9 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 6EBAEB7721E3FEF900D13AA9 /* PBXTargetDependency */, + ); + name = "OptimizelySwiftSDK-iOSTests"; + productName = OptimizelySwiftSDKiOSTests; + productReference = 6EBAEB7421E3FEF900D13AA9 /* OptimizelySwiftSDK-iOSTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 0B7CB0B921AC5FE2007B77E5 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 1010; + LastUpgradeCheck = 1000; + ORGANIZATIONNAME = Optimizely; + TargetAttributes = { + 6E614DCC21E3F389005982A1 = { + CreatedOnToolsVersion = 10.1; + }; + 6E614DD421E3F38A005982A1 = { + CreatedOnToolsVersion = 10.1; + }; + 6EBAEB6B21E3FEF800D13AA9 = { + CreatedOnToolsVersion = 10.1; + }; + 6EBAEB7321E3FEF900D13AA9 = { + CreatedOnToolsVersion = 10.1; + }; + }; + }; + buildConfigurationList = 0B7CB0BC21AC5FE2007B77E5 /* Build configuration list for PBXProject "OptimizelySwiftSDK" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 0B7CB0B821AC5FE2007B77E5; + productRefGroup = 0B7CB0C321AC5FE2007B77E5 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 6EBAEB6B21E3FEF800D13AA9 /* OptimizelySwiftSDK-iOS */, + 6E614DCC21E3F389005982A1 /* OptimizelySwiftSDK-tvOS */, + 6EBAEB7321E3FEF900D13AA9 /* OptimizelySwiftSDK-iOSTests */, + 6E614DD421E3F38A005982A1 /* OptimizelySwiftSDK-tvOSTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 6E614DCB21E3F389005982A1 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6E614DD321E3F38A005982A1 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6EBAEB6A21E3FEF800D13AA9 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6EBAEB7221E3FEF900D13AA9 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 6E614DC921E3F389005982A1 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 6E4DD84121E524F000B0C2C7 /* DefaultUserProfileService.swift in Sources */, + 6E4DD87E21E5251800B0C2C7 /* FeatureFlag.swift in Sources */, + 6E4DD85C21E5250200B0C2C7 /* EventDispatcher.swift in Sources */, + 6E4DD88121E5251800B0C2C7 /* Group.swift in Sources */, + 6E4DD84B21E524FC00B0C2C7 /* Result.swift in Sources */, + 6E4DD83221E524E400B0C2C7 /* EventForDispatch+extension.swift in Sources */, + 6E4DD8F221E530A900B0C2C7 /* OPTResult.swift in Sources */, + 6E4DD88221E5251800B0C2C7 /* Attribute.swift in Sources */, + 6E4DD8F621E530A900B0C2C7 /* OPTError.swift in Sources */, + 6E4DD83E21E524F000B0C2C7 /* DefaultBucketer.swift in Sources */, + 6E4DD87F21E5251800B0C2C7 /* Event.swift in Sources */, + 6E4DD84321E524F000B0C2C7 /* OptimizelyManager.swift in Sources */, + 6E4DD84521E524F000B0C2C7 /* DefaultDatafileHandler.swift in Sources */, + 6E4DD86B21E5251200B0C2C7 /* UserAttribute.swift in Sources */, + 6E4DD84221E524F000B0C2C7 /* DefaultLogger.swift in Sources */, + 6E4DD83421E524E900B0C2C7 /* BatchEventBuilder.swift in Sources */, + 6E4DD86021E5250200B0C2C7 /* Logger.swift in Sources */, + 6E4DD84021E524F000B0C2C7 /* DefaultDecisionService.swift in Sources */, + 6E4DD87B21E5251800B0C2C7 /* Experiment.swift in Sources */, + 6E4DD83F21E524F000B0C2C7 /* DefaultNotificationCenter.swift in Sources */, + 6E4DD85E21E5250200B0C2C7 /* UserProfileService.swift in Sources */, + 6E4DD86221E5250200B0C2C7 /* DataStore.swift in Sources */, + 6E4DD87921E5251800B0C2C7 /* Variable.swift in Sources */, + 6E4DD88021E5251800B0C2C7 /* ProjectConfig.swift in Sources */, + 6E4DD86C21E5251200B0C2C7 /* ConditionHolder.swift in Sources */, + 6E4DD85A21E5250200B0C2C7 /* DecisionService.swift in Sources */, + 6E4DD85F21E5250200B0C2C7 /* NotificationCenter.swift in Sources */, + 6E4DD87821E5251800B0C2C7 /* TrafficAllocation.swift in Sources */, + 6E4DD87C21E5251800B0C2C7 /* Rollout.swift in Sources */, + 6E4DD86121E5250200B0C2C7 /* JSONParse.swift in Sources */, + 6E4DD85D21E5250200B0C2C7 /* DatafileHandler.swift in Sources */, + 6E4DD84421E524F000B0C2C7 /* DefaultEventDispatcher.swift in Sources */, + 6E4DD86A21E5251200B0C2C7 /* Audience.swift in Sources */, + 6E4DD85821E5250200B0C2C7 /* Optimizely.swift in Sources */, + 6E4DD84C21E524FC00B0C2C7 /* Constants.swift in Sources */, + 6E4DD84621E524F000B0C2C7 /* DataStoreEvents.swift in Sources */, + 6E4DD86621E5250B00B0C2C7 /* BatchEvent.swift in Sources */, + 6E4DD8FA21E530A900B0C2C7 /* OPTManager.swift in Sources */, + 6E4DD87D21E5251800B0C2C7 /* FeatureVariable.swift in Sources */, + 6E4DD87A21E5251800B0C2C7 /* Variation.swift in Sources */, + 6E4DD85B21E5250200B0C2C7 /* ErrorHandler.swift in Sources */, + 6E4DD85921E5250200B0C2C7 /* Bucketer.swift in Sources */, + 6E4DD86521E5250B00B0C2C7 /* EventForDispatch.swift in Sources */, + 6E4DD84A21E524FC00B0C2C7 /* MurmurHash3.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6E614DD121E3F38A005982A1 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 6E4DD88621E525F100B0C2C7 /* EventForDispatch+extension.swift in Sources */, + 6E4DD8B521E5260700B0C2C7 /* JSONParse.swift in Sources */, + 6E4DD8AC21E5260700B0C2C7 /* Optimizely.swift in Sources */, + 6E4DD8D021E5261600B0C2C7 /* ProjectConfig.swift in Sources */, + 6E4DD8C921E5261600B0C2C7 /* Variable.swift in Sources */, + 6E4DD8AF21E5260700B0C2C7 /* ErrorHandler.swift in Sources */, + 6E4DD8D121E5261600B0C2C7 /* Group.swift in Sources */, + 6E4DD89E21E5260200B0C2C7 /* MurmurHash3.swift in Sources */, + 6E4DD8BC21E5261100B0C2C7 /* Audience.swift in Sources */, + 6E4DD89921E525FD00B0C2C7 /* DefaultDatafileHandler.swift in Sources */, + 6E4DD89421E525FD00B0C2C7 /* DefaultDecisionService.swift in Sources */, + 6E4DD89F21E5260200B0C2C7 /* Result.swift in Sources */, + 6E4DD8FC21E530A900B0C2C7 /* OPTManager.swift in Sources */, + 6E4DD8C821E5261600B0C2C7 /* TrafficAllocation.swift in Sources */, + 6E4DD8B421E5260700B0C2C7 /* Logger.swift in Sources */, + 6E4DD8B121E5260700B0C2C7 /* DatafileHandler.swift in Sources */, + 6E4DD8A021E5260200B0C2C7 /* Constants.swift in Sources */, + 6E4DD89321E525FD00B0C2C7 /* DefaultNotificationCenter.swift in Sources */, + 6E4DD8B221E5260700B0C2C7 /* UserProfileService.swift in Sources */, + 6E4DD8F821E530A900B0C2C7 /* OPTError.swift in Sources */, + 6E4DD8CF21E5261600B0C2C7 /* Event.swift in Sources */, + 6E4DD8CD21E5261600B0C2C7 /* FeatureVariable.swift in Sources */, + 6E4DD8B621E5260700B0C2C7 /* DataStore.swift in Sources */, + 6E4DD89621E525FD00B0C2C7 /* DefaultLogger.swift in Sources */, + 6E4DD8CB21E5261600B0C2C7 /* Experiment.swift in Sources */, + 6E614DDB21E3F38A005982A1 /* OptimizelySwiftSDKtvOSTests.swift in Sources */, + 6E4DD8B921E5260B00B0C2C7 /* EventForDispatch.swift in Sources */, + 6E4DD8CE21E5261600B0C2C7 /* FeatureFlag.swift in Sources */, + 6E4DD8AD21E5260700B0C2C7 /* Bucketer.swift in Sources */, + 6E4DD89721E525FD00B0C2C7 /* OptimizelyManager.swift in Sources */, + 6E4DD8F421E530A900B0C2C7 /* OPTResult.swift in Sources */, + 6E4DD8BA21E5260B00B0C2C7 /* BatchEvent.swift in Sources */, + 6E4DD8CA21E5261600B0C2C7 /* Variation.swift in Sources */, + 6E4DD8D221E5261600B0C2C7 /* Attribute.swift in Sources */, + 6E4DD89221E525FD00B0C2C7 /* DefaultBucketer.swift in Sources */, + 6E4DD89A21E525FD00B0C2C7 /* DataStoreEvents.swift in Sources */, + 6E4DD89821E525FD00B0C2C7 /* DefaultEventDispatcher.swift in Sources */, + 6E4DD8AE21E5260700B0C2C7 /* DecisionService.swift in Sources */, + 6E4DD8CC21E5261600B0C2C7 /* Rollout.swift in Sources */, + 6E4DD8B021E5260700B0C2C7 /* EventDispatcher.swift in Sources */, + 6E4DD8B321E5260700B0C2C7 /* NotificationCenter.swift in Sources */, + 6E4DD8D621E5274300B0C2C7 /* UserAttribute.swift in Sources */, + 6E4DD8D821E5274600B0C2C7 /* ConditionHolder.swift in Sources */, + 6E4DD88821E525F600B0C2C7 /* BatchEventBuilder.swift in Sources */, + 6E4DD89521E525FD00B0C2C7 /* DefaultUserProfileService.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6EBAEB6821E3FEF800D13AA9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 6E4DD83821E524EF00B0C2C7 /* DefaultUserProfileService.swift in Sources */, + 6E4DD87321E5251700B0C2C7 /* FeatureFlag.swift in Sources */, + 6E4DD85121E5250200B0C2C7 /* EventDispatcher.swift in Sources */, + 6E4DD87621E5251700B0C2C7 /* Group.swift in Sources */, + 6E4DD84821E524FB00B0C2C7 /* Result.swift in Sources */, + 6E4DD83121E524E300B0C2C7 /* EventForDispatch+extension.swift in Sources */, + 6E4DD8F121E530A900B0C2C7 /* OPTResult.swift in Sources */, + 6E4DD87721E5251700B0C2C7 /* Attribute.swift in Sources */, + 6E4DD8F521E530A900B0C2C7 /* OPTError.swift in Sources */, + 6E4DD83521E524EF00B0C2C7 /* DefaultBucketer.swift in Sources */, + 6E4DD87421E5251700B0C2C7 /* Event.swift in Sources */, + 6E4DD83A21E524EF00B0C2C7 /* OptimizelyManager.swift in Sources */, + 6E4DD83C21E524EF00B0C2C7 /* DefaultDatafileHandler.swift in Sources */, + 6E4DD86821E5251200B0C2C7 /* UserAttribute.swift in Sources */, + 6E4DD83921E524EF00B0C2C7 /* DefaultLogger.swift in Sources */, + 6E4DD83321E524E900B0C2C7 /* BatchEventBuilder.swift in Sources */, + 6E4DD85521E5250200B0C2C7 /* Logger.swift in Sources */, + 6E4DD83721E524EF00B0C2C7 /* DefaultDecisionService.swift in Sources */, + 6E4DD87021E5251700B0C2C7 /* Experiment.swift in Sources */, + 6E4DD83621E524EF00B0C2C7 /* DefaultNotificationCenter.swift in Sources */, + 6E4DD85321E5250200B0C2C7 /* UserProfileService.swift in Sources */, + 6E4DD85721E5250200B0C2C7 /* DataStore.swift in Sources */, + 6E4DD86E21E5251700B0C2C7 /* Variable.swift in Sources */, + 6E4DD87521E5251700B0C2C7 /* ProjectConfig.swift in Sources */, + 6E4DD86921E5251200B0C2C7 /* ConditionHolder.swift in Sources */, + 6E4DD84F21E5250200B0C2C7 /* DecisionService.swift in Sources */, + 6E4DD85421E5250200B0C2C7 /* NotificationCenter.swift in Sources */, + 6E4DD86D21E5251700B0C2C7 /* TrafficAllocation.swift in Sources */, + 6E4DD87121E5251700B0C2C7 /* Rollout.swift in Sources */, + 6E4DD85621E5250200B0C2C7 /* JSONParse.swift in Sources */, + 6E4DD85221E5250200B0C2C7 /* DatafileHandler.swift in Sources */, + 6E4DD83B21E524EF00B0C2C7 /* DefaultEventDispatcher.swift in Sources */, + 6E4DD86721E5251200B0C2C7 /* Audience.swift in Sources */, + 6E4DD84D21E5250200B0C2C7 /* Optimizely.swift in Sources */, + 6E4DD84921E524FB00B0C2C7 /* Constants.swift in Sources */, + 6E4DD83D21E524EF00B0C2C7 /* DataStoreEvents.swift in Sources */, + 6E4DD86421E5250B00B0C2C7 /* BatchEvent.swift in Sources */, + 6E4DD8F921E530A900B0C2C7 /* OPTManager.swift in Sources */, + 6E4DD87221E5251700B0C2C7 /* FeatureVariable.swift in Sources */, + 6E4DD86F21E5251700B0C2C7 /* Variation.swift in Sources */, + 6E4DD85021E5250200B0C2C7 /* ErrorHandler.swift in Sources */, + 6E4DD84E21E5250200B0C2C7 /* Bucketer.swift in Sources */, + 6E4DD86321E5250B00B0C2C7 /* EventForDispatch.swift in Sources */, + 6E4DD84721E524FB00B0C2C7 /* MurmurHash3.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6EBAEB7021E3FEF900D13AA9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 6E4DD8F321E530A900B0C2C7 /* OPTResult.swift in Sources */, + 6E4DD8A721E5260600B0C2C7 /* UserProfileService.swift in Sources */, + 6E4DD8A521E5260600B0C2C7 /* EventDispatcher.swift in Sources */, + 6E4DD8BD21E5261500B0C2C7 /* TrafficAllocation.swift in Sources */, + 6E4DD99821E6BAA700B0C2C7 /* OptimizelyManagerTests.swift in Sources */, + 6E4DD8B821E5260A00B0C2C7 /* BatchEvent.swift in Sources */, + 6E4DD8BE21E5261500B0C2C7 /* Variable.swift in Sources */, + 6E4DD8C121E5261500B0C2C7 /* Rollout.swift in Sources */, + 6E4DD88521E525F000B0C2C7 /* EventForDispatch+extension.swift in Sources */, + 6E4DD8FB21E530A900B0C2C7 /* OPTManager.swift in Sources */, + 6E4DD8A921E5260600B0C2C7 /* Logger.swift in Sources */, + 6E4DD88D21E525FC00B0C2C7 /* DefaultLogger.swift in Sources */, + 6E4DD8C321E5261500B0C2C7 /* FeatureFlag.swift in Sources */, + 6E4DD8BB21E5261100B0C2C7 /* Audience.swift in Sources */, + 6E4DD8AB21E5260600B0C2C7 /* DataStore.swift in Sources */, + 6E4DD8D421E5273F00B0C2C7 /* UserAttribute.swift in Sources */, + 6E4DD8C721E5261500B0C2C7 /* Attribute.swift in Sources */, + 6E4DD8D721E5274600B0C2C7 /* ConditionHolder.swift in Sources */, + 6E4DD8F721E530A900B0C2C7 /* OPTError.swift in Sources */, + 6E4DD88C21E525FC00B0C2C7 /* DefaultUserProfileService.swift in Sources */, + 6E4DD8C021E5261500B0C2C7 /* Experiment.swift in Sources */, + 6E4DD88F21E525FC00B0C2C7 /* DefaultEventDispatcher.swift in Sources */, + 6E4DD88921E525FC00B0C2C7 /* DefaultBucketer.swift in Sources */, + 6E4DD8B721E5260A00B0C2C7 /* EventForDispatch.swift in Sources */, + 6E4DD99721E6BAA700B0C2C7 /* DecisionServiceTest.swift in Sources */, + 6E4DD8C221E5261500B0C2C7 /* FeatureVariable.swift in Sources */, + 6E4DD8A821E5260600B0C2C7 /* NotificationCenter.swift in Sources */, + 6E4DD8C621E5261500B0C2C7 /* Group.swift in Sources */, + 6E4DD8A121E5260600B0C2C7 /* Optimizely.swift in Sources */, + 6E4DD99921E6BAA700B0C2C7 /* BucketTests.swift in Sources */, + 6E4DD89121E525FC00B0C2C7 /* DataStoreEvents.swift in Sources */, + 6E4DD8C421E5261500B0C2C7 /* Event.swift in Sources */, + 6E4DD8A221E5260600B0C2C7 /* Bucketer.swift in Sources */, + 6E4DD88721E525F500B0C2C7 /* BatchEventBuilder.swift in Sources */, + 6E4DD99621E6BAA700B0C2C7 /* OptimizelySwiftSDKiOSTests.swift in Sources */, + 6E4DD89B21E5260100B0C2C7 /* MurmurHash3.swift in Sources */, + 6E4DD88B21E525FC00B0C2C7 /* DefaultDecisionService.swift in Sources */, + 6E4DD8A621E5260600B0C2C7 /* DatafileHandler.swift in Sources */, + 6E4DD8A421E5260600B0C2C7 /* ErrorHandler.swift in Sources */, + 6E4DD8BF21E5261500B0C2C7 /* Variation.swift in Sources */, + 6E4DD8C521E5261500B0C2C7 /* ProjectConfig.swift in Sources */, + 6E4DD8A321E5260600B0C2C7 /* DecisionService.swift in Sources */, + 6E4DD88A21E525FC00B0C2C7 /* DefaultNotificationCenter.swift in Sources */, + 6E4DD8AA21E5260600B0C2C7 /* JSONParse.swift in Sources */, + 6E4DD89C21E5260100B0C2C7 /* Result.swift in Sources */, + 6E4DD89021E525FC00B0C2C7 /* DefaultDatafileHandler.swift in Sources */, + 6E4DD88E21E525FC00B0C2C7 /* OptimizelyManager.swift in Sources */, + 6E4DD89D21E5260100B0C2C7 /* Constants.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 6E614DD821E3F38A005982A1 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 6E614DCC21E3F389005982A1 /* OptimizelySwiftSDK-tvOS */; + targetProxy = 6E614DD721E3F38A005982A1 /* PBXContainerItemProxy */; + }; + 6EBAEB7721E3FEF900D13AA9 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 6EBAEB6B21E3FEF800D13AA9 /* OptimizelySwiftSDK-iOS */; + targetProxy = 6EBAEB7621E3FEF900D13AA9 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 0B7CB0D421AC5FE2007B77E5 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 0B7CB0D521AC5FE2007B77E5 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 6E614DDE21E3F38A005982A1 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = OptimizelySwiftSDK/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.optimizely.OptimizelySwiftSDK; + PRODUCT_NAME = "$(PROJECT_NAME:c99extidentifier)"; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + SWIFT_VERSION = 4.2; + TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 9.0; + }; + name = Debug; + }; + 6E614DDF21E3F38A005982A1 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = OptimizelySwiftSDK/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.optimizely.OptimizelySwiftSDK; + PRODUCT_NAME = "$(PROJECT_NAME:c99extidentifier)"; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + SWIFT_VERSION = 4.2; + TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 9.0; + }; + name = Release; + }; + 6E614DE021E3F38A005982A1 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = OptimizelySwiftSDKtvOSTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.optimizely.OptimizelySwiftSDKtvOSTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SWIFT_VERSION = 4.2; + TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 12.1; + }; + name = Debug; + }; + 6E614DE121E3F38A005982A1 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = OptimizelySwiftSDKtvOSTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.optimizely.OptimizelySwiftSDKtvOSTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SWIFT_VERSION = 4.2; + TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 12.1; + }; + name = Release; + }; + 6EBAEB7D21E3FEF900D13AA9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = OptimizelySwiftSDK/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.optimizely.OptimizelySwiftSDK; + PRODUCT_NAME = OptimizelySwiftSDK; + SKIP_INSTALL = YES; + SWIFT_VERSION = 4.2; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 6EBAEB7E21E3FEF900D13AA9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = OptimizelySwiftSDK/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.optimizely.OptimizelySwiftSDK; + PRODUCT_NAME = OptimizelySwiftSDK; + SKIP_INSTALL = YES; + SWIFT_VERSION = 4.2; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + 6EBAEB7F21E3FEF900D13AA9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = OptimizelySwiftSDKiOSTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 12.1; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.optimizely.OptimizelySwiftSDKiOSTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.2; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 6EBAEB8021E3FEF900D13AA9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = OptimizelySwiftSDKiOSTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 12.1; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.optimizely.OptimizelySwiftSDKiOSTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.2; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 0B7CB0BC21AC5FE2007B77E5 /* Build configuration list for PBXProject "OptimizelySwiftSDK" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 0B7CB0D421AC5FE2007B77E5 /* Debug */, + 0B7CB0D521AC5FE2007B77E5 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 6E614DE221E3F38A005982A1 /* Build configuration list for PBXNativeTarget "OptimizelySwiftSDK-tvOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 6E614DDE21E3F38A005982A1 /* Debug */, + 6E614DDF21E3F38A005982A1 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 6E614DE321E3F38A005982A1 /* Build configuration list for PBXNativeTarget "OptimizelySwiftSDK-tvOSTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 6E614DE021E3F38A005982A1 /* Debug */, + 6E614DE121E3F38A005982A1 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 6EBAEB8121E3FEF900D13AA9 /* Build configuration list for PBXNativeTarget "OptimizelySwiftSDK-iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 6EBAEB7D21E3FEF900D13AA9 /* Debug */, + 6EBAEB7E21E3FEF900D13AA9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 6EBAEB8221E3FEF900D13AA9 /* Build configuration list for PBXNativeTarget "OptimizelySwiftSDK-iOSTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 6EBAEB7F21E3FEF900D13AA9 /* Debug */, + 6EBAEB8021E3FEF900D13AA9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 0B7CB0B921AC5FE2007B77E5 /* Project object */; +} diff --git a/OptimizelySDK/OptimizelySDK.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/OptimizelySDK/OptimizelySwiftSDK.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from OptimizelySDK/OptimizelySDK.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to OptimizelySDK/OptimizelySwiftSDK.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/OptimizelySDK/OptimizelySwiftSDK.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/OptimizelySDK/OptimizelySwiftSDK.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 000000000..18d981003 --- /dev/null +++ b/OptimizelySDK/OptimizelySwiftSDK.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/OptimizelySDK/OptimizelySwiftSDK.xcodeproj/xcshareddata/xcschemes/OptimizelySwiftSDK-iOS.xcscheme b/OptimizelySDK/OptimizelySwiftSDK.xcodeproj/xcshareddata/xcschemes/OptimizelySwiftSDK-iOS.xcscheme new file mode 100644 index 000000000..61b036c29 --- /dev/null +++ b/OptimizelySDK/OptimizelySwiftSDK.xcodeproj/xcshareddata/xcschemes/OptimizelySwiftSDK-iOS.xcscheme @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/OptimizelySDK/OptimizelySwiftSDK.xcodeproj/xcshareddata/xcschemes/OptimizelySwiftSDK-tvOS.xcscheme b/OptimizelySDK/OptimizelySwiftSDK.xcodeproj/xcshareddata/xcschemes/OptimizelySwiftSDK-tvOS.xcscheme new file mode 100644 index 000000000..a1a99e970 --- /dev/null +++ b/OptimizelySDK/OptimizelySwiftSDK.xcodeproj/xcshareddata/xcschemes/OptimizelySwiftSDK-tvOS.xcscheme @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/OptimizelySDK/OptimizelySDK/Info.plist b/OptimizelySDK/OptimizelySwiftSDK/Info.plist similarity index 100% rename from OptimizelySDK/OptimizelySDK/Info.plist rename to OptimizelySDK/OptimizelySwiftSDK/Info.plist diff --git a/OptimizelySDK/OptimizelySwiftSDK/OPTError.swift b/OptimizelySDK/OptimizelySwiftSDK/OPTError.swift new file mode 100644 index 000000000..8a388b94c --- /dev/null +++ b/OptimizelySDK/OptimizelySwiftSDK/OPTError.swift @@ -0,0 +1,63 @@ +// +// OPTError.swift +// OptimizelySDK +// +// Created by Jae Kim on 12/18/18. +// Copyright © 2018 Optimizely. All rights reserved. +// + +import Foundation + +public enum OPTError: Error { + case generic + case dataFileInvalid + case dataFileVersionInvalid(String) + case eventDispatcherInvalid + case loggerInvalid + case errorHandlerInvalid + case experimentUnknown(String) + case eventUnknown(String) + case userProfileInvalid + case eventNoExperimentAssociation(String) + case attributeFormatInvalid + case groupInvalid + case variationUnknown(String) + case eventTypeUnknown + case trafficAllocationNotInRange + case bucketingIdInvalid(UInt64) + case trafficAllocationUnknown(UInt32) + case configInvalid + case httpRequestRetryFailure(String) + case projectConfigInvalidAudienceCondition +} + +extension OPTError: CustomStringConvertible { + public var description: String { + var message: String = "[Optimizely]" + + switch self { + case .generic: message += "Unknown reason" + case .dataFileInvalid: message += "Provided 'datafile' is in an invalid format." + case .dataFileVersionInvalid (let value): message += "Provided 'datafile' version \(value) is not supported." + case .eventDispatcherInvalid: message += "Provided 'event dispatcher' is in an invalid format." + case .loggerInvalid: message += "Provided 'logger' is in an invalid format." + case .errorHandlerInvalid: message += "Provided 'error handler' is in an invalid format." + case .experimentUnknown (let expId): message += "Experiment \(expId) is not in the datafile." + case .eventUnknown (let eventKey): message += "Event \(eventKey) is not in the datafile." + case .userProfileInvalid: message += "Provided user profile object is invalid." + case .eventNoExperimentAssociation (let eventKey): message += "Event \(eventKey) is not associated with any running experiments." + case .attributeFormatInvalid: message += "Attributes provided in invalid format." + case .groupInvalid: message += "Provided group is not in datafile." + case .variationUnknown (let variationId): message += "Provided variation \(variationId) is not in datafile." + case .eventTypeUnknown: message += "Provided event type is not in datafile." + case .trafficAllocationNotInRange: message += "Traffic allocation %ld is not in range." + case .bucketingIdInvalid (let bucketId): message += "Invalid bucketing ID: \(bucketId)" + case .trafficAllocationUnknown (let bucketRange): message += "Traffic allocation \(bucketRange) is not in range." + case .configInvalid: message += "Project config is nil or invalid." + case .httpRequestRetryFailure (let reason): message += "The max backoff retry has been exceeded. POST failed with error: \(reason)" + case .projectConfigInvalidAudienceCondition: message += "Invalid audience condition." + } + + return message + } +} diff --git a/OptimizelySDK/OptimizelySwiftSDK/OPTManager.swift b/OptimizelySDK/OptimizelySwiftSDK/OPTManager.swift new file mode 100644 index 000000000..87441aca0 --- /dev/null +++ b/OptimizelySDK/OptimizelySwiftSDK/OPTManager.swift @@ -0,0 +1,563 @@ +// +// OPTManager.swift +// OptimizelySDK +// +// Created by Jae Kim on 12/19/18. +// Copyright © 2018 Optimizely. All rights reserved. +// + +import Foundation + + +open class OPTManager: NSObject { + + // MARK: - Properties + + var sdkKey: String + var config:ProjectConfig! + + // MARK: - Customizable + + let logger: Logger + let bucketer: Bucketer + let decisionService: DecisionService + let eventDispatcher: EventDispatcher + let datafileHandler: DatafileHandler + let userProfileService: UserProfileService + let notificationCenter: NotificationCenter + + let periodicDownloadInterval: Int + + // MARK: - Public interfaces + + /// Initialize Optimizely Manager + /// + /// - Parameters: + /// - sdkKey: sdk key + /// - logger: custom Logger + /// - bucketer: custom Bucketer + /// - ... + public init(sdkKey: String, + logger:Logger? = nil, + bucketer:Bucketer? = nil, + decisionService:DecisionService? = nil, + eventDispatcher:EventDispatcher? = nil, + datafileHandler:DatafileHandler? = nil, + userProfileService:UserProfileService? = nil, + notificationCenter:NotificationCenter? = nil, + periodicDownloadInterval:Int? = nil) { + + self.sdkKey = sdkKey + + // default services (can be customized by clients + + self.logger = logger ?? DefaultLogger(level: .error) + self.eventDispatcher = eventDispatcher ?? DefaultEventDispatcher() + self.datafileHandler = datafileHandler ?? DefaultDatafileHandler() + self.userProfileService = userProfileService ?? DefaultUserProfileService() + self.notificationCenter = notificationCenter ?? DefaultNotificationCenter() + self.bucketer = bucketer ?? DefaultBucketer() + self.decisionService = decisionService ?? DefaultDecisionService() + + self.periodicDownloadInterval = periodicDownloadInterval ?? (5 * 60) + } + + /// Initialize Optimizely Manager + /// + /// - Parameters: + /// - datafile: when given, this datafile will be used when cached copy is not available (fresh start) + /// a cached copy from previous download is used if it's available + /// the datafile will be updated from the server in the background thread + /// - completion: callback when initialization is completed + public func initializeSDK(completion: ((OPTResult) -> Void)?=nil) { + + fetchDatafileBackground() { result in + switch result { + case .failure(let err): + completion?(OPTResult.failure(err)) + case .success(let datafile): + do { + try self.configSDK(datafile: datafile) + completion?(OPTResult.success) + } catch { + + // TODO: refine error-type + completion?(OPTResult.failure(.configInvalid)) + } + } + } + } + + // MARK: synchronous initialization + + public func initializeSDK(datafile: String) throws { + guard let datafileData = datafile.data(using: .utf8) else { + throw OPTError.dataFileInvalid + } + + try initializeSDK(datafile: datafileData) + } + + public func initializeSDK(datafile: Data) throws { + + // TODO: get the cached copy + var cachedDatafile: Data? + + let selectedDatafile = cachedDatafile ?? datafile + + do { + try configSDK(datafile: selectedDatafile) + } catch { + + // TODO: refine error-type + throw OPTError.dataFileInvalid + } + + fetchDatafileBackground() + } + + func configSDK(datafile: String) throws { + guard let datafileData = datafile.data(using: .utf8) else { + throw OPTError.dataFileInvalid + } + + try configSDK(datafile: datafileData) + } + + func configSDK(datafile: Data) throws { + do { + self.config = try JSONDecoder().decode(ProjectConfig.self, from: datafile) + + bucketer.initialize(config: self.config) + decisionService.initialize(config: self.config, + bucketer: self.bucketer, + userProfileService: self.userProfileService) + } catch is DecodingError { + throw OPTError.dataFileInvalid + } catch is OPTError { + // TODO: refine error-type + throw OPTError.dataFileInvalid + } + } + + func fetchDatafileBackground(completion: ((OPTResultData) -> Void)?=nil) { + datafileHandler.downloadDatafile(sdkKey: self.sdkKey){ result in + var fetchResult: OPTResultData + switch result { + case .failure(let err): + self.logger.log(level: .error, message: err.description) + // TODO: refine error-type + fetchResult = .failure(.generic) + case .success(let datafile): + fetchResult = .success(datafile) + } + + completion?(fetchResult) + } + } + + + /** + * Use the activate method to start an experiment. + * + * The activate call will conditionally activate an experiment for a user based on the provided experiment key and a randomized hash of the provided user ID. + * If the user satisfies audience conditions for the experiment and the experiment is valid and running, the function returns the variation the user is bucketed into. + * Otherwise, activate returns nil. Make sure that your code adequately deals with the case when the experiment is not activated (e.g. execute the default variation). + */ + + /// Try to activate an experiment based on the experiment key and user ID with user attributes. + /// + /// - Parameters: + /// - experimentKey: The key for the experiment. + /// - userId: The user ID to be used for bucketing. + /// - attributes: A map of attribute names to current user attribute values. + /// - Returns: The variation key the user was bucketed into + /// - Throws: `OPTError` if error is detected + public func activate(experimentKey:String, + userId:String, + attributes:Dictionary?=nil) throws -> String { + + guard let experiment = config.experiments.filter({$0.key == experimentKey}).first else { + // TODO: refine error type + throw OPTError.experimentUnknown(experimentKey) + } + + let variation = try getVariation(experimentKey: experimentKey, userId: userId, attributes: attributes) + + // TODO: fix for error handling + guard let body = BatchEventBuilder.createImpressionEvent(config: config, + decisionService: decisionService, + experiment: experiment, + varionation: variation, + userId: userId, + attributes: attributes) else + { + // TODO: refine error type + throw OPTError.eventUnknown(experimentKey) + } + + let event = EventForDispatch(body: body) + eventDispatcher.dispatchEvent(event: event) { result in + switch result { + case .failure(let error): + self.logger.log(level: .error, message: "Failed to dispatch event " + error.localizedDescription) + case .success( _): + self.notificationCenter.sendNotifications(type: NotificationType.Activate.rawValue, args: [experiment, userId, attributes, variation, ["url":event.url as Any, "body":event.body as Any]]) + } + } + + return variation.key + } + + /// Get variation for experiment and user ID with user attributes. + /// + /// - Parameters: + /// - experimentKey: The key for the experiment. + /// - userId: The user ID to be used for bucketing. + /// - attributes: A map of attribute names to current user attribute values. + /// - Returns: The variation key the user was bucketed into + /// - Throws: `OPTError` if error is detected + public func getVariationKey(experimentKey:String, + userId:String, + attributes:Dictionary?=nil) throws -> String { + + let variation = try getVariation(experimentKey: experimentKey, userId: userId, attributes: attributes) + return variation.key + } + + func getVariation(experimentKey:String, + userId:String, + attributes:Dictionary?=nil) throws -> Variation { + + if let experiment = config?.experiments.filter({$0.key == experimentKey}).first, + let variation = decisionService.getVariation(userId: userId, experiment: experiment, attributes: attributes ?? [:]) { + return variation + } + + // TODO: refine errors + + throw OPTError.attributeFormatInvalid + } + + + /** + * Use the setForcedVariation method to force an experimentKey-userId + * pair into a specific variation for QA purposes. + * The forced bucketing feature allows customers to force users into + * variations in real time for QA purposes without requiring datafile + * downloads from the network. Methods activate and track are called + * as usual after the variation is set, but the user will be bucketed + * into the forced variation overriding any variation which would be + * computed via the network datafile. + */ + + /// Get forced variation for experiment and user ID. + /// + /// - Parameters: + /// - experimentKey: The key for the experiment. + /// - userId: The user ID to be used for bucketing. + /// - Returns: forced variation key if it exists, otherwise return nil. + /// - Throws: `OPTError` if error is detected + public func getForcedVariation(experimentKey:String, userId:String) throws -> String? { + guard let experiment = config.experiments.filter({$0.key == experimentKey}).first else { + // TODO: refine error-type + throw OPTError.experimentUnknown(experimentKey) + } + + guard let dict = config.whitelistUsers[userId], + let variationKey = dict[experimentKey] else + { + return nil + } + + guard let variation = experiment.variations.filter({$0.key == variationKey}).first else { + // TODO: refine error-type + throw OPTError.variationUnknown(variationKey) + } + + return variation.key + } + + + /// Set forced variation for experiment and user ID to variationKey. + /// + /// - Parameters: + /// - experimentKey The key for the experiment. + /// - userId The user ID to be used for bucketing. + /// - variationKey The variation the user should be forced into. + /// This value can be nil, in which case, the forced variation is cleared. + /// - Throws: `OPTError` if feature parameter is not valid + public func setForcedVariation(experimentKey:String, + userId:String, + variationKey:String?) throws { + + guard let _ = config.experiments.filter({$0.key == experimentKey}).first else { + // TODO: refine error-type + throw OPTError.experimentUnknown(experimentKey) + } + + guard var variationKey = variationKey else + { + config.whitelistUsers[userId]?.removeValue(forKey: experimentKey) + return + } + + variationKey = variationKey.trimmingCharacters(in: NSCharacterSet.whitespaces) + + guard !variationKey.isEmpty else { + // TODO: refine error-type + throw OPTError.variationUnknown(variationKey) + } + + var whitelist = config.whitelistUsers[userId] ?? [:] + whitelist[experimentKey] = variationKey + config.whitelistUsers[userId] = whitelist + } + + /// Determine whether a feature is enabled. + /// + /// - Parameters: + /// - featureKey The key for the feature flag. + /// - userId The user ID to be used for bucketing. + /// - attributes The user's attributes. + /// - Returns: true if feature is enabled, false otherwise. + /// - Throws: `OPTError` if feature parameter is not valid + public func isFeatureEnabled(featureKey: String, + userId: String, + attributes: Dictionary?=nil) throws -> Bool { + guard let featureFlag = config.featureFlags?.filter({$0.key == featureKey}).first else { + + // TODO: is this error? + return false + } + + guard let pair = decisionService.getVariationForFeature(featureFlag: featureFlag, userId: userId, attributes: attributes ?? [:]), + let experiment = pair.experiment, + let variation = pair.variation else + { + // TODO: refine error-type + throw OPTError.variationUnknown(featureKey) + } + + guard let featureEnabled = variation.featureEnabled else { + // TODO: refine error-type (what does nil-featureEnabled mean?) + throw OPTError.generic + } + + // TODO: fix for error handling + guard let body = BatchEventBuilder.createImpressionEvent(config: config, + decisionService: decisionService, + experiment: experiment, + varionation: variation, + userId: userId, + attributes: attributes) else + { + // TODO: refine error type + throw OPTError.eventUnknown(experiment.key) + } + + let event = EventForDispatch(body: body) + + eventDispatcher.dispatchEvent(event: event) { result in + switch result { + case .failure(let error): + self.logger.log(level: .error, message: "Failed to dispatch event " + error.localizedDescription) + case .success(_): + self.notificationCenter.sendNotifications(type: NotificationType.Activate.rawValue, args: [experiment, userId, attributes, variation, ["url":event.url as Any, "body":event.body as Any]]) + } + } + + return featureEnabled + } + + /// Gets boolean feature variable value. + /// + /// - Parameters: + /// - featureKey The key for the feature flag. + /// - variableKey The key for the variable. + /// - userId The user ID to be used for bucketing. + /// - attributes The user's attributes. + /// - Returns: feature variable value of type boolean. + /// - Throws: `OPTError` if feature parameter is not valid + public func getFeatureVariableBoolean(featureKey:String, + variableKey:String, + userId:String, + attributes:Dictionary?=nil) throws -> Bool { + + return try getFeatureVariable(featureKey: featureKey, + variableKey: variableKey, + userId: userId, + attributes: attributes) + } + + /// Gets double feature variable value. + /// + /// - Parameters: + /// - featureKey The key for the feature flag. + /// - variableKey The key for the variable. + /// - userId The user ID to be used for bucketing. + /// - attributes The user's attributes. + /// - Returns: feature variable value of type double. + /// - Throws: `OPTError` if feature parameter is not valid + public func getFeatureVariableDouble(featureKey:String, + variableKey:String, + userId:String, + attributes:Dictionary?=nil) throws -> Double { + + return try getFeatureVariable(featureKey: featureKey, + variableKey: variableKey, + userId: userId, + attributes: attributes) + } + + /// Gets integer feature variable value. + /// + /// - Parameters: + /// - featureKey The key for the feature flag. + /// - variableKey The key for the variable. + /// - userId The user ID to be used for bucketing. + /// - attributes The user's attributes. + /// - Returns: feature variable value of type integer. + /// - Throws: `OPTError` if feature parameter is not valid + public func getFeatureVariableInteger(featureKey:String, + variableKey:String, + userId:String, + attributes:Dictionary?=nil) throws -> Int { + + return try getFeatureVariable(featureKey: featureKey, + variableKey: variableKey, + userId: userId, + attributes: attributes) + } + + /// Gets string feature variable value. + /// + /// - Parameters: + /// - featureKey The key for the feature flag. + /// - variableKey The key for the variable. + /// - userId The user ID to be used for bucketing. + /// - attributes The user's attributes. + /// - Returns: feature variable value of type string. + /// - Throws: `OPTError` if feature parameter is not valid + public func getFeatureVariableString(featureKey: String, + variableKey: String, + userId: String, + attributes: Dictionary?=nil) throws -> String { + + return try getFeatureVariable(featureKey: featureKey, + variableKey: variableKey, + userId: userId, + attributes: attributes) + } + + func getFeatureVariable(featureKey: String, + variableKey: String, + userId: String, + attributes: Dictionary?=nil) throws -> T { + + guard let featureFlag = config.featureFlags?.filter({$0.key == featureKey}).first else { + // TODO: refine error-type + throw OPTError.generic + } + + guard let variable = featureFlag.variables?.filter({$0.key == variableKey}).first else { + // TODO: refine error-type + throw OPTError.generic + } + + guard let defaultValueString = variable.defaultValue else { + // TODO: refine error-type + throw OPTError.generic + } + + var typeName: String + var value: T + + switch T.self { + case is String.Type: + typeName = "string" + value = defaultValueString as! T + case is Int.Type: + typeName = "integer" + value = Int(defaultValueString) as! T + case is Double.Type: + typeName = "double" + value = Double(defaultValueString) as! T + case is Bool.Type: + typeName = "boolean" + value = Bool(defaultValueString) as! T + default: + // TODO: refine error-type + throw OPTError.generic + } + + guard variable.type == typeName else { + // TODO: refine error-type + throw OPTError.generic + } + + return value + } + + + /// Get array of features that are enabled for the user. + /// + /// - Parameters: + /// - userId: The user ID to be used for bucketing. + /// - attributes: The user's attributes. + /// - Returns: Array of feature keys that are enabled for the user. + /// - Throws: `OPTError` if feature parameter is not valid + public func getEnabledFeatures(userId:String, + attributes:Dictionary?=nil) throws -> Array { + + guard let featureFlags = config.featureFlags else { + // TODO: refine error type + throw OPTError.generic + } + + let enabledFeatures = try featureFlags.filter{ + try isFeatureEnabled(featureKey: $0.key, userId: userId, attributes: attributes) + } + + return enabledFeatures.map{$0.key} + } + + /// Track an event + /// + /// - Parameters: + /// - eventKey: The event name + /// - userId: The user ID associated with the event to track + /// - eventTags: A map of event tag names to event tag values (NSString or NSNumber containing float, double, integer, or boolean) + /// - Throws: `OPTError` if event parameter is not valid + public func track(eventKey:String, + userId:String, + eventTags:Dictionary?=nil) throws { + + // TODO: fix for error handling + guard let body = BatchEventBuilder.createConversionEvent(config: config, + decisionService: decisionService, + eventKey:eventKey, + userId:userId, + attributes:nil, + eventTags:eventTags) else + { + // TODO: refine error type + throw OPTError.eventUnknown(eventKey) + } + + let event = EventForDispatch(body: body) + eventDispatcher.dispatchEvent(event: event) { result in + switch result { + case .failure(let error): + self.logger.log(level: .error, message: "Failed to dispatch event " + error.localizedDescription) + case .success( _): + + // TODO: clean up notification + print("fix notification") + // self.notificationCenter?.sendNotifications(type: NotificationType.Track.rawValue, args: [eventKey, userId, attributes, eventTags, ["url":eventForDispatch.url as Any, "body":eventForDispatch.body as Any]]) + } + } + + } + +} diff --git a/OptimizelySDK/OptimizelySwiftSDK/OPTResult.swift b/OptimizelySDK/OptimizelySwiftSDK/OPTResult.swift new file mode 100644 index 000000000..8a41bbcc4 --- /dev/null +++ b/OptimizelySDK/OptimizelySwiftSDK/OPTResult.swift @@ -0,0 +1,19 @@ +// +// OPTResult.swift +// OptimizelySDK +// +// Created by Jae Kim on 12/19/18. +// Copyright © 2018 Optimizely. All rights reserved. +// + +import Foundation + +public enum OPTResult { + case success + case failure(OPTError) +} + +public enum OPTResultData { + case success(Value) + case failure(OPTError) +} diff --git a/OptimizelySDK/OptimizelySwiftSDK/OptimizelySwiftSDKiOS.h b/OptimizelySDK/OptimizelySwiftSDK/OptimizelySwiftSDKiOS.h new file mode 100644 index 000000000..0c96b44c8 --- /dev/null +++ b/OptimizelySDK/OptimizelySwiftSDK/OptimizelySwiftSDKiOS.h @@ -0,0 +1,19 @@ +// +// OptimizelySwiftSDKiOS.h +// OptimizelySwiftSDKiOS +// +// Created by Jae Kim on 1/7/19. +// Copyright © 2019 Optimizely. All rights reserved. +// + +#import + +//! Project version number for OptimizelySwiftSDKiOS. +FOUNDATION_EXPORT double OptimizelySwiftSDKiOSVersionNumber; + +//! Project version string for OptimizelySwiftSDKiOS. +FOUNDATION_EXPORT const unsigned char OptimizelySwiftSDKiOSVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/OptimizelySDK/OptimizelySDKTests/BucketTests.swift b/OptimizelySDK/OptimizelySwiftSDKiOSTests/BucketTests.swift similarity index 100% rename from OptimizelySDK/OptimizelySDKTests/BucketTests.swift rename to OptimizelySDK/OptimizelySwiftSDKiOSTests/BucketTests.swift diff --git a/OptimizelySDK/OptimizelySDKTests/DecisionServiceTest.swift b/OptimizelySDK/OptimizelySwiftSDKiOSTests/DecisionServiceTest.swift similarity index 100% rename from OptimizelySDK/OptimizelySDKTests/DecisionServiceTest.swift rename to OptimizelySDK/OptimizelySwiftSDKiOSTests/DecisionServiceTest.swift diff --git a/OptimizelySDK/OptimizelySDKTests/Info.plist b/OptimizelySDK/OptimizelySwiftSDKiOSTests/Info.plist similarity index 100% rename from OptimizelySDK/OptimizelySDKTests/Info.plist rename to OptimizelySDK/OptimizelySwiftSDKiOSTests/Info.plist diff --git a/OptimizelySDK/OptimizelySDKTests/OptimizelyManagerTests.swift b/OptimizelySDK/OptimizelySwiftSDKiOSTests/OptimizelyManagerTests.swift similarity index 100% rename from OptimizelySDK/OptimizelySDKTests/OptimizelyManagerTests.swift rename to OptimizelySDK/OptimizelySwiftSDKiOSTests/OptimizelyManagerTests.swift diff --git a/OptimizelySDK/OptimizelySDKTests/OptimizelySDKTests.swift b/OptimizelySDK/OptimizelySwiftSDKiOSTests/OptimizelySwiftSDKiOSTests.swift similarity index 98% rename from OptimizelySDK/OptimizelySDKTests/OptimizelySDKTests.swift rename to OptimizelySDK/OptimizelySwiftSDKiOSTests/OptimizelySwiftSDKiOSTests.swift index 466caf3ae..42bd8ab1b 100644 --- a/OptimizelySDK/OptimizelySDKTests/OptimizelySDKTests.swift +++ b/OptimizelySDK/OptimizelySwiftSDKiOSTests/OptimizelySwiftSDKiOSTests.swift @@ -1,24 +1,24 @@ // -// OptimizelySDKTests.swift -// OptimizelySDKTests +// OptimizelySwiftSDKiOSTests.swift +// OptimizelySwiftSDKiOSTests // -// Created by Thomas Zurkan on 11/26/18. -// Copyright © 2018 Optimizely. All rights reserved. +// Created by Jae Kim on 1/7/19. +// Copyright © 2019 Optimizely. All rights reserved. // import XCTest -@testable import OptimizelySDK +@testable import OptimizelySwiftSDK class OptimizelySDKTests: XCTestCase { - + override func setUp() { // Put setup code here. This method is called before the invocation of each test method in the class. } - + override func tearDown() { // Put teardown code here. This method is called after the invocation of each test method in the class. } - + func testExample() { // This is an example of a functional test case. let json = "{\"version\": \"4\", \"rollouts\": [{\"experiments\": [{\"status\": \"Running\", \"key\": \"11214290043\", \"layerId\": \"11216280045\", \"trafficAllocation\": [{\"entityId\": \"11196890101\", \"endOfRange\": 0}], \"audienceIds\": [], \"variations\": [{\"variables\": [{\"id\": \"11196660143\", \"value\": \"\"}], \"id\": \"11196890101\", \"key\": \"11196890101\", \"featureEnabled\": true}], \"forcedVariations\": {}, \"id\": \"11214290043\"}], \"id\": \"11216280045\"}], \"typedAudiences\": [], \"anonymizeIP\": true, \"projectId\": \"11102097459\", \"variables\": [], \"featureFlags\": [{\"experimentIds\": [\"11174010269\"], \"rolloutId\": \"11216280045\", \"variables\": [{\"defaultValue\": \"\", \"type\": \"string\", \"id\": \"11196660143\", \"key\": \"string_variable\"}], \"id\": \"11216320075\", \"key\": \"my_feature\"}], \"experiments\": [{\"status\": \"Running\", \"key\": \"my_experiment\", \"layerId\": \"11186120103\", \"trafficAllocation\": [{\"entityId\": \"11193600046\", \"endOfRange\": 5000}, {\"entityId\": \"11198460034\", \"endOfRange\": 10000}], \"audienceIds\": [], \"variations\": [{\"variables\": [{\"id\": \"11196660143\", \"value\": \"\"}], \"id\": \"11193600046\", \"key\": \"variation_1\", \"featureEnabled\": true}, {\"variables\": [], \"id\": \"11198460034\", \"key\": \"variation_2\", \"featureEnabled\": false}], \"forcedVariations\": {}, \"id\": \"11174010269\"}, {\"status\": \"Running\", \"key\": \"background_experiment\", \"layerId\": \"11150133482\", \"trafficAllocation\": [{\"entityId\": \"11146534908\", \"endOfRange\": 5000}, {\"entityId\": \"11192561814\", \"endOfRange\": 10000}], \"audienceIds\": [], \"variations\": [{\"variables\": [], \"id\": \"11146534908\", \"key\": \"variation_a\"}, {\"variables\": [], \"id\": \"11192561814\", \"key\": \"variation_b\"}], \"forcedVariations\": {}, \"id\": \"11178792174\"}], \"audiences\": [], \"groups\": [], \"attributes\": [], \"botFiltering\": false, \"accountId\": \"8362480420\", \"events\": [{\"experimentIds\": [\"11174010269\", \"11178792174\"], \"id\": \"11173400866\", \"key\": \"sample_conversion\"}, {\"experimentIds\": [\"11174010269\"], \"id\": \"11196870086\", \"key\": \"my_conversion\"}, {\"experimentIds\": [], \"id\": \"12115533234\", \"key\": \"newevent\"}], \"revision\": \"10\"}" @@ -49,7 +49,7 @@ class OptimizelySDKTests: XCTestCase { var attr = ["integerKey":1, "doubleKey": 99.0, "booleanKey": true, "nationality":"English"] as [String : Any] // all user attributes equate to true at this point. so, all conditions should pass. if audience.name == "INT" { - attr["integerKey"] = 2 + attr["integerKey"] = 2 } if ["Gryffindors","Slytherins"].contains(where: { $0 == audience.name }) { if "Gryffindors" == audience.name { @@ -65,12 +65,12 @@ class OptimizelySDKTests: XCTestCase { XCTAssertNotNil(config) } - + func testPerformanceExample() { // This is an example of a performance test case. self.measure { // Put the code you want to measure the time of here. } } - + } diff --git a/OptimizelySDK/OptimizelySwiftSDKtvOSTests/Info.plist b/OptimizelySDK/OptimizelySwiftSDKtvOSTests/Info.plist new file mode 100644 index 000000000..6c40a6cd0 --- /dev/null +++ b/OptimizelySDK/OptimizelySwiftSDKtvOSTests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/OptimizelySDK/OptimizelySwiftSDKtvOSTests/OptimizelySwiftSDKtvOSTests.swift b/OptimizelySDK/OptimizelySwiftSDKtvOSTests/OptimizelySwiftSDKtvOSTests.swift new file mode 100644 index 000000000..d9dff70f4 --- /dev/null +++ b/OptimizelySDK/OptimizelySwiftSDKtvOSTests/OptimizelySwiftSDKtvOSTests.swift @@ -0,0 +1,34 @@ +// +// OptimizelySwiftSDKtvOSTests.swift +// OptimizelySwiftSDKtvOSTests +// +// Created by Jae Kim on 1/7/19. +// Copyright © 2019 Optimizely. All rights reserved. +// + +import XCTest +@testable import OptimizelySwiftSDK + +class OptimizelySwiftSDKtvOSTests: XCTestCase { + + override func setUp() { + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDown() { + // Put teardown code here. This method is called after the invocation of each test method in the class. + } + + func testExample() { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + + func testPerformanceExample() { + // This is an example of a performance test case. + self.measure { + // Put the code you want to measure the time of here. + } + } + +} diff --git a/OptimizelySDK/implementation/DefaultBucketer.swift b/OptimizelySDK/implementation/DefaultBucketer.swift index 6713be77a..b1dc09908 100644 --- a/OptimizelySDK/implementation/DefaultBucketer.swift +++ b/OptimizelySDK/implementation/DefaultBucketer.swift @@ -14,14 +14,25 @@ class DefaultBucketer : Bucketer { let MAX_HASH_SEED:UInt64 = 1 var MAX_HASH_VALUE:UInt64? - private var config:ProjectConfig + private var config:ProjectConfig! private var logger = DefaultLogger.createInstance(logLevel: .debug) internal required init(config:ProjectConfig) { self.config = config - + + MAX_HASH_VALUE = MAX_HASH_SEED << 32 + } + + // [Jae]: let be configured after initialized (with custom DecisionHandler set up on OPTManger initialization) + init() { MAX_HASH_VALUE = MAX_HASH_SEED << 32 } + + func initialize(config:ProjectConfig) { + self.config = config + } + + static func createInstance(config: ProjectConfig) -> Bucketer? { return DefaultBucketer(config: config) diff --git a/OptimizelySDK/implementation/DefaultDatafileHandler.swift b/OptimizelySDK/implementation/DefaultDatafileHandler.swift index e3246ed0e..6fd7fbe5b 100644 --- a/OptimizelySDK/implementation/DefaultDatafileHandler.swift +++ b/OptimizelySDK/implementation/DefaultDatafileHandler.swift @@ -84,7 +84,7 @@ class DefaultDatafileHandler : DatafileHandler { logger?.log(level: .info, message: "Timer already started for datafile updates") return } - if #available(iOS 10.0, *) { + if #available(iOS 10.0, tvOS 10.0, *) { let timer = Timer.scheduledTimer(withTimeInterval: TimeInterval(updateInterval), repeats: true) { (timer) in self.downloadDatafile(sdkKey: sdkKey) { (result) in // background download saves to cache diff --git a/OptimizelySDK/implementation/DefaultDecisionService.swift b/OptimizelySDK/implementation/DefaultDecisionService.swift index 5c25ef003..6eeff8b0c 100644 --- a/OptimizelySDK/implementation/DefaultDecisionService.swift +++ b/OptimizelySDK/implementation/DefaultDecisionService.swift @@ -9,16 +9,27 @@ import Foundation class DefaultDecisionService : DecisionService { - let config:ProjectConfig - let bucketer:Bucketer - let userProfileService:UserProfileService - + var config:ProjectConfig! + var bucketer:Bucketer! + var userProfileService:UserProfileService! + internal required init(config:ProjectConfig, bucketer:Bucketer, userProfileService:UserProfileService) { self.config = config self.bucketer = bucketer self.userProfileService = userProfileService } + // [Jae]: let be configured after initialized (with custom DecisionHandler set up on OPTManger initialization) + init() {} + + func initialize(config:ProjectConfig, bucketer:Bucketer, userProfileService:UserProfileService) { + self.config = config + self.bucketer = bucketer + self.userProfileService = userProfileService + } + + + static func createInstance(config: ProjectConfig, bucketer: Bucketer, userProfileService:UserProfileService) -> DecisionService? { return DefaultDecisionService(config: config, bucketer: bucketer, userProfileService: userProfileService) } diff --git a/OptimizelySDK/protocols/Bucketer.swift b/OptimizelySDK/protocols/Bucketer.swift index 0af601b5f..5173b0594 100644 --- a/OptimizelySDK/protocols/Bucketer.swift +++ b/OptimizelySDK/protocols/Bucketer.swift @@ -24,6 +24,9 @@ public protocol Bucketer { */ static func createInstance(config:ProjectConfig) -> Bucketer? + // [Jae]: let be configured after initialized (with custom DecisionHandler set up on OPTManger initialization) + func initialize(config:ProjectConfig) + /** * Bucket experiment based on bucket value and traffic allocations. * @param group representing Group from which experiment belongs to. diff --git a/OptimizelySDK/protocols/DecisionService.swift b/OptimizelySDK/protocols/DecisionService.swift index 3c8772f25..7d684c5f4 100644 --- a/OptimizelySDK/protocols/DecisionService.swift +++ b/OptimizelySDK/protocols/DecisionService.swift @@ -27,6 +27,11 @@ public protocol DecisionService { */ static func createInstance(config:ProjectConfig, bucketer:Bucketer, userProfileService:UserProfileService) -> DecisionService? + + // [Jae]: let be configured after initialized (with custom DecisionHandler set up on OPTManger initialization) + func initialize(config:ProjectConfig, bucketer:Bucketer, userProfileService:UserProfileService) + + /** * Gets a variation based on the following rules (evaluated in sequential order): * diff --git a/OptimizelySDK.podspec b/OptimizelySwiftSDK.podspec similarity index 65% rename from OptimizelySDK.podspec rename to OptimizelySwiftSDK.podspec index c0b916668..4697e49b2 100644 --- a/OptimizelySDK.podspec +++ b/OptimizelySwiftSDK.podspec @@ -1,19 +1,19 @@ Pod::Spec.new do |s| - s.name = "OptimizelySDK" - s.version = "1.0.0" + s.name = "OptimizelySwiftSDK" + s.version = "3.0.0" s.summary = "Optimizely server-side testing core framework." s.homepage = "http://developers.optimizely.com/server/reference/index.html?language=objectivec" s.license = { :type => "Apache License, Version 2.0", :file => "LICENSE" } s.author = { "Optimizely" => "support@optimizely.com" } - s.ios.deployment_target = "8.0" - s.tvos.deployment_target = "9.0" + s.ios.deployment_target = "10.0" + s.tvos.deployment_target = "10.0" s.source = { :git => "https://github.com/optimizely/swift-sdk.git", :tag => "v"+s.version.to_s } - s.source_files = "OptimizelySDK/**/*.{swift}" - s.exclude_files = "OptimizelySDK/OptimizelySDKTests/**/*.{swift}" - s.public_header_files = "OptimizelySDK" + s.source_files = "OptimizelySDK/**/*.{swift,h}" + s.public_header_files = "OptimizelySDK/OptimizelySwiftSDK/*.h" + s.exclude_files = "OptimizelySDK/OptimizelySwiftSDK*Tests/**/*" s.framework = "Foundation" s.requires_arc = true s.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => "OPTIMIZELY_SDK_VERSION=@\\\"#{s.version}\\\"" } diff --git a/Podfile b/Podfile index 750ca5592..ffe07cc9d 100644 --- a/Podfile +++ b/Podfile @@ -10,20 +10,40 @@ end use_frameworks! -# OptimizelyiOSDemoApp target -target 'OptimizelyiOSDemoApp' do - project 'OptimizelyDemoApp/OptimizelyDemoApp.xcodeproj/' - platform :ios, '8.0' +# DemoSwiftiOS target +target 'DemoSwiftiOS' do + project 'DemoSwiftApp/DemoSwiftApp.xcodeproj/' + platform :ios, '10.0' use_frameworks! analytics_pods - pod 'OptimizelySDKiOS', '2.1.4' + # use local SDK framework + #pod 'OptimizelySwiftSDK', :path => '.' end -# OptimizelyTVOSDemoApp target -target 'OptimizelyTVOSDemoApp' do - project 'OptimizelyDemoApp/OptimizelyDemoApp.xcodeproj/' - platform :tvos, '9.0' +# DemoSwifttvOS target +target 'DemoSwifttvOS' do + project 'DemoSwiftApp/DemoSwiftApp.xcodeproj/' + platform :tvos, '10.0' - pod 'OptimizelySDKTVOS', '2.1.4' + # use local SDK framework + #pod 'OptimizelySwiftSDK', :path => '.' +end + +# DemoObjciOS target +target 'DemoObjciOS' do + project 'DemoObjcApp/DemoObjcApp.xcodeproj/' + platform :ios, '10.0' + use_frameworks! + analytics_pods + + ##pod 'OptimizelySDKiOS', '2.1.4' +end + +# DemoObjctvOS target +target 'DemoObjctvOS' do + project 'DemoObjcApp/DemoObjcApp.xcodeproj/' + platform :tvos, '10.0' + + ##pod 'OptimizelySDKTVOS', '2.1.4' end diff --git a/Podfile.lock b/Podfile.lock index d9a4f95e6..e77b5de8c 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -21,31 +21,12 @@ PODS: - Mixpanel-swift (2.5.5): - Mixpanel-swift/Complete (= 2.5.5) - Mixpanel-swift/Complete (2.5.5) - - OptimizelySDKCore (2.1.4) - - OptimizelySDKDatafileManager (2.1.4): - - OptimizelySDKShared (= 2.1.4) - - OptimizelySDKEventDispatcher (2.1.4): - - OptimizelySDKShared (= 2.1.4) - - OptimizelySDKiOS (2.1.4): - - OptimizelySDKDatafileManager (= 2.1.4) - - OptimizelySDKEventDispatcher (= 2.1.4) - - OptimizelySDKUserProfileService (= 2.1.4) - - OptimizelySDKShared (2.1.4): - - OptimizelySDKCore (= 2.1.4) - - OptimizelySDKTVOS (2.1.4): - - OptimizelySDKDatafileManager (= 2.1.4) - - OptimizelySDKEventDispatcher (= 2.1.4) - - OptimizelySDKUserProfileService (= 2.1.4) - - OptimizelySDKUserProfileService (2.1.4): - - OptimizelySDKShared (= 2.1.4) DEPENDENCIES: - Amplitude-iOS - Google/Analytics - Localytics - Mixpanel-swift - - OptimizelySDKiOS (= 2.1.4) - - OptimizelySDKTVOS (= 2.1.4) SPEC REPOS: https://github.com/cocoapods/specs.git: @@ -58,13 +39,6 @@ SPEC REPOS: - GoogleToolboxForMac - Localytics - Mixpanel-swift - - OptimizelySDKCore - - OptimizelySDKDatafileManager - - OptimizelySDKEventDispatcher - - OptimizelySDKiOS - - OptimizelySDKShared - - OptimizelySDKTVOS - - OptimizelySDKUserProfileService SPEC CHECKSUMS: Amplitude-iOS: 3e9a5f8aeadc885801c78f24b80efa25ff457ca4 @@ -76,14 +50,7 @@ SPEC CHECKSUMS: GoogleToolboxForMac: ff31605b7d66400dcec09bed5861689aebadda4d Localytics: 578987f2f1d5cbc66719255b88c590430e5680dd Mixpanel-swift: 92fd02942ef4bf5a1bd0630a88223a417b8c8b39 - OptimizelySDKCore: 17e6cee67f720ab09128e97b2b983b89cd50c145 - OptimizelySDKDatafileManager: 3b00a6ef6f89cb7455e4092316b1679d456b5efc - OptimizelySDKEventDispatcher: 4d6059fcbf97ae5182b13d5af50a2bc55ca7638d - OptimizelySDKiOS: 409e22b1ec22cd5f5f288acdcedfc2d034c016b2 - OptimizelySDKShared: d3c2afca439279220f61a5b5de52f49c61b43f4d - OptimizelySDKTVOS: c9760a1852138449ee11f8c5ea1b6e7a71c4cb88 - OptimizelySDKUserProfileService: 657f338f74963885a619ad7ef1d43f9059362d82 -PODFILE CHECKSUM: adedca0f02d221542e471a8ed89b1642d0012701 +PODFILE CHECKSUM: 351b6ae87aab91085d4cf7aa7e3a3540f6226b54 COCOAPODS: 1.5.3