From: Alan Knowles Date: Wed, 30 Mar 2022 09:02:04 +0000 (+0800) Subject: import code X-Git-Url: http://git.roojs.org/?p=app.GameProjectTest;a=commitdiff_plain;h=9b792dab1b97ffff1a0ccf4d3fc40816b843a2aa import code --- diff --git a/GameProjectTest/AppDelegate.swift b/GameProjectTest/AppDelegate.swift new file mode 100644 index 0000000..f17c824 --- /dev/null +++ b/GameProjectTest/AppDelegate.swift @@ -0,0 +1,40 @@ +// +// AppDelegate.swift +// GameProjectTest +// +// Created by Alan Knowles on 29/3/2022. +// + +import UIKit + +@main +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { + // Override point for customization after application launch. + return true + } + + func applicationWillResignActive(_ application: UIApplication) { + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. + } + + func applicationDidEnterBackground(_ application: UIApplication) { + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + } + + func applicationWillEnterForeground(_ application: UIApplication) { + // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. + } + + func applicationDidBecomeActive(_ application: UIApplication) { + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. + } + + +} + diff --git a/GameProjectTest/Assets.xcassets/AccentColor.colorset/Contents.json b/GameProjectTest/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/GameProjectTest/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/GameProjectTest/Assets.xcassets/AppIcon.appiconset/Contents.json b/GameProjectTest/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..9221b9b --- /dev/null +++ b/GameProjectTest/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,98 @@ +{ + "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/GameProjectTest/Assets.xcassets/Contents.json b/GameProjectTest/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/GameProjectTest/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/GameProjectTest/Base.lproj/LaunchScreen.storyboard b/GameProjectTest/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..865e932 --- /dev/null +++ b/GameProjectTest/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/GameProjectTest/Base.lproj/Main.storyboard b/GameProjectTest/Base.lproj/Main.storyboard new file mode 100644 index 0000000..5f8e407 --- /dev/null +++ b/GameProjectTest/Base.lproj/Main.storyboard @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/GameProjectTest/GameViewController.swift b/GameProjectTest/GameViewController.swift new file mode 100644 index 0000000..be5bd9c --- /dev/null +++ b/GameProjectTest/GameViewController.swift @@ -0,0 +1,127 @@ +// +// GameViewController.swift +// GameProjectTest +// +// Created by Alan Knowles on 29/3/2022. +// + +import UIKit +import QuartzCore +import SceneKit + + + + + + +class GameViewController: UIViewController { + + override func viewDidLoad() { + super.viewDidLoad() + + // create a new scene + let scene = SCNScene(named: "art.scnassets/ship.scn")! + + // create and add a camera to the scene + let cameraNode = SCNNode() + cameraNode.camera = SCNCamera() + scene.rootNode.addChildNode(cameraNode) + + // place the camera + cameraNode.position = SCNVector3(x: 0, y: 0, z: 15) + + // create and add a light to the scene + let lightNode = SCNNode() + lightNode.light = SCNLight() + lightNode.light!.type = .omni + lightNode.position = SCNVector3(x: 0, y: 10, z: 10) + scene.rootNode.addChildNode(lightNode) + + // create and add an ambient light to the scene + let ambientLightNode = SCNNode() + ambientLightNode.light = SCNLight() + ambientLightNode.light!.type = .ambient + ambientLightNode.light!.color = UIColor.darkGray + scene.rootNode.addChildNode(ambientLightNode) + + // retrieve the ship node + let ship = scene.rootNode.childNode(withName: "ship", recursively: true)! + + // animate the 3d object + ship.runAction(SCNAction.repeatForever(SCNAction.rotateBy(x: 0, y: 2, z: 0, duration: 1))) + + // retrieve the SCNView + let scnView = self.view as! SCNView + + // set the scene to the view + scnView.scene = scene + + // allows the user to manipulate the camera + scnView.allowsCameraControl = true + + // show statistics such as fps and timing information + scnView.showsStatistics = true + + // configure the view + scnView.backgroundColor = UIColor.black + + // add a tap gesture recognizer + let tapGesture = UITapGestureRecognizer(target: self, action: #selector(handleTap(_:))) + scnView.addGestureRecognizer(tapGesture) + scnView.isHidden = true + + } + + @objc + func handleTap(_ gestureRecognize: UIGestureRecognizer) { + // retrieve the SCNView + let scnView = self.view as! SCNView + + // check what nodes are tapped + let p = gestureRecognize.location(in: scnView) + let hitResults = scnView.hitTest(p, options: [:]) + // check that we clicked on at least one object + if hitResults.count > 0 { + // retrieved the first clicked object + let result = hitResults[0] + + // get its material + let material = result.node.geometry!.firstMaterial! + + // highlight it + SCNTransaction.begin() + SCNTransaction.animationDuration = 0.5 + + // on completion - unhighlight + SCNTransaction.completionBlock = { + SCNTransaction.begin() + SCNTransaction.animationDuration = 0.5 + + material.emission.contents = UIColor.black + + SCNTransaction.commit() + } + + material.emission.contents = UIColor.red + + SCNTransaction.commit() + } + } + + override var shouldAutorotate: Bool { + return true + } + + override var prefersStatusBarHidden: Bool { + return true + } + + override var supportedInterfaceOrientations: UIInterfaceOrientationMask { + if UIDevice.current.userInterfaceIdiom == .phone { + return .allButUpsideDown + } else { + return .all + } + } + +} diff --git a/GameProjectTest/art.scnassets/ship.scn b/GameProjectTest/art.scnassets/ship.scn new file mode 100644 index 0000000..ea345ea Binary files /dev/null and b/GameProjectTest/art.scnassets/ship.scn differ diff --git a/GameProjectTest/art.scnassets/texture.png b/GameProjectTest/art.scnassets/texture.png new file mode 100644 index 0000000..ba39258 Binary files /dev/null and b/GameProjectTest/art.scnassets/texture.png differ diff --git a/app.GameProjectTest.xcodeproj/project.pbxproj b/app.GameProjectTest.xcodeproj/project.pbxproj new file mode 100644 index 0000000..3637ac9 --- /dev/null +++ b/app.GameProjectTest.xcodeproj/project.pbxproj @@ -0,0 +1,359 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 55; + objects = { + +/* Begin PBXBuildFile section */ + E7F55F6327F2E26100A63CCF /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = E7F55F6227F2E26100A63CCF /* AppDelegate.swift */; }; + E7F55F6527F2E26100A63CCF /* art.scnassets in Resources */ = {isa = PBXBuildFile; fileRef = E7F55F6427F2E26100A63CCF /* art.scnassets */; }; + E7F55F6727F2E26100A63CCF /* GameViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E7F55F6627F2E26100A63CCF /* GameViewController.swift */; }; + E7F55F6A27F2E26100A63CCF /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E7F55F6827F2E26100A63CCF /* Main.storyboard */; }; + E7F55F6C27F2E26200A63CCF /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E7F55F6B27F2E26200A63CCF /* Assets.xcassets */; }; + E7F55F6F27F2E26200A63CCF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E7F55F6D27F2E26200A63CCF /* LaunchScreen.storyboard */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + E7F55F5F27F2E26100A63CCF /* app.GameProjectTest.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = app.GameProjectTest.app; sourceTree = BUILT_PRODUCTS_DIR; }; + E7F55F6227F2E26100A63CCF /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + E7F55F6427F2E26100A63CCF /* art.scnassets */ = {isa = PBXFileReference; lastKnownFileType = wrapper.scnassets; path = art.scnassets; sourceTree = ""; }; + E7F55F6627F2E26100A63CCF /* GameViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GameViewController.swift; sourceTree = ""; }; + E7F55F6927F2E26100A63CCF /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + E7F55F6B27F2E26200A63CCF /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + E7F55F6E27F2E26200A63CCF /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + E7F55F5C27F2E26100A63CCF /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + E7F55F5627F2E26100A63CCF = { + isa = PBXGroup; + children = ( + E7F55F6127F2E26100A63CCF /* GameProjectTest */, + E7F55F6027F2E26100A63CCF /* Products */, + ); + sourceTree = ""; + }; + E7F55F6027F2E26100A63CCF /* Products */ = { + isa = PBXGroup; + children = ( + E7F55F5F27F2E26100A63CCF /* app.GameProjectTest.app */, + ); + name = Products; + sourceTree = ""; + }; + E7F55F6127F2E26100A63CCF /* GameProjectTest */ = { + isa = PBXGroup; + children = ( + E7F55F6227F2E26100A63CCF /* AppDelegate.swift */, + E7F55F6427F2E26100A63CCF /* art.scnassets */, + E7F55F6627F2E26100A63CCF /* GameViewController.swift */, + E7F55F6827F2E26100A63CCF /* Main.storyboard */, + E7F55F6B27F2E26200A63CCF /* Assets.xcassets */, + E7F55F6D27F2E26200A63CCF /* LaunchScreen.storyboard */, + ); + path = GameProjectTest; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + E7F55F5E27F2E26100A63CCF /* app.GameProjectTest */ = { + isa = PBXNativeTarget; + buildConfigurationList = E7F55F7227F2E26200A63CCF /* Build configuration list for PBXNativeTarget "app.GameProjectTest" */; + buildPhases = ( + E7F55F5B27F2E26100A63CCF /* Sources */, + E7F55F5C27F2E26100A63CCF /* Frameworks */, + E7F55F5D27F2E26100A63CCF /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = app.GameProjectTest; + productName = GameProjectTest; + productReference = E7F55F5F27F2E26100A63CCF /* app.GameProjectTest.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + E7F55F5727F2E26100A63CCF /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1330; + LastUpgradeCheck = 1330; + TargetAttributes = { + E7F55F5E27F2E26100A63CCF = { + CreatedOnToolsVersion = 13.3; + }; + }; + }; + buildConfigurationList = E7F55F5A27F2E26100A63CCF /* Build configuration list for PBXProject "app.GameProjectTest" */; + compatibilityVersion = "Xcode 13.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = E7F55F5627F2E26100A63CCF; + productRefGroup = E7F55F6027F2E26100A63CCF /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + E7F55F5E27F2E26100A63CCF /* app.GameProjectTest */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + E7F55F5D27F2E26100A63CCF /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + E7F55F6527F2E26100A63CCF /* art.scnassets in Resources */, + E7F55F6F27F2E26200A63CCF /* LaunchScreen.storyboard in Resources */, + E7F55F6C27F2E26200A63CCF /* Assets.xcassets in Resources */, + E7F55F6A27F2E26100A63CCF /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + E7F55F5B27F2E26100A63CCF /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + E7F55F6727F2E26100A63CCF /* GameViewController.swift in Sources */, + E7F55F6327F2E26100A63CCF /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + E7F55F6827F2E26100A63CCF /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + E7F55F6927F2E26100A63CCF /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + E7F55F6D27F2E26200A63CCF /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + E7F55F6E27F2E26200A63CCF /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + E7F55F7027F2E26200A63CCF /* 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_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.4; + 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; + }; + E7F55F7127F2E26200A63CCF /* 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_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.4; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + E7F55F7327F2E26200A63CCF /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; + INFOPLIST_KEY_UIMainStoryboardFile = Main; + INFOPLIST_KEY_UIStatusBarHidden = 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 = roojs.GameProjectTest; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + E7F55F7427F2E26200A63CCF /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; + INFOPLIST_KEY_UIMainStoryboardFile = Main; + INFOPLIST_KEY_UIStatusBarHidden = 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 = roojs.GameProjectTest; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + E7F55F5A27F2E26100A63CCF /* Build configuration list for PBXProject "app.GameProjectTest" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E7F55F7027F2E26200A63CCF /* Debug */, + E7F55F7127F2E26200A63CCF /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + E7F55F7227F2E26200A63CCF /* Build configuration list for PBXNativeTarget "app.GameProjectTest" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E7F55F7327F2E26200A63CCF /* Debug */, + E7F55F7427F2E26200A63CCF /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = E7F55F5727F2E26100A63CCF /* Project object */; +} diff --git a/app.GameProjectTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/app.GameProjectTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..3e701cd --- /dev/null +++ b/app.GameProjectTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/app.GameProjectTest.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/app.GameProjectTest.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/app.GameProjectTest.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/app.GameProjectTest.xcodeproj/project.xcworkspace/xcuserdata/alan.xcuserdatad/UserInterfaceState.xcuserstate b/app.GameProjectTest.xcodeproj/project.xcworkspace/xcuserdata/alan.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..35a1ff4 Binary files /dev/null and b/app.GameProjectTest.xcodeproj/project.xcworkspace/xcuserdata/alan.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/app.GameProjectTest.xcodeproj/xcuserdata/alan.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/app.GameProjectTest.xcodeproj/xcuserdata/alan.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist new file mode 100644 index 0000000..28be669 --- /dev/null +++ b/app.GameProjectTest.xcodeproj/xcuserdata/alan.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -0,0 +1,24 @@ + + + + + + + + + diff --git a/app.GameProjectTest.xcodeproj/xcuserdata/alan.xcuserdatad/xcschemes/xcschememanagement.plist b/app.GameProjectTest.xcodeproj/xcuserdata/alan.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..2399452 --- /dev/null +++ b/app.GameProjectTest.xcodeproj/xcuserdata/alan.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + GameProjectTest.xcscheme_^#shared#^_ + + orderHint + 0 + + + +