From 126976205cda0e1d343886b6fc2e1cd81d519da5 Mon Sep 17 00:00:00 2001 From: Sharad Binjola <31142146+sharadb-amazon@users.noreply.github.com> Date: Tue, 31 May 2022 22:08:57 -0700 Subject: [PATCH] Bootstrap iOS port of the tv-casting-app (#18924) * Removing old Obj-C darwin dir for tv-casting-app * Added new directory structure for a Swift based TvCastingApp for iOS --- .github/.wordlist.txt | 1 + examples/tv-casting-app/darwin/.gitignore | 166 +++++ .../MatterBridge/CastingServerBridge.h} | 17 +- .../MatterBridge/CastingServerBridge.mm} | 9 +- .../MatterBridge/TvCasting-Bridging-Header.h} | 8 +- .../tv-casting-app/darwin/TvCasting/README.md | 80 +++ .../TvCasting.xcodeproj/project.pbxproj | 368 +++++++++++ .../xcshareddata/xcschemes/TvCasting.xcscheme | 78 +++ .../AccentColor.colorset/Contents.json | 0 .../AppIcon.appiconset/Contents.json | 0 .../TvCasting}/Assets.xcassets/Contents.json | 0 .../TvCasting/ContentView.swift} | 23 +- .../Preview Assets.xcassets}/Contents.json | 0 .../TvCasting/TvCastingApp.swift} | 13 +- .../contents.xcworkspacedata | 2 +- .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../darwin/darwin.xcodeproj/project.pbxproj | 587 ------------------ .../darwin/darwin/AppDelegate.m | 51 -- .../darwin/Base.lproj/LaunchScreen.storyboard | 25 - .../darwin/darwin/Base.lproj/Main.storyboard | 24 - .../tv-casting-app/darwin/darwin/Info.plist | 66 -- .../darwin/darwin/SceneDelegate.h | 24 - .../darwin/darwin/SceneDelegate.m | 68 -- examples/tv-casting-app/darwin/darwin/main.m | 29 - .../darwin/darwinTests/Info.plist | 22 - .../darwin/darwinTests/darwinTests.m | 50 -- .../darwin/darwinUITests/Info.plist | 22 - .../darwin/darwinUITests/darwinUITests.m | 63 -- .../iOSTVCastingApp.xcodeproj/project.pbxproj | 587 ------------------ .../iOSTVCastingApp/AppDelegate.h | 22 - .../iOSTVCastingApp/AppDelegate.m | 51 -- .../AccentColor.colorset/Contents.json | 11 - .../AppIcon.appiconset/Contents.json | 98 --- .../Base.lproj/LaunchScreen.storyboard | 25 - .../Base.lproj/Main.storyboard | 24 - .../iOSTVCastingApp/Info.plist | 66 -- .../iOSTVCastingApp/SceneDelegate.h | 24 - .../iOSTVCastingApp/SceneDelegate.m | 68 -- .../iOSTVCastingApp/iOSTVCastingApp/main.m | 29 - .../iOSTVCastingAppTests/Info.plist | 22 - .../iOSTVCastingAppTests.m | 50 -- .../iOSTVCastingAppUITests/Info.plist | 22 - .../iOSTVCastingAppUITests.m | 63 -- 43 files changed, 732 insertions(+), 2226 deletions(-) create mode 100644 examples/tv-casting-app/darwin/.gitignore rename examples/tv-casting-app/darwin/{iOSTVCastingApp/iOSTVCastingApp/ViewController.m => TvCasting/MatterBridge/CastingServerBridge.h} (76%) rename examples/tv-casting-app/darwin/{darwin/ViewController.h => TvCasting/MatterBridge/CastingServerBridge.mm} (83%) rename examples/tv-casting-app/darwin/{iOSTVCastingApp/iOSTVCastingApp/ViewController.h => TvCasting/MatterBridge/TvCasting-Bridging-Header.h} (88%) create mode 100644 examples/tv-casting-app/darwin/TvCasting/README.md create mode 100644 examples/tv-casting-app/darwin/TvCasting/TvCasting.xcodeproj/project.pbxproj create mode 100644 examples/tv-casting-app/darwin/TvCasting/TvCasting.xcodeproj/xcshareddata/xcschemes/TvCasting.xcscheme rename examples/tv-casting-app/darwin/{darwin => TvCasting/TvCasting}/Assets.xcassets/AccentColor.colorset/Contents.json (100%) rename examples/tv-casting-app/darwin/{darwin => TvCasting/TvCasting}/Assets.xcassets/AppIcon.appiconset/Contents.json (100%) rename examples/tv-casting-app/darwin/{darwin => TvCasting/TvCasting}/Assets.xcassets/Contents.json (100%) rename examples/tv-casting-app/darwin/{darwin/ViewController.m => TvCasting/TvCasting/ContentView.swift} (67%) rename examples/tv-casting-app/darwin/{iOSTVCastingApp/iOSTVCastingApp/Assets.xcassets => TvCasting/TvCasting/Preview Content/Preview Assets.xcassets}/Contents.json (100%) rename examples/tv-casting-app/darwin/{darwin/AppDelegate.h => TvCasting/TvCasting/TvCastingApp.swift} (82%) rename examples/tv-casting-app/darwin/{Darwin.xcworkspace => TvCastingDarwin.xcworkspace}/contents.xcworkspacedata (61%) rename examples/tv-casting-app/darwin/{Darwin.xcworkspace => TvCastingDarwin.xcworkspace}/xcshareddata/IDEWorkspaceChecks.plist (100%) delete mode 100644 examples/tv-casting-app/darwin/darwin.xcodeproj/project.pbxproj delete mode 100644 examples/tv-casting-app/darwin/darwin/AppDelegate.m delete mode 100644 examples/tv-casting-app/darwin/darwin/Base.lproj/LaunchScreen.storyboard delete mode 100644 examples/tv-casting-app/darwin/darwin/Base.lproj/Main.storyboard delete mode 100644 examples/tv-casting-app/darwin/darwin/Info.plist delete mode 100644 examples/tv-casting-app/darwin/darwin/SceneDelegate.h delete mode 100644 examples/tv-casting-app/darwin/darwin/SceneDelegate.m delete mode 100644 examples/tv-casting-app/darwin/darwin/main.m delete mode 100644 examples/tv-casting-app/darwin/darwinTests/Info.plist delete mode 100644 examples/tv-casting-app/darwin/darwinTests/darwinTests.m delete mode 100644 examples/tv-casting-app/darwin/darwinUITests/Info.plist delete mode 100644 examples/tv-casting-app/darwin/darwinUITests/darwinUITests.m delete mode 100644 examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp.xcodeproj/project.pbxproj delete mode 100644 examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/AppDelegate.h delete mode 100644 examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/AppDelegate.m delete mode 100644 examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/Assets.xcassets/AccentColor.colorset/Contents.json delete mode 100644 examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/Assets.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/Base.lproj/LaunchScreen.storyboard delete mode 100644 examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/Base.lproj/Main.storyboard delete mode 100644 examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/Info.plist delete mode 100644 examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/SceneDelegate.h delete mode 100644 examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/SceneDelegate.m delete mode 100644 examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/main.m delete mode 100644 examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingAppTests/Info.plist delete mode 100644 examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingAppTests/iOSTVCastingAppTests.m delete mode 100644 examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingAppUITests/Info.plist delete mode 100644 examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingAppUITests/iOSTVCastingAppUITests.m diff --git a/.github/.wordlist.txt b/.github/.wordlist.txt index da19c93eaf202a..8bfa3ad32d0c68 100644 --- a/.github/.wordlist.txt +++ b/.github/.wordlist.txt @@ -1309,6 +1309,7 @@ ttyACMx ttymxc ttyUSB TurbidityConcentrationMeasurement +TvCasting TXD txt uargument diff --git a/examples/tv-casting-app/darwin/.gitignore b/examples/tv-casting-app/darwin/.gitignore new file mode 100644 index 00000000000000..7648468d4949b3 --- /dev/null +++ b/examples/tv-casting-app/darwin/.gitignore @@ -0,0 +1,166 @@ +### C++ ### +# Prerequisites +*.d + +# Compiled Object files +*.slo +*.lo +*.o +*.obj + +# Precompiled Headers +*.gch +*.pch + +# Compiled Dynamic libraries +*.so +*.dylib +*.dll + +# Fortran module files +*.mod +*.smod + +# Compiled Static libraries +*.lai +*.la +*.a +*.lib + +# Executables +*.exe +*.out +*.app + +### Objective-C ### +# Xcode +# +# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore + +## User settings +xcuserdata/ + +## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9) +*.xcscmblueprint +*.xccheckout + +## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4) +build/ +DerivedData/ +*.moved-aside +*.pbxuser +!default.pbxuser +*.mode1v3 +!default.mode1v3 +*.mode2v3 +!default.mode2v3 +*.perspectivev3 +!default.perspectivev3 + +## Obj-C/Swift specific +*.hmap + +## App packaging +*.ipa +*.dSYM.zip +*.dSYM + +# CocoaPods +# We recommend against adding the Pods directory to your .gitignore. However +# you should judge for yourself, the pros and cons are mentioned at: +# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control +# Pods/ +# Add this line if you want to avoid checking in source code from the Xcode workspace +# *.xcworkspace + +# Carthage +# Add this line if you want to avoid checking in source code from Carthage dependencies. +# Carthage/Checkouts + +Carthage/Build/ + +# fastlane +# It is recommended to not store the screenshots in the git repo. +# Instead, use fastlane to re-generate the screenshots whenever they are needed. +# For more information about the recommended setup visit: +# https://docs.fastlane.tools/best-practices/source-control/#source-control + +fastlane/report.xml +fastlane/Preview.html +fastlane/screenshots/**/*.png +fastlane/test_output + +# Code Injection +# After new code Injection tools there's a generated folder /iOSInjectionProject +# https://github.com/johnno1962/injectionforxcode + +iOSInjectionProject/ + +### Objective-C Patch ### + +### Swift ### +# Xcode +# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore + + + + + + +## Playgrounds +timeline.xctimeline +playground.xcworkspace + +# Swift Package Manager +# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. +# Packages/ +# Package.pins +# Package.resolved +# *.xcodeproj +# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata +# hence it is not needed unless you have added a package configuration file to your project +# .swiftpm + +.build/ + +# CocoaPods +# We recommend against adding the Pods directory to your .gitignore. However +# you should judge for yourself, the pros and cons are mentioned at: +# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control +# Pods/ +# Add this line if you want to avoid checking in source code from the Xcode workspace +# *.xcworkspace + +# Carthage +# Add this line if you want to avoid checking in source code from Carthage dependencies. +# Carthage/Checkouts + + +# Accio dependency management +Dependencies/ +.accio/ + +# fastlane +# It is recommended to not store the screenshots in the git repo. +# Instead, use fastlane to re-generate the screenshots whenever they are needed. +# For more information about the recommended setup visit: +# https://docs.fastlane.tools/best-practices/source-control/#source-control + + +# Code Injection +# After new code Injection tools there's a generated folder /iOSInjectionProject +# https://github.com/johnno1962/injectionforxcode + + +### Xcode ### + +## Xcode 8 and earlier + +### Xcode Patch ### +*.xcodeproj/* +!*.xcodeproj/project.pbxproj +!*.xcodeproj/xcshareddata/ +!*.xcworkspace/contents.xcworkspacedata +/*.gcno +**/xcshareddata/WorkspaceSettings.xcsettings + diff --git a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/ViewController.m b/examples/tv-casting-app/darwin/TvCasting/MatterBridge/CastingServerBridge.h similarity index 76% rename from examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/ViewController.m rename to examples/tv-casting-app/darwin/TvCasting/MatterBridge/CastingServerBridge.h index 8d070158ac42e7..7a5a5ff2fa04fe 100644 --- a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/ViewController.m +++ b/examples/tv-casting-app/darwin/TvCasting/MatterBridge/CastingServerBridge.h @@ -15,18 +15,15 @@ * limitations under the License. */ -#import "ViewController.h" +#import -@interface ViewController () +#ifndef CastingServerBridge_h +#define CastingServerBridge_h -@end - -@implementation ViewController +@interface CastingServerBridge : NSObject -- (void)viewDidLoad -{ - [super viewDidLoad]; - // Do any additional setup after loading the view. -} +- (int)add:(int)a secondNum:(int)b; @end + +#endif /* CastingServerBridge_h */ diff --git a/examples/tv-casting-app/darwin/darwin/ViewController.h b/examples/tv-casting-app/darwin/TvCasting/MatterBridge/CastingServerBridge.mm similarity index 83% rename from examples/tv-casting-app/darwin/darwin/ViewController.h rename to examples/tv-casting-app/darwin/TvCasting/MatterBridge/CastingServerBridge.mm index e122b5c9ad9c0c..620b34e8cea3ab 100644 --- a/examples/tv-casting-app/darwin/darwin/ViewController.h +++ b/examples/tv-casting-app/darwin/TvCasting/MatterBridge/CastingServerBridge.mm @@ -15,8 +15,13 @@ * limitations under the License. */ -#import +#import "CastingServerBridge.h" -@interface ViewController : UIViewController +@implementation CastingServerBridge + +- (int)add:(int)a secondNum:(int)b +{ + return a + b; +} @end diff --git a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/ViewController.h b/examples/tv-casting-app/darwin/TvCasting/MatterBridge/TvCasting-Bridging-Header.h similarity index 88% rename from examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/ViewController.h rename to examples/tv-casting-app/darwin/TvCasting/MatterBridge/TvCasting-Bridging-Header.h index e122b5c9ad9c0c..ed7fd614f2beae 100644 --- a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/ViewController.h +++ b/examples/tv-casting-app/darwin/TvCasting/MatterBridge/TvCasting-Bridging-Header.h @@ -15,8 +15,8 @@ * limitations under the License. */ -#import +// +// TvCasting's Public headers exposed to Swift +// -@interface ViewController : UIViewController - -@end +#import "CastingServerBridge.h" diff --git a/examples/tv-casting-app/darwin/TvCasting/README.md b/examples/tv-casting-app/darwin/TvCasting/README.md new file mode 100644 index 00000000000000..4b4d44fdc40133 --- /dev/null +++ b/examples/tv-casting-app/darwin/TvCasting/README.md @@ -0,0 +1,80 @@ +# Matter TV Casting iOS App Example + +This is a Matter TV Casting iOS app that can be used to cast content to a TV. +This app discovers TVs on the local network that act as commissioners, lets the +user select one, sends the TV a User Directed Commissioning request, enters +commissioning mode, advertises itself as a Commissionable Node and gets +commissioned. Then it allows the user to send Matter ContentLauncher commands to +the TV. + +--- + +- [Matter TV Casting iOS App Example](#matter-tv-casting-ios-app-example) + - [Building the Application](#building-the-application) + - [Compilation Fixes](#compilation-fixes) + - [Installing the Application](#installing-the-application) + +--- + +## Building the Application + +Matter TV Casting iOS App Example can be built with the latest Xcode releases. + +- Open the `TvCastingDarwin.xcworkspace` file located in + `examples/tv-casting-app/darwin` with Xcode. + +- Then select the `TvCasting` scheme at the top. + +- Running the `TvCasting` scheme in Xcode (select the scheme and then hit the + "play button" to "run" the scheme) will attempt to compile the application + and then install it to the connected iOS device selected in the scheme. + +Because we do not share a developer group, directly running this scheme will +fail with missing signing configuration errors. + +You need to update the Project configuration for TvCasting app to use your +Personal Developer account and a unique Bundle ID. + +### Compilation Fixes + +Before you can run the `TvCasting` scheme, you need to amend the +`project.pbxproj` file for the TvCasting app project. The file is located here +`examples/tv-casting-app/darwin/TvCasting/TvCasting.xcodeproj/project.pbxproj`. + +You can choose to amend this file via Xcode directly or manually with any text +editor. This Readme will focus on doing it via Xcode. + +- With the `TvCastingDarwin.xcworkspace` loaded, you should see 1 project on + the left side pane in Xcode. `TvCasting` + +- Selecting `TvCasting` should bring up the project configuration view in + Xcode. Next, select the `Signing & Capabilities` tab. + +- Perform the following steps to enable building TvCasting app: + + 1. Ensure "Automatically manage signing" is checked + + 2. Select your Personal Team in the "Team" dropdown. + + 3. Change the bundle identifier from `com.matter.TvCasting` to something + unique, like `com.matter.TvCasting-username`. These bundle IDs get + reserved for a short amount of time and so it's best to use something + only you might think of to avoid conflicts (you'll see that the default + bundle ID does not work if you skip this step). + + 4. Confirm that the Signing Certificate now says "Apple Development: + " + +Now you can install TvCasting app to your connected iOS device by clicking on +the "Play"/Run icon. + +## Installing the Application + +The first time you install this application to your iOS device, Xcode will not +be able to launch it. This is because iOS prevents arbitrary developer apps from +running prior to user consent. To give this application consent, navigate to +`Settings->General->VPN & Device Management` and give TvCasting app permission +to run. + +Now you can launch the application from the Home screen or from Xcode by hitting +the run button once more. diff --git a/examples/tv-casting-app/darwin/TvCasting/TvCasting.xcodeproj/project.pbxproj b/examples/tv-casting-app/darwin/TvCasting/TvCasting.xcodeproj/project.pbxproj new file mode 100644 index 00000000000000..cd5c6735953e38 --- /dev/null +++ b/examples/tv-casting-app/darwin/TvCasting/TvCasting.xcodeproj/project.pbxproj @@ -0,0 +1,368 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 55; + objects = { + +/* Begin PBXBuildFile section */ + 3CC0E8FA2841DD3400EC6A18 /* TvCastingApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3CC0E8F92841DD3400EC6A18 /* TvCastingApp.swift */; }; + 3CC0E8FC2841DD3400EC6A18 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3CC0E8FB2841DD3400EC6A18 /* ContentView.swift */; }; + 3CC0E8FE2841DD3500EC6A18 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3CC0E8FD2841DD3500EC6A18 /* Assets.xcassets */; }; + 3CC0E9012841DD3500EC6A18 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3CC0E9002841DD3500EC6A18 /* Preview Assets.xcassets */; }; + 3CC0E90A2841DD7000EC6A18 /* CastingServerBridge.mm in Sources */ = {isa = PBXBuildFile; fileRef = 3CC0E9092841DD7000EC6A18 /* CastingServerBridge.mm */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 3CC0E8F62841DD3400EC6A18 /* TvCasting.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TvCasting.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 3CC0E8F92841DD3400EC6A18 /* TvCastingApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TvCastingApp.swift; sourceTree = ""; }; + 3CC0E8FB2841DD3400EC6A18 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; + 3CC0E8FD2841DD3500EC6A18 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 3CC0E9002841DD3500EC6A18 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; + 3CC0E9082841DD6F00EC6A18 /* TvCasting-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "TvCasting-Bridging-Header.h"; sourceTree = ""; }; + 3CC0E9092841DD7000EC6A18 /* CastingServerBridge.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = CastingServerBridge.mm; sourceTree = ""; }; + 3CC0E90B2841DD8500EC6A18 /* CastingServerBridge.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CastingServerBridge.h; sourceTree = ""; }; + 3CC0E90C2841DECC00EC6A18 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 3CC0E8F32841DD3400EC6A18 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 3CC0E8ED2841DD3400EC6A18 = { + isa = PBXGroup; + children = ( + 3CC0E90C2841DECC00EC6A18 /* README.md */, + 3CC0E8F82841DD3400EC6A18 /* TvCasting */, + 3CC0E9072841DD4B00EC6A18 /* MatterBridge */, + 3CC0E8F72841DD3400EC6A18 /* Products */, + ); + sourceTree = ""; + }; + 3CC0E8F72841DD3400EC6A18 /* Products */ = { + isa = PBXGroup; + children = ( + 3CC0E8F62841DD3400EC6A18 /* TvCasting.app */, + ); + name = Products; + sourceTree = ""; + }; + 3CC0E8F82841DD3400EC6A18 /* TvCasting */ = { + isa = PBXGroup; + children = ( + 3CC0E8F92841DD3400EC6A18 /* TvCastingApp.swift */, + 3CC0E8FB2841DD3400EC6A18 /* ContentView.swift */, + 3CC0E8FD2841DD3500EC6A18 /* Assets.xcassets */, + 3CC0E8FF2841DD3500EC6A18 /* Preview Content */, + ); + path = TvCasting; + sourceTree = ""; + }; + 3CC0E8FF2841DD3500EC6A18 /* Preview Content */ = { + isa = PBXGroup; + children = ( + 3CC0E9002841DD3500EC6A18 /* Preview Assets.xcassets */, + ); + path = "Preview Content"; + sourceTree = ""; + }; + 3CC0E9072841DD4B00EC6A18 /* MatterBridge */ = { + isa = PBXGroup; + children = ( + 3CC0E9092841DD7000EC6A18 /* CastingServerBridge.mm */, + 3CC0E9082841DD6F00EC6A18 /* TvCasting-Bridging-Header.h */, + 3CC0E90B2841DD8500EC6A18 /* CastingServerBridge.h */, + ); + path = MatterBridge; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 3CC0E8F52841DD3400EC6A18 /* TvCasting */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3CC0E9042841DD3500EC6A18 /* Build configuration list for PBXNativeTarget "TvCasting" */; + buildPhases = ( + 3CC0E8F22841DD3400EC6A18 /* Sources */, + 3CC0E8F32841DD3400EC6A18 /* Frameworks */, + 3CC0E8F42841DD3400EC6A18 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = TvCasting; + productName = TvCasting; + productReference = 3CC0E8F62841DD3400EC6A18 /* TvCasting.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 3CC0E8EE2841DD3400EC6A18 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1320; + LastUpgradeCheck = 1320; + TargetAttributes = { + 3CC0E8F52841DD3400EC6A18 = { + CreatedOnToolsVersion = 13.2.1; + LastSwiftMigration = 1320; + }; + }; + }; + buildConfigurationList = 3CC0E8F12841DD3400EC6A18 /* Build configuration list for PBXProject "TvCasting" */; + compatibilityVersion = "Xcode 13.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 3CC0E8ED2841DD3400EC6A18; + productRefGroup = 3CC0E8F72841DD3400EC6A18 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 3CC0E8F52841DD3400EC6A18 /* TvCasting */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 3CC0E8F42841DD3400EC6A18 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3CC0E9012841DD3500EC6A18 /* Preview Assets.xcassets in Resources */, + 3CC0E8FE2841DD3500EC6A18 /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 3CC0E8F22841DD3400EC6A18 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3CC0E90A2841DD7000EC6A18 /* CastingServerBridge.mm in Sources */, + 3CC0E8FC2841DD3400EC6A18 /* ContentView.swift in Sources */, + 3CC0E8FA2841DD3400EC6A18 /* TvCastingApp.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 3CC0E9022841DD3500EC6A18 /* 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++17"; + 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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + 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; + 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 = 15.2; + 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"; + }; + name = Debug; + }; + 3CC0E9032841DD3500EC6A18 /* 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++17"; + 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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + 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; + 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 = 15.2; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 3CC0E9052841DD3500EC6A18 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"TvCasting/Preview Content\""; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.matter.TvCasting; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_OBJC_BRIDGING_HEADER = "MatterBridge/TvCasting-Bridging-Header.h"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 3CC0E9062841DD3500EC6A18 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"TvCasting/Preview Content\""; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.matter.TvCasting; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_OBJC_BRIDGING_HEADER = "MatterBridge/TvCasting-Bridging-Header.h"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 3CC0E8F12841DD3400EC6A18 /* Build configuration list for PBXProject "TvCasting" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3CC0E9022841DD3500EC6A18 /* Debug */, + 3CC0E9032841DD3500EC6A18 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 3CC0E9042841DD3500EC6A18 /* Build configuration list for PBXNativeTarget "TvCasting" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3CC0E9052841DD3500EC6A18 /* Debug */, + 3CC0E9062841DD3500EC6A18 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 3CC0E8EE2841DD3400EC6A18 /* Project object */; +} diff --git a/examples/tv-casting-app/darwin/TvCasting/TvCasting.xcodeproj/xcshareddata/xcschemes/TvCasting.xcscheme b/examples/tv-casting-app/darwin/TvCasting/TvCasting.xcodeproj/xcshareddata/xcschemes/TvCasting.xcscheme new file mode 100644 index 00000000000000..d09946d0f6a346 --- /dev/null +++ b/examples/tv-casting-app/darwin/TvCasting/TvCasting.xcodeproj/xcshareddata/xcschemes/TvCasting.xcscheme @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/tv-casting-app/darwin/darwin/Assets.xcassets/AccentColor.colorset/Contents.json b/examples/tv-casting-app/darwin/TvCasting/TvCasting/Assets.xcassets/AccentColor.colorset/Contents.json similarity index 100% rename from examples/tv-casting-app/darwin/darwin/Assets.xcassets/AccentColor.colorset/Contents.json rename to examples/tv-casting-app/darwin/TvCasting/TvCasting/Assets.xcassets/AccentColor.colorset/Contents.json diff --git a/examples/tv-casting-app/darwin/darwin/Assets.xcassets/AppIcon.appiconset/Contents.json b/examples/tv-casting-app/darwin/TvCasting/TvCasting/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from examples/tv-casting-app/darwin/darwin/Assets.xcassets/AppIcon.appiconset/Contents.json rename to examples/tv-casting-app/darwin/TvCasting/TvCasting/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/examples/tv-casting-app/darwin/darwin/Assets.xcassets/Contents.json b/examples/tv-casting-app/darwin/TvCasting/TvCasting/Assets.xcassets/Contents.json similarity index 100% rename from examples/tv-casting-app/darwin/darwin/Assets.xcassets/Contents.json rename to examples/tv-casting-app/darwin/TvCasting/TvCasting/Assets.xcassets/Contents.json diff --git a/examples/tv-casting-app/darwin/darwin/ViewController.m b/examples/tv-casting-app/darwin/TvCasting/TvCasting/ContentView.swift similarity index 67% rename from examples/tv-casting-app/darwin/darwin/ViewController.m rename to examples/tv-casting-app/darwin/TvCasting/TvCasting/ContentView.swift index 8d070158ac42e7..3424e59dac370c 100644 --- a/examples/tv-casting-app/darwin/darwin/ViewController.m +++ b/examples/tv-casting-app/darwin/TvCasting/TvCasting/ContentView.swift @@ -15,18 +15,17 @@ * limitations under the License. */ -#import "ViewController.h" +import SwiftUI -@interface ViewController () - -@end - -@implementation ViewController - -- (void)viewDidLoad -{ - [super viewDidLoad]; - // Do any additional setup after loading the view. +struct ContentView: View { + var body: some View { + Text("Hello Objective-C from Swift! " + String(CastingServerBridge().add(5, secondNum: 6))) + .padding() + } } -@end +struct ContentView_Previews: PreviewProvider { + static var previews: some View { + ContentView() + } +} diff --git a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/Assets.xcassets/Contents.json b/examples/tv-casting-app/darwin/TvCasting/TvCasting/Preview Content/Preview Assets.xcassets/Contents.json similarity index 100% rename from examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/Assets.xcassets/Contents.json rename to examples/tv-casting-app/darwin/TvCasting/TvCasting/Preview Content/Preview Assets.xcassets/Contents.json diff --git a/examples/tv-casting-app/darwin/darwin/AppDelegate.h b/examples/tv-casting-app/darwin/TvCasting/TvCasting/TvCastingApp.swift similarity index 82% rename from examples/tv-casting-app/darwin/darwin/AppDelegate.h rename to examples/tv-casting-app/darwin/TvCasting/TvCasting/TvCastingApp.swift index 841d43e0dbe390..27dce5b63f55f1 100644 --- a/examples/tv-casting-app/darwin/darwin/AppDelegate.h +++ b/examples/tv-casting-app/darwin/TvCasting/TvCasting/TvCastingApp.swift @@ -15,8 +15,13 @@ * limitations under the License. */ -#import +import SwiftUI -@interface AppDelegate : UIResponder - -@end +@main +struct TvCastingApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/examples/tv-casting-app/darwin/Darwin.xcworkspace/contents.xcworkspacedata b/examples/tv-casting-app/darwin/TvCastingDarwin.xcworkspace/contents.xcworkspacedata similarity index 61% rename from examples/tv-casting-app/darwin/Darwin.xcworkspace/contents.xcworkspacedata rename to examples/tv-casting-app/darwin/TvCastingDarwin.xcworkspace/contents.xcworkspacedata index 084bb6822bc300..b38c76bf17c560 100644 --- a/examples/tv-casting-app/darwin/Darwin.xcworkspace/contents.xcworkspacedata +++ b/examples/tv-casting-app/darwin/TvCastingDarwin.xcworkspace/contents.xcworkspacedata @@ -2,6 +2,6 @@ + location = "group:TvCasting/TvCasting.xcodeproj"> diff --git a/examples/tv-casting-app/darwin/Darwin.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/examples/tv-casting-app/darwin/TvCastingDarwin.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from examples/tv-casting-app/darwin/Darwin.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to examples/tv-casting-app/darwin/TvCastingDarwin.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/examples/tv-casting-app/darwin/darwin.xcodeproj/project.pbxproj b/examples/tv-casting-app/darwin/darwin.xcodeproj/project.pbxproj deleted file mode 100644 index f2027a6b29c9a2..00000000000000 --- a/examples/tv-casting-app/darwin/darwin.xcodeproj/project.pbxproj +++ /dev/null @@ -1,587 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 50; - objects = { - -/* Begin PBXBuildFile section */ - 3CB8D82227962E3E00BA4D5D /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 3CB8D82127962E3E00BA4D5D /* AppDelegate.m */; }; - 3CB8D82527962E3E00BA4D5D /* SceneDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 3CB8D82427962E3E00BA4D5D /* SceneDelegate.m */; }; - 3CB8D82827962E3E00BA4D5D /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 3CB8D82727962E3E00BA4D5D /* ViewController.m */; }; - 3CB8D82B27962E3E00BA4D5D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3CB8D82927962E3E00BA4D5D /* Main.storyboard */; }; - 3CB8D82D27962E4800BA4D5D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3CB8D82C27962E4800BA4D5D /* Assets.xcassets */; }; - 3CB8D83027962E4800BA4D5D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3CB8D82E27962E4800BA4D5D /* LaunchScreen.storyboard */; }; - 3CB8D83327962E4800BA4D5D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 3CB8D83227962E4800BA4D5D /* main.m */; }; - 3CB8D83D27962E4900BA4D5D /* darwinTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 3CB8D83C27962E4900BA4D5D /* darwinTests.m */; }; - 3CB8D84827962E4900BA4D5D /* darwinUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = 3CB8D84727962E4900BA4D5D /* darwinUITests.m */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 3CB8D83927962E4900BA4D5D /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 3CB8D81527962E3E00BA4D5D /* Project object */; - proxyType = 1; - remoteGlobalIDString = 3CB8D81C27962E3E00BA4D5D; - remoteInfo = darwin; - }; - 3CB8D84427962E4900BA4D5D /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 3CB8D81527962E3E00BA4D5D /* Project object */; - proxyType = 1; - remoteGlobalIDString = 3CB8D81C27962E3E00BA4D5D; - remoteInfo = darwin; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 3CB8D81D27962E3E00BA4D5D /* darwin.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = darwin.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 3CB8D82027962E3E00BA4D5D /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; - 3CB8D82127962E3E00BA4D5D /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; - 3CB8D82327962E3E00BA4D5D /* SceneDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SceneDelegate.h; sourceTree = ""; }; - 3CB8D82427962E3E00BA4D5D /* SceneDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SceneDelegate.m; sourceTree = ""; }; - 3CB8D82627962E3E00BA4D5D /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; - 3CB8D82727962E3E00BA4D5D /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; - 3CB8D82A27962E3E00BA4D5D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - 3CB8D82C27962E4800BA4D5D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 3CB8D82F27962E4800BA4D5D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - 3CB8D83127962E4800BA4D5D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 3CB8D83227962E4800BA4D5D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - 3CB8D83827962E4900BA4D5D /* darwinTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = darwinTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 3CB8D83C27962E4900BA4D5D /* darwinTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = darwinTests.m; sourceTree = ""; }; - 3CB8D83E27962E4900BA4D5D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 3CB8D84327962E4900BA4D5D /* darwinUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = darwinUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 3CB8D84727962E4900BA4D5D /* darwinUITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = darwinUITests.m; sourceTree = ""; }; - 3CB8D84927962E4900BA4D5D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 3CB8D81A27962E3E00BA4D5D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 3CB8D83527962E4900BA4D5D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 3CB8D84027962E4900BA4D5D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 3CB8D81427962E3E00BA4D5D = { - isa = PBXGroup; - children = ( - 3CB8D81F27962E3E00BA4D5D /* darwin */, - 3CB8D83B27962E4900BA4D5D /* darwinTests */, - 3CB8D84627962E4900BA4D5D /* darwinUITests */, - 3CB8D81E27962E3E00BA4D5D /* Products */, - ); - sourceTree = ""; - }; - 3CB8D81E27962E3E00BA4D5D /* Products */ = { - isa = PBXGroup; - children = ( - 3CB8D81D27962E3E00BA4D5D /* darwin.app */, - 3CB8D83827962E4900BA4D5D /* darwinTests.xctest */, - 3CB8D84327962E4900BA4D5D /* darwinUITests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 3CB8D81F27962E3E00BA4D5D /* darwin */ = { - isa = PBXGroup; - children = ( - 3CB8D82027962E3E00BA4D5D /* AppDelegate.h */, - 3CB8D82127962E3E00BA4D5D /* AppDelegate.m */, - 3CB8D82327962E3E00BA4D5D /* SceneDelegate.h */, - 3CB8D82427962E3E00BA4D5D /* SceneDelegate.m */, - 3CB8D82627962E3E00BA4D5D /* ViewController.h */, - 3CB8D82727962E3E00BA4D5D /* ViewController.m */, - 3CB8D82927962E3E00BA4D5D /* Main.storyboard */, - 3CB8D82C27962E4800BA4D5D /* Assets.xcassets */, - 3CB8D82E27962E4800BA4D5D /* LaunchScreen.storyboard */, - 3CB8D83127962E4800BA4D5D /* Info.plist */, - 3CB8D83227962E4800BA4D5D /* main.m */, - ); - path = darwin; - sourceTree = ""; - }; - 3CB8D83B27962E4900BA4D5D /* darwinTests */ = { - isa = PBXGroup; - children = ( - 3CB8D83C27962E4900BA4D5D /* darwinTests.m */, - 3CB8D83E27962E4900BA4D5D /* Info.plist */, - ); - path = darwinTests; - sourceTree = ""; - }; - 3CB8D84627962E4900BA4D5D /* darwinUITests */ = { - isa = PBXGroup; - children = ( - 3CB8D84727962E4900BA4D5D /* darwinUITests.m */, - 3CB8D84927962E4900BA4D5D /* Info.plist */, - ); - path = darwinUITests; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 3CB8D81C27962E3E00BA4D5D /* darwin */ = { - isa = PBXNativeTarget; - buildConfigurationList = 3CB8D84C27962E4900BA4D5D /* Build configuration list for PBXNativeTarget "darwin" */; - buildPhases = ( - 3CB8D81927962E3E00BA4D5D /* Sources */, - 3CB8D81A27962E3E00BA4D5D /* Frameworks */, - 3CB8D81B27962E3E00BA4D5D /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = darwin; - productName = darwin; - productReference = 3CB8D81D27962E3E00BA4D5D /* darwin.app */; - productType = "com.apple.product-type.application"; - }; - 3CB8D83727962E4900BA4D5D /* darwinTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 3CB8D84F27962E4900BA4D5D /* Build configuration list for PBXNativeTarget "darwinTests" */; - buildPhases = ( - 3CB8D83427962E4900BA4D5D /* Sources */, - 3CB8D83527962E4900BA4D5D /* Frameworks */, - 3CB8D83627962E4900BA4D5D /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 3CB8D83A27962E4900BA4D5D /* PBXTargetDependency */, - ); - name = darwinTests; - productName = darwinTests; - productReference = 3CB8D83827962E4900BA4D5D /* darwinTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - 3CB8D84227962E4900BA4D5D /* darwinUITests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 3CB8D85227962E4900BA4D5D /* Build configuration list for PBXNativeTarget "darwinUITests" */; - buildPhases = ( - 3CB8D83F27962E4900BA4D5D /* Sources */, - 3CB8D84027962E4900BA4D5D /* Frameworks */, - 3CB8D84127962E4900BA4D5D /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 3CB8D84527962E4900BA4D5D /* PBXTargetDependency */, - ); - name = darwinUITests; - productName = darwinUITests; - productReference = 3CB8D84327962E4900BA4D5D /* darwinUITests.xctest */; - productType = "com.apple.product-type.bundle.ui-testing"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 3CB8D81527962E3E00BA4D5D /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1240; - TargetAttributes = { - 3CB8D81C27962E3E00BA4D5D = { - CreatedOnToolsVersion = 12.4; - }; - 3CB8D83727962E4900BA4D5D = { - CreatedOnToolsVersion = 12.4; - TestTargetID = 3CB8D81C27962E3E00BA4D5D; - }; - 3CB8D84227962E4900BA4D5D = { - CreatedOnToolsVersion = 12.4; - TestTargetID = 3CB8D81C27962E3E00BA4D5D; - }; - }; - }; - buildConfigurationList = 3CB8D81827962E3E00BA4D5D /* Build configuration list for PBXProject "darwin" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 3CB8D81427962E3E00BA4D5D; - productRefGroup = 3CB8D81E27962E3E00BA4D5D /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 3CB8D81C27962E3E00BA4D5D /* darwin */, - 3CB8D83727962E4900BA4D5D /* darwinTests */, - 3CB8D84227962E4900BA4D5D /* darwinUITests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 3CB8D81B27962E3E00BA4D5D /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 3CB8D83027962E4800BA4D5D /* LaunchScreen.storyboard in Resources */, - 3CB8D82D27962E4800BA4D5D /* Assets.xcassets in Resources */, - 3CB8D82B27962E3E00BA4D5D /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 3CB8D83627962E4900BA4D5D /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 3CB8D84127962E4900BA4D5D /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 3CB8D81927962E3E00BA4D5D /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 3CB8D82827962E3E00BA4D5D /* ViewController.m in Sources */, - 3CB8D82227962E3E00BA4D5D /* AppDelegate.m in Sources */, - 3CB8D83327962E4800BA4D5D /* main.m in Sources */, - 3CB8D82527962E3E00BA4D5D /* SceneDelegate.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 3CB8D83427962E4900BA4D5D /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 3CB8D83D27962E4900BA4D5D /* darwinTests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 3CB8D83F27962E4900BA4D5D /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 3CB8D84827962E4900BA4D5D /* darwinUITests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 3CB8D83A27962E4900BA4D5D /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 3CB8D81C27962E3E00BA4D5D /* darwin */; - targetProxy = 3CB8D83927962E4900BA4D5D /* PBXContainerItemProxy */; - }; - 3CB8D84527962E4900BA4D5D /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 3CB8D81C27962E3E00BA4D5D /* darwin */; - targetProxy = 3CB8D84427962E4900BA4D5D /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 3CB8D82927962E3E00BA4D5D /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 3CB8D82A27962E3E00BA4D5D /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - 3CB8D82E27962E4800BA4D5D /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 3CB8D82F27962E4800BA4D5D /* Base */, - ); - name = LaunchScreen.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 3CB8D84A27962E4900BA4D5D /* 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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - 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; - 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 = 14.4; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - }; - name = Debug; - }; - 3CB8D84B27962E4900BA4D5D /* 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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - 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; - 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 = 14.4; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - SDKROOT = iphoneos; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 3CB8D84D27962E4900BA4D5D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_STYLE = Automatic; - INFOPLIST_FILE = darwin/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = darwin.darwin; - PRODUCT_NAME = "$(TARGET_NAME)"; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 3CB8D84E27962E4900BA4D5D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_STYLE = Automatic; - INFOPLIST_FILE = darwin/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = darwin.darwin; - PRODUCT_NAME = "$(TARGET_NAME)"; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; - 3CB8D85027962E4900BA4D5D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - INFOPLIST_FILE = darwinTests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 14.4; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = darwin.darwinTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/darwin.app/darwin"; - }; - name = Debug; - }; - 3CB8D85127962E4900BA4D5D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - INFOPLIST_FILE = darwinTests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 14.4; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = darwin.darwinTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/darwin.app/darwin"; - }; - name = Release; - }; - 3CB8D85327962E4900BA4D5D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Automatic; - INFOPLIST_FILE = darwinUITests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = darwin.darwinUITests; - PRODUCT_NAME = "$(TARGET_NAME)"; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_TARGET_NAME = darwin; - }; - name = Debug; - }; - 3CB8D85427962E4900BA4D5D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Automatic; - INFOPLIST_FILE = darwinUITests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = darwin.darwinUITests; - PRODUCT_NAME = "$(TARGET_NAME)"; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_TARGET_NAME = darwin; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 3CB8D81827962E3E00BA4D5D /* Build configuration list for PBXProject "darwin" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 3CB8D84A27962E4900BA4D5D /* Debug */, - 3CB8D84B27962E4900BA4D5D /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 3CB8D84C27962E4900BA4D5D /* Build configuration list for PBXNativeTarget "darwin" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 3CB8D84D27962E4900BA4D5D /* Debug */, - 3CB8D84E27962E4900BA4D5D /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 3CB8D84F27962E4900BA4D5D /* Build configuration list for PBXNativeTarget "darwinTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 3CB8D85027962E4900BA4D5D /* Debug */, - 3CB8D85127962E4900BA4D5D /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 3CB8D85227962E4900BA4D5D /* Build configuration list for PBXNativeTarget "darwinUITests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 3CB8D85327962E4900BA4D5D /* Debug */, - 3CB8D85427962E4900BA4D5D /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 3CB8D81527962E3E00BA4D5D /* Project object */; -} diff --git a/examples/tv-casting-app/darwin/darwin/AppDelegate.m b/examples/tv-casting-app/darwin/darwin/AppDelegate.m deleted file mode 100644 index 2c2c939aa49403..00000000000000 --- a/examples/tv-casting-app/darwin/darwin/AppDelegate.m +++ /dev/null @@ -1,51 +0,0 @@ -/** - * - * Copyright (c) 2020-2022 Project CHIP Authors - * - * 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 "AppDelegate.h" - -@interface AppDelegate () - -@end - -@implementation AppDelegate - -- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions -{ - // Override point for customization after application launch. - return YES; -} - -#pragma mark - UISceneSession lifecycle - -- (UISceneConfiguration *)application:(UIApplication *)application - configurationForConnectingSceneSession:(UISceneSession *)connectingSceneSession - options:(UISceneConnectionOptions *)options -{ - // Called when a new scene session is being created. - // Use this method to select a configuration to create the new scene with. - return [[UISceneConfiguration alloc] initWithName:@"Default Configuration" sessionRole:connectingSceneSession.role]; -} - -- (void)application:(UIApplication *)application didDiscardSceneSessions:(NSSet *)sceneSessions -{ - // Called when the user discards a scene session. - // If any sessions were discarded while the application was not running, this will be called shortly after - // application:didFinishLaunchingWithOptions. Use this method to release any resources that were specific to the discarded - // scenes, as they will not return. -} - -@end diff --git a/examples/tv-casting-app/darwin/darwin/Base.lproj/LaunchScreen.storyboard b/examples/tv-casting-app/darwin/darwin/Base.lproj/LaunchScreen.storyboard deleted file mode 100644 index 865e9329f3767a..00000000000000 --- a/examples/tv-casting-app/darwin/darwin/Base.lproj/LaunchScreen.storyboard +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/tv-casting-app/darwin/darwin/Base.lproj/Main.storyboard b/examples/tv-casting-app/darwin/darwin/Base.lproj/Main.storyboard deleted file mode 100644 index 808a21ce779bae..00000000000000 --- a/examples/tv-casting-app/darwin/darwin/Base.lproj/Main.storyboard +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/tv-casting-app/darwin/darwin/Info.plist b/examples/tv-casting-app/darwin/darwin/Info.plist deleted file mode 100644 index 72bf2c4f5985f3..00000000000000 --- a/examples/tv-casting-app/darwin/darwin/Info.plist +++ /dev/null @@ -1,66 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - $(PRODUCT_BUNDLE_PACKAGE_TYPE) - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UIApplicationSceneManifest - - UIApplicationSupportsMultipleScenes - - UISceneConfigurations - - UIWindowSceneSessionRoleApplication - - - UISceneConfigurationName - Default Configuration - UISceneDelegateClassName - SceneDelegate - UISceneStoryboardFile - Main - - - - - UIApplicationSupportsIndirectInputEvents - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/examples/tv-casting-app/darwin/darwin/SceneDelegate.h b/examples/tv-casting-app/darwin/darwin/SceneDelegate.h deleted file mode 100644 index dd12a1c96cc3af..00000000000000 --- a/examples/tv-casting-app/darwin/darwin/SceneDelegate.h +++ /dev/null @@ -1,24 +0,0 @@ -/** - * - * Copyright (c) 2020-2022 Project CHIP Authors - * - * 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 - -@interface SceneDelegate : UIResponder - -@property (strong, nonatomic) UIWindow * window; - -@end diff --git a/examples/tv-casting-app/darwin/darwin/SceneDelegate.m b/examples/tv-casting-app/darwin/darwin/SceneDelegate.m deleted file mode 100644 index 9a34646685879c..00000000000000 --- a/examples/tv-casting-app/darwin/darwin/SceneDelegate.m +++ /dev/null @@ -1,68 +0,0 @@ -/** - * - * Copyright (c) 2020-2022 Project CHIP Authors - * - * 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 "SceneDelegate.h" - -@interface SceneDelegate () - -@end - -@implementation SceneDelegate - -- (void)scene:(UIScene *)scene willConnectToSession:(UISceneSession *)session options:(UISceneConnectionOptions *)connectionOptions -{ - // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`. - // If using a storyboard, the `window` property will automatically be initialized and attached to the scene. - // This delegate does not imply the connecting scene or session are new (see - // `application:configurationForConnectingSceneSession` instead). -} - -- (void)sceneDidDisconnect:(UIScene *)scene -{ - // Called as the scene is being released by the system. - // This occurs shortly after the scene enters the background, or when its session is discarded. - // Release any resources associated with this scene that can be re-created the next time the scene connects. - // The scene may re-connect later, as its session was not necessarily discarded (see `application:didDiscardSceneSessions` - // instead). -} - -- (void)sceneDidBecomeActive:(UIScene *)scene -{ - // Called when the scene has moved from an inactive state to an active state. - // Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive. -} - -- (void)sceneWillResignActive:(UIScene *)scene -{ - // Called when the scene will move from an active state to an inactive state. - // This may occur due to temporary interruptions (ex. an incoming phone call). -} - -- (void)sceneWillEnterForeground:(UIScene *)scene -{ - // Called as the scene transitions from the background to the foreground. - // Use this method to undo the changes made on entering the background. -} - -- (void)sceneDidEnterBackground:(UIScene *)scene -{ - // Called as the scene transitions from the foreground to the background. - // Use this method to save data, release shared resources, and store enough scene-specific state information - // to restore the scene back to its current state. -} - -@end diff --git a/examples/tv-casting-app/darwin/darwin/main.m b/examples/tv-casting-app/darwin/darwin/main.m deleted file mode 100644 index 17c6551eaa5408..00000000000000 --- a/examples/tv-casting-app/darwin/darwin/main.m +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * Copyright (c) 2020-2022 Project CHIP Authors - * - * 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 "AppDelegate.h" -#import - -int main(int argc, char * argv[]) -{ - NSString * appDelegateClassName; - @autoreleasepool { - // Setup code that might create autoreleased objects goes here. - appDelegateClassName = NSStringFromClass([AppDelegate class]); - } - return UIApplicationMain(argc, argv, nil, appDelegateClassName); -} diff --git a/examples/tv-casting-app/darwin/darwinTests/Info.plist b/examples/tv-casting-app/darwin/darwinTests/Info.plist deleted file mode 100644 index 64d65ca495770b..00000000000000 --- a/examples/tv-casting-app/darwin/darwinTests/Info.plist +++ /dev/null @@ -1,22 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - $(PRODUCT_BUNDLE_PACKAGE_TYPE) - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/examples/tv-casting-app/darwin/darwinTests/darwinTests.m b/examples/tv-casting-app/darwin/darwinTests/darwinTests.m deleted file mode 100644 index 81f43c1ecb8eca..00000000000000 --- a/examples/tv-casting-app/darwin/darwinTests/darwinTests.m +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Copyright (c) 2020-2022 Project CHIP Authors - * - * 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 - -@interface darwinTests : XCTestCase - -@end - -@implementation darwinTests - -- (void)setUp -{ - // Put setup code here. This method is called before the invocation of each test method in the class. -} - -- (void)tearDown -{ - // Put teardown code here. This method is called after the invocation of each test method in the class. -} - -- (void)testExample -{ - // This is an example of a functional test case. - // Use XCTAssert and related functions to verify your tests produce the correct results. -} - -- (void)testPerformanceExample -{ - // This is an example of a performance test case. - [self measureBlock:^ { - // Put the code you want to measure the time of here. - }]; -} - -@end diff --git a/examples/tv-casting-app/darwin/darwinUITests/Info.plist b/examples/tv-casting-app/darwin/darwinUITests/Info.plist deleted file mode 100644 index 64d65ca495770b..00000000000000 --- a/examples/tv-casting-app/darwin/darwinUITests/Info.plist +++ /dev/null @@ -1,22 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - $(PRODUCT_BUNDLE_PACKAGE_TYPE) - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/examples/tv-casting-app/darwin/darwinUITests/darwinUITests.m b/examples/tv-casting-app/darwin/darwinUITests/darwinUITests.m deleted file mode 100644 index 2f127dda433ad7..00000000000000 --- a/examples/tv-casting-app/darwin/darwinUITests/darwinUITests.m +++ /dev/null @@ -1,63 +0,0 @@ -/** - * - * Copyright (c) 2020-2022 Project CHIP Authors - * - * 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 - -@interface darwinUITests : XCTestCase - -@end - -@implementation darwinUITests - -- (void)setUp -{ - // Put setup code here. This method is called before the invocation of each test method in the class. - - // In UI tests it is usually best to stop immediately when a failure occurs. - self.continueAfterFailure = NO; - - // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they - // run. The setUp method is a good place to do this. -} - -- (void)tearDown -{ - // Put teardown code here. This method is called after the invocation of each test method in the class. -} - -- (void)testExample -{ - // UI tests must launch the application that they test. - XCUIApplication * app = [[XCUIApplication alloc] init]; - [app launch]; - - // Use recording to get started writing UI tests. - // Use XCTAssert and related functions to verify your tests produce the correct results. -} - -- (void)testLaunchPerformance -{ - if (@available(macOS 10.15, iOS 13.0, tvOS 13.0, *)) { - // This measures how long it takes to launch your application. - [self measureWithMetrics:@[ [[XCTApplicationLaunchMetric alloc] init] ] - block:^{ - [[[XCUIApplication alloc] init] launch]; - }]; - } -} - -@end diff --git a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp.xcodeproj/project.pbxproj b/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp.xcodeproj/project.pbxproj deleted file mode 100644 index 755ed4003980f6..00000000000000 --- a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp.xcodeproj/project.pbxproj +++ /dev/null @@ -1,587 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 50; - objects = { - -/* Begin PBXBuildFile section */ - 3CB8D86627962FD100BA4D5D /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 3CB8D86527962FD100BA4D5D /* AppDelegate.m */; }; - 3CB8D86927962FD100BA4D5D /* SceneDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 3CB8D86827962FD100BA4D5D /* SceneDelegate.m */; }; - 3CB8D86C27962FD100BA4D5D /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 3CB8D86B27962FD100BA4D5D /* ViewController.m */; }; - 3CB8D86F27962FD100BA4D5D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3CB8D86D27962FD100BA4D5D /* Main.storyboard */; }; - 3CB8D87127962FDA00BA4D5D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3CB8D87027962FDA00BA4D5D /* Assets.xcassets */; }; - 3CB8D87427962FDA00BA4D5D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3CB8D87227962FDA00BA4D5D /* LaunchScreen.storyboard */; }; - 3CB8D87727962FDA00BA4D5D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 3CB8D87627962FDA00BA4D5D /* main.m */; }; - 3CB8D88127962FDA00BA4D5D /* iOSTVCastingAppTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 3CB8D88027962FDA00BA4D5D /* iOSTVCastingAppTests.m */; }; - 3CB8D88C27962FDB00BA4D5D /* iOSTVCastingAppUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = 3CB8D88B27962FDB00BA4D5D /* iOSTVCastingAppUITests.m */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 3CB8D87D27962FDA00BA4D5D /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 3CB8D85927962FD100BA4D5D /* Project object */; - proxyType = 1; - remoteGlobalIDString = 3CB8D86027962FD100BA4D5D; - remoteInfo = iOSTVCastingApp; - }; - 3CB8D88827962FDB00BA4D5D /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 3CB8D85927962FD100BA4D5D /* Project object */; - proxyType = 1; - remoteGlobalIDString = 3CB8D86027962FD100BA4D5D; - remoteInfo = iOSTVCastingApp; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 3CB8D86127962FD100BA4D5D /* iOSTVCastingApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = iOSTVCastingApp.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 3CB8D86427962FD100BA4D5D /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; - 3CB8D86527962FD100BA4D5D /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; - 3CB8D86727962FD100BA4D5D /* SceneDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SceneDelegate.h; sourceTree = ""; }; - 3CB8D86827962FD100BA4D5D /* SceneDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SceneDelegate.m; sourceTree = ""; }; - 3CB8D86A27962FD100BA4D5D /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; - 3CB8D86B27962FD100BA4D5D /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; - 3CB8D86E27962FD100BA4D5D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - 3CB8D87027962FDA00BA4D5D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 3CB8D87327962FDA00BA4D5D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - 3CB8D87527962FDA00BA4D5D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 3CB8D87627962FDA00BA4D5D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - 3CB8D87C27962FDA00BA4D5D /* iOSTVCastingAppTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = iOSTVCastingAppTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 3CB8D88027962FDA00BA4D5D /* iOSTVCastingAppTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = iOSTVCastingAppTests.m; sourceTree = ""; }; - 3CB8D88227962FDA00BA4D5D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 3CB8D88727962FDB00BA4D5D /* iOSTVCastingAppUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = iOSTVCastingAppUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 3CB8D88B27962FDB00BA4D5D /* iOSTVCastingAppUITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = iOSTVCastingAppUITests.m; sourceTree = ""; }; - 3CB8D88D27962FDB00BA4D5D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 3CB8D85E27962FD100BA4D5D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 3CB8D87927962FDA00BA4D5D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 3CB8D88427962FDB00BA4D5D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 3CB8D85827962FD100BA4D5D = { - isa = PBXGroup; - children = ( - 3CB8D86327962FD100BA4D5D /* iOSTVCastingApp */, - 3CB8D87F27962FDA00BA4D5D /* iOSTVCastingAppTests */, - 3CB8D88A27962FDB00BA4D5D /* iOSTVCastingAppUITests */, - 3CB8D86227962FD100BA4D5D /* Products */, - ); - sourceTree = ""; - }; - 3CB8D86227962FD100BA4D5D /* Products */ = { - isa = PBXGroup; - children = ( - 3CB8D86127962FD100BA4D5D /* iOSTVCastingApp.app */, - 3CB8D87C27962FDA00BA4D5D /* iOSTVCastingAppTests.xctest */, - 3CB8D88727962FDB00BA4D5D /* iOSTVCastingAppUITests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 3CB8D86327962FD100BA4D5D /* iOSTVCastingApp */ = { - isa = PBXGroup; - children = ( - 3CB8D86427962FD100BA4D5D /* AppDelegate.h */, - 3CB8D86527962FD100BA4D5D /* AppDelegate.m */, - 3CB8D86727962FD100BA4D5D /* SceneDelegate.h */, - 3CB8D86827962FD100BA4D5D /* SceneDelegate.m */, - 3CB8D86A27962FD100BA4D5D /* ViewController.h */, - 3CB8D86B27962FD100BA4D5D /* ViewController.m */, - 3CB8D86D27962FD100BA4D5D /* Main.storyboard */, - 3CB8D87027962FDA00BA4D5D /* Assets.xcassets */, - 3CB8D87227962FDA00BA4D5D /* LaunchScreen.storyboard */, - 3CB8D87527962FDA00BA4D5D /* Info.plist */, - 3CB8D87627962FDA00BA4D5D /* main.m */, - ); - path = iOSTVCastingApp; - sourceTree = ""; - }; - 3CB8D87F27962FDA00BA4D5D /* iOSTVCastingAppTests */ = { - isa = PBXGroup; - children = ( - 3CB8D88027962FDA00BA4D5D /* iOSTVCastingAppTests.m */, - 3CB8D88227962FDA00BA4D5D /* Info.plist */, - ); - path = iOSTVCastingAppTests; - sourceTree = ""; - }; - 3CB8D88A27962FDB00BA4D5D /* iOSTVCastingAppUITests */ = { - isa = PBXGroup; - children = ( - 3CB8D88B27962FDB00BA4D5D /* iOSTVCastingAppUITests.m */, - 3CB8D88D27962FDB00BA4D5D /* Info.plist */, - ); - path = iOSTVCastingAppUITests; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 3CB8D86027962FD100BA4D5D /* iOSTVCastingApp */ = { - isa = PBXNativeTarget; - buildConfigurationList = 3CB8D89027962FDB00BA4D5D /* Build configuration list for PBXNativeTarget "iOSTVCastingApp" */; - buildPhases = ( - 3CB8D85D27962FD100BA4D5D /* Sources */, - 3CB8D85E27962FD100BA4D5D /* Frameworks */, - 3CB8D85F27962FD100BA4D5D /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = iOSTVCastingApp; - productName = iOSTVCastingApp; - productReference = 3CB8D86127962FD100BA4D5D /* iOSTVCastingApp.app */; - productType = "com.apple.product-type.application"; - }; - 3CB8D87B27962FDA00BA4D5D /* iOSTVCastingAppTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 3CB8D89327962FDB00BA4D5D /* Build configuration list for PBXNativeTarget "iOSTVCastingAppTests" */; - buildPhases = ( - 3CB8D87827962FDA00BA4D5D /* Sources */, - 3CB8D87927962FDA00BA4D5D /* Frameworks */, - 3CB8D87A27962FDA00BA4D5D /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 3CB8D87E27962FDA00BA4D5D /* PBXTargetDependency */, - ); - name = iOSTVCastingAppTests; - productName = iOSTVCastingAppTests; - productReference = 3CB8D87C27962FDA00BA4D5D /* iOSTVCastingAppTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - 3CB8D88627962FDB00BA4D5D /* iOSTVCastingAppUITests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 3CB8D89627962FDB00BA4D5D /* Build configuration list for PBXNativeTarget "iOSTVCastingAppUITests" */; - buildPhases = ( - 3CB8D88327962FDB00BA4D5D /* Sources */, - 3CB8D88427962FDB00BA4D5D /* Frameworks */, - 3CB8D88527962FDB00BA4D5D /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 3CB8D88927962FDB00BA4D5D /* PBXTargetDependency */, - ); - name = iOSTVCastingAppUITests; - productName = iOSTVCastingAppUITests; - productReference = 3CB8D88727962FDB00BA4D5D /* iOSTVCastingAppUITests.xctest */; - productType = "com.apple.product-type.bundle.ui-testing"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 3CB8D85927962FD100BA4D5D /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1240; - TargetAttributes = { - 3CB8D86027962FD100BA4D5D = { - CreatedOnToolsVersion = 12.4; - }; - 3CB8D87B27962FDA00BA4D5D = { - CreatedOnToolsVersion = 12.4; - TestTargetID = 3CB8D86027962FD100BA4D5D; - }; - 3CB8D88627962FDB00BA4D5D = { - CreatedOnToolsVersion = 12.4; - TestTargetID = 3CB8D86027962FD100BA4D5D; - }; - }; - }; - buildConfigurationList = 3CB8D85C27962FD100BA4D5D /* Build configuration list for PBXProject "iOSTVCastingApp" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 3CB8D85827962FD100BA4D5D; - productRefGroup = 3CB8D86227962FD100BA4D5D /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 3CB8D86027962FD100BA4D5D /* iOSTVCastingApp */, - 3CB8D87B27962FDA00BA4D5D /* iOSTVCastingAppTests */, - 3CB8D88627962FDB00BA4D5D /* iOSTVCastingAppUITests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 3CB8D85F27962FD100BA4D5D /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 3CB8D87427962FDA00BA4D5D /* LaunchScreen.storyboard in Resources */, - 3CB8D87127962FDA00BA4D5D /* Assets.xcassets in Resources */, - 3CB8D86F27962FD100BA4D5D /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 3CB8D87A27962FDA00BA4D5D /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 3CB8D88527962FDB00BA4D5D /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 3CB8D85D27962FD100BA4D5D /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 3CB8D86C27962FD100BA4D5D /* ViewController.m in Sources */, - 3CB8D86627962FD100BA4D5D /* AppDelegate.m in Sources */, - 3CB8D87727962FDA00BA4D5D /* main.m in Sources */, - 3CB8D86927962FD100BA4D5D /* SceneDelegate.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 3CB8D87827962FDA00BA4D5D /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 3CB8D88127962FDA00BA4D5D /* iOSTVCastingAppTests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 3CB8D88327962FDB00BA4D5D /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 3CB8D88C27962FDB00BA4D5D /* iOSTVCastingAppUITests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 3CB8D87E27962FDA00BA4D5D /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 3CB8D86027962FD100BA4D5D /* iOSTVCastingApp */; - targetProxy = 3CB8D87D27962FDA00BA4D5D /* PBXContainerItemProxy */; - }; - 3CB8D88927962FDB00BA4D5D /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 3CB8D86027962FD100BA4D5D /* iOSTVCastingApp */; - targetProxy = 3CB8D88827962FDB00BA4D5D /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 3CB8D86D27962FD100BA4D5D /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 3CB8D86E27962FD100BA4D5D /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - 3CB8D87227962FDA00BA4D5D /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 3CB8D87327962FDA00BA4D5D /* Base */, - ); - name = LaunchScreen.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 3CB8D88E27962FDB00BA4D5D /* 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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - 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; - 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 = 14.4; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - }; - name = Debug; - }; - 3CB8D88F27962FDB00BA4D5D /* 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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - 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; - 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 = 14.4; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - SDKROOT = iphoneos; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 3CB8D89127962FDB00BA4D5D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_STYLE = Automatic; - INFOPLIST_FILE = iOSTVCastingApp/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = darwin.iOSTVCastingApp; - PRODUCT_NAME = "$(TARGET_NAME)"; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 3CB8D89227962FDB00BA4D5D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_STYLE = Automatic; - INFOPLIST_FILE = iOSTVCastingApp/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = darwin.iOSTVCastingApp; - PRODUCT_NAME = "$(TARGET_NAME)"; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; - 3CB8D89427962FDB00BA4D5D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - INFOPLIST_FILE = iOSTVCastingAppTests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 14.4; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = darwin.iOSTVCastingAppTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/iOSTVCastingApp.app/iOSTVCastingApp"; - }; - name = Debug; - }; - 3CB8D89527962FDB00BA4D5D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - INFOPLIST_FILE = iOSTVCastingAppTests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 14.4; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = darwin.iOSTVCastingAppTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/iOSTVCastingApp.app/iOSTVCastingApp"; - }; - name = Release; - }; - 3CB8D89727962FDB00BA4D5D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Automatic; - INFOPLIST_FILE = iOSTVCastingAppUITests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = darwin.iOSTVCastingAppUITests; - PRODUCT_NAME = "$(TARGET_NAME)"; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_TARGET_NAME = iOSTVCastingApp; - }; - name = Debug; - }; - 3CB8D89827962FDB00BA4D5D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Automatic; - INFOPLIST_FILE = iOSTVCastingAppUITests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = darwin.iOSTVCastingAppUITests; - PRODUCT_NAME = "$(TARGET_NAME)"; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_TARGET_NAME = iOSTVCastingApp; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 3CB8D85C27962FD100BA4D5D /* Build configuration list for PBXProject "iOSTVCastingApp" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 3CB8D88E27962FDB00BA4D5D /* Debug */, - 3CB8D88F27962FDB00BA4D5D /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 3CB8D89027962FDB00BA4D5D /* Build configuration list for PBXNativeTarget "iOSTVCastingApp" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 3CB8D89127962FDB00BA4D5D /* Debug */, - 3CB8D89227962FDB00BA4D5D /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 3CB8D89327962FDB00BA4D5D /* Build configuration list for PBXNativeTarget "iOSTVCastingAppTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 3CB8D89427962FDB00BA4D5D /* Debug */, - 3CB8D89527962FDB00BA4D5D /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 3CB8D89627962FDB00BA4D5D /* Build configuration list for PBXNativeTarget "iOSTVCastingAppUITests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 3CB8D89727962FDB00BA4D5D /* Debug */, - 3CB8D89827962FDB00BA4D5D /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 3CB8D85927962FD100BA4D5D /* Project object */; -} diff --git a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/AppDelegate.h b/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/AppDelegate.h deleted file mode 100644 index 841d43e0dbe390..00000000000000 --- a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/AppDelegate.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * - * Copyright (c) 2020-2022 Project CHIP Authors - * - * 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 - -@interface AppDelegate : UIResponder - -@end diff --git a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/AppDelegate.m b/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/AppDelegate.m deleted file mode 100644 index 2c2c939aa49403..00000000000000 --- a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/AppDelegate.m +++ /dev/null @@ -1,51 +0,0 @@ -/** - * - * Copyright (c) 2020-2022 Project CHIP Authors - * - * 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 "AppDelegate.h" - -@interface AppDelegate () - -@end - -@implementation AppDelegate - -- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions -{ - // Override point for customization after application launch. - return YES; -} - -#pragma mark - UISceneSession lifecycle - -- (UISceneConfiguration *)application:(UIApplication *)application - configurationForConnectingSceneSession:(UISceneSession *)connectingSceneSession - options:(UISceneConnectionOptions *)options -{ - // Called when a new scene session is being created. - // Use this method to select a configuration to create the new scene with. - return [[UISceneConfiguration alloc] initWithName:@"Default Configuration" sessionRole:connectingSceneSession.role]; -} - -- (void)application:(UIApplication *)application didDiscardSceneSessions:(NSSet *)sceneSessions -{ - // Called when the user discards a scene session. - // If any sessions were discarded while the application was not running, this will be called shortly after - // application:didFinishLaunchingWithOptions. Use this method to release any resources that were specific to the discarded - // scenes, as they will not return. -} - -@end diff --git a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/Assets.xcassets/AccentColor.colorset/Contents.json b/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/Assets.xcassets/AccentColor.colorset/Contents.json deleted file mode 100644 index b246f6b1e23f13..00000000000000 --- a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/Assets.xcassets/AccentColor.colorset/Contents.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "colors": [ - { - "idiom": "universal" - } - ], - "info": { - "author": "xcode", - "version": 1 - } -} diff --git a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/Assets.xcassets/AppIcon.appiconset/Contents.json b/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 1cfd7dc1e5d63d..00000000000000 --- a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "images": [ - { - "idiom": "iphone", - "scale": "2x", - "size": "20x20" - }, - { - "idiom": "iphone", - "scale": "3x", - "size": "20x20" - }, - { - "idiom": "iphone", - "scale": "2x", - "size": "29x29" - }, - { - "idiom": "iphone", - "scale": "3x", - "size": "29x29" - }, - { - "idiom": "iphone", - "scale": "2x", - "size": "40x40" - }, - { - "idiom": "iphone", - "scale": "3x", - "size": "40x40" - }, - { - "idiom": "iphone", - "scale": "2x", - "size": "60x60" - }, - { - "idiom": "iphone", - "scale": "3x", - "size": "60x60" - }, - { - "idiom": "ipad", - "scale": "1x", - "size": "20x20" - }, - { - "idiom": "ipad", - "scale": "2x", - "size": "20x20" - }, - { - "idiom": "ipad", - "scale": "1x", - "size": "29x29" - }, - { - "idiom": "ipad", - "scale": "2x", - "size": "29x29" - }, - { - "idiom": "ipad", - "scale": "1x", - "size": "40x40" - }, - { - "idiom": "ipad", - "scale": "2x", - "size": "40x40" - }, - { - "idiom": "ipad", - "scale": "1x", - "size": "76x76" - }, - { - "idiom": "ipad", - "scale": "2x", - "size": "76x76" - }, - { - "idiom": "ipad", - "scale": "2x", - "size": "83.5x83.5" - }, - { - "idiom": "ios-marketing", - "scale": "1x", - "size": "1024x1024" - } - ], - "info": { - "author": "xcode", - "version": 1 - } -} diff --git a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/Base.lproj/LaunchScreen.storyboard b/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/Base.lproj/LaunchScreen.storyboard deleted file mode 100644 index 865e9329f3767a..00000000000000 --- a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/Base.lproj/LaunchScreen.storyboard +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/Base.lproj/Main.storyboard b/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/Base.lproj/Main.storyboard deleted file mode 100644 index 808a21ce779bae..00000000000000 --- a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/Base.lproj/Main.storyboard +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/Info.plist b/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/Info.plist deleted file mode 100644 index 72bf2c4f5985f3..00000000000000 --- a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/Info.plist +++ /dev/null @@ -1,66 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - $(PRODUCT_BUNDLE_PACKAGE_TYPE) - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UIApplicationSceneManifest - - UIApplicationSupportsMultipleScenes - - UISceneConfigurations - - UIWindowSceneSessionRoleApplication - - - UISceneConfigurationName - Default Configuration - UISceneDelegateClassName - SceneDelegate - UISceneStoryboardFile - Main - - - - - UIApplicationSupportsIndirectInputEvents - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/SceneDelegate.h b/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/SceneDelegate.h deleted file mode 100644 index dd12a1c96cc3af..00000000000000 --- a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/SceneDelegate.h +++ /dev/null @@ -1,24 +0,0 @@ -/** - * - * Copyright (c) 2020-2022 Project CHIP Authors - * - * 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 - -@interface SceneDelegate : UIResponder - -@property (strong, nonatomic) UIWindow * window; - -@end diff --git a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/SceneDelegate.m b/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/SceneDelegate.m deleted file mode 100644 index 9a34646685879c..00000000000000 --- a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/SceneDelegate.m +++ /dev/null @@ -1,68 +0,0 @@ -/** - * - * Copyright (c) 2020-2022 Project CHIP Authors - * - * 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 "SceneDelegate.h" - -@interface SceneDelegate () - -@end - -@implementation SceneDelegate - -- (void)scene:(UIScene *)scene willConnectToSession:(UISceneSession *)session options:(UISceneConnectionOptions *)connectionOptions -{ - // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`. - // If using a storyboard, the `window` property will automatically be initialized and attached to the scene. - // This delegate does not imply the connecting scene or session are new (see - // `application:configurationForConnectingSceneSession` instead). -} - -- (void)sceneDidDisconnect:(UIScene *)scene -{ - // Called as the scene is being released by the system. - // This occurs shortly after the scene enters the background, or when its session is discarded. - // Release any resources associated with this scene that can be re-created the next time the scene connects. - // The scene may re-connect later, as its session was not necessarily discarded (see `application:didDiscardSceneSessions` - // instead). -} - -- (void)sceneDidBecomeActive:(UIScene *)scene -{ - // Called when the scene has moved from an inactive state to an active state. - // Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive. -} - -- (void)sceneWillResignActive:(UIScene *)scene -{ - // Called when the scene will move from an active state to an inactive state. - // This may occur due to temporary interruptions (ex. an incoming phone call). -} - -- (void)sceneWillEnterForeground:(UIScene *)scene -{ - // Called as the scene transitions from the background to the foreground. - // Use this method to undo the changes made on entering the background. -} - -- (void)sceneDidEnterBackground:(UIScene *)scene -{ - // Called as the scene transitions from the foreground to the background. - // Use this method to save data, release shared resources, and store enough scene-specific state information - // to restore the scene back to its current state. -} - -@end diff --git a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/main.m b/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/main.m deleted file mode 100644 index 17c6551eaa5408..00000000000000 --- a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingApp/main.m +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * Copyright (c) 2020-2022 Project CHIP Authors - * - * 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 "AppDelegate.h" -#import - -int main(int argc, char * argv[]) -{ - NSString * appDelegateClassName; - @autoreleasepool { - // Setup code that might create autoreleased objects goes here. - appDelegateClassName = NSStringFromClass([AppDelegate class]); - } - return UIApplicationMain(argc, argv, nil, appDelegateClassName); -} diff --git a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingAppTests/Info.plist b/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingAppTests/Info.plist deleted file mode 100644 index 64d65ca495770b..00000000000000 --- a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingAppTests/Info.plist +++ /dev/null @@ -1,22 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - $(PRODUCT_BUNDLE_PACKAGE_TYPE) - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingAppTests/iOSTVCastingAppTests.m b/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingAppTests/iOSTVCastingAppTests.m deleted file mode 100644 index 5c352f79ccfce1..00000000000000 --- a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingAppTests/iOSTVCastingAppTests.m +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * Copyright (c) 2020-2022 Project CHIP Authors - * - * 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 - -@interface iOSTVCastingAppTests : XCTestCase - -@end - -@implementation iOSTVCastingAppTests - -- (void)setUp -{ - // Put setup code here. This method is called before the invocation of each test method in the class. -} - -- (void)tearDown -{ - // Put teardown code here. This method is called after the invocation of each test method in the class. -} - -- (void)testExample -{ - // This is an example of a functional test case. - // Use XCTAssert and related functions to verify your tests produce the correct results. -} - -- (void)testPerformanceExample -{ - // This is an example of a performance test case. - [self measureBlock:^ { - // Put the code you want to measure the time of here. - }]; -} - -@end diff --git a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingAppUITests/Info.plist b/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingAppUITests/Info.plist deleted file mode 100644 index 64d65ca495770b..00000000000000 --- a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingAppUITests/Info.plist +++ /dev/null @@ -1,22 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - $(PRODUCT_BUNDLE_PACKAGE_TYPE) - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingAppUITests/iOSTVCastingAppUITests.m b/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingAppUITests/iOSTVCastingAppUITests.m deleted file mode 100644 index 1c5cbeeb8b12a3..00000000000000 --- a/examples/tv-casting-app/darwin/iOSTVCastingApp/iOSTVCastingAppUITests/iOSTVCastingAppUITests.m +++ /dev/null @@ -1,63 +0,0 @@ -/** - * - * Copyright (c) 2020-2022 Project CHIP Authors - * - * 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 - -@interface iOSTVCastingAppUITests : XCTestCase - -@end - -@implementation iOSTVCastingAppUITests - -- (void)setUp -{ - // Put setup code here. This method is called before the invocation of each test method in the class. - - // In UI tests it is usually best to stop immediately when a failure occurs. - self.continueAfterFailure = NO; - - // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they - // run. The setUp method is a good place to do this. -} - -- (void)tearDown -{ - // Put teardown code here. This method is called after the invocation of each test method in the class. -} - -- (void)testExample -{ - // UI tests must launch the application that they test. - XCUIApplication * app = [[XCUIApplication alloc] init]; - [app launch]; - - // Use recording to get started writing UI tests. - // Use XCTAssert and related functions to verify your tests produce the correct results. -} - -- (void)testLaunchPerformance -{ - if (@available(macOS 10.15, iOS 13.0, tvOS 13.0, *)) { - // This measures how long it takes to launch your application. - [self measureWithMetrics:@[ [[XCTApplicationLaunchMetric alloc] init] ] - block:^{ - [[[XCUIApplication alloc] init] launch]; - }]; - } -} - -@end