This commit is contained in:
2024-06-01 20:14:53 +02:00
parent 72adfd9506
commit 29ed9d2f6b
16 changed files with 975 additions and 0 deletions

1
readme.md Normal file
View File

@@ -0,0 +1 @@
# failing to get the watchos to display a glsl shader

View File

@@ -0,0 +1,11 @@
{
"colors" : [
{
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@@ -0,0 +1,13 @@
{
"images" : [
{
"idiom" : "universal",
"platform" : "watchos",
"size" : "1024x1024"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@@ -0,0 +1,29 @@
//
// ContentView.swift
// watchos_glsl Watch App
//
// Created by Beppe Vanrolleghem on 01/06/2024.
//
import SwiftUI
import SceneKit
struct ContentView: View {
var gameScene:SCNScene = SCNScene()
var cameraNode:SCNNode = SCNNode()
var shader:SCNTechnique = SCNTechnique(dictionary: ["program" : "./test.fsh"])!
var targetCreationTime:TimeInterval = 0
var body: some View {
VStack {
SceneView(scene:gameScene, technique:shader)
}
.padding()
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}

View File

@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@@ -0,0 +1,29 @@
#ifdef GL_ES
precision mediump float;
#endif
uniform vec2 u_resolution;
uniform vec2 u_mouse;
uniform float u_time;
#define PI 3.14159265359
const vec3 uAColor = vec3(.5,.5,.5);
const vec3 uBColor = vec3(.5,.5,.5);
const vec3 uCColor = vec3(1.,1.,1.);
const vec3 uDColor = vec3(.0,.33,.67);
//get colors from http://dev.thi.ng/gradients/
vec3 cosPalette(float t) {
return uAColor + uBColor*cos(6.28318*(uCColor*t+uDColor));
}
void main() {
vec2 st = gl_FragCoord.xy/u_resolution;
vec3 color = vec3(0.0,0.0,0.0);
float alpha = 1.0;
gl_FragColor = vec4(color, alpha);
}

View File

@@ -0,0 +1,33 @@
//
// test1.metal
// watchos_glsl Watch App
//
// Created by Beppe Vanrolleghem on 01/06/2024.
//
#include <metal_stdlib>
using namespace metal;
#include <SceneKit/scn_metal>
struct Uniforms {
float2 resolution;
float time;
};
struct FragmentIn {
float4 position [[position]];
float2 st;
};
[[fragment]]
float4 fragment_main(FragmentIn in [[stage_in]],
constant Uniforms &uniforms [[buffer(0)]]) {
float3 color = float3(1.,.0,.0);
return float4(color, 1.);
}
[[stitchable]]
half4 testfn(float2 position, half4 color) {
return color;
}

View File

@@ -0,0 +1,17 @@
//
// watchos_glslApp.swift
// watchos_glsl Watch App
//
// Created by Beppe Vanrolleghem on 01/06/2024.
//
import SwiftUI
@main
struct watchos_glsl_Watch_AppApp: App {
var body: some Scene {
WindowGroup {
ContentView()
}
}
}

View File

@@ -0,0 +1,36 @@
//
// watchos_glsl_Watch_AppTests.swift
// watchos_glsl Watch AppTests
//
// Created by Beppe Vanrolleghem on 01/06/2024.
//
import XCTest
@testable import watchos_glsl_Watch_App
final class watchos_glsl_Watch_AppTests: XCTestCase {
override func setUpWithError() throws {
// Put setup code here. This method is called before the invocation of each test method in the class.
}
override func tearDownWithError() throws {
// Put teardown code here. This method is called after the invocation of each test method in the class.
}
func testExample() throws {
// This is an example of a functional test case.
// Use XCTAssert and related functions to verify your tests produce the correct results.
// Any test you write for XCTest can be annotated as throws and async.
// Mark your test throws to produce an unexpected failure when your test encounters an uncaught error.
// Tests marked async will run the test method on an arbitrary thread managed by the Swift runtime.
}
func testPerformanceExample() throws {
// This is an example of a performance test case.
self.measure {
// Put the code you want to measure the time of here.
}
}
}

View File

@@ -0,0 +1,41 @@
//
// watchos_glsl_Watch_AppUITests.swift
// watchos_glsl Watch AppUITests
//
// Created by Beppe Vanrolleghem on 01/06/2024.
//
import XCTest
final class watchos_glsl_Watch_AppUITests: XCTestCase {
override func setUpWithError() throws {
// 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.
continueAfterFailure = false
// In UI tests its 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.
}
override func tearDownWithError() throws {
// Put teardown code here. This method is called after the invocation of each test method in the class.
}
func testExample() throws {
// UI tests must launch the application that they test.
let app = XCUIApplication()
app.launch()
// Use XCTAssert and related functions to verify your tests produce the correct results.
}
func testLaunchPerformance() throws {
if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 7.0, *) {
// This measures how long it takes to launch your application.
measure(metrics: [XCTApplicationLaunchMetric()]) {
XCUIApplication().launch()
}
}
}
}

View File

@@ -0,0 +1,32 @@
//
// watchos_glsl_Watch_AppUITestsLaunchTests.swift
// watchos_glsl Watch AppUITests
//
// Created by Beppe Vanrolleghem on 01/06/2024.
//
import XCTest
final class watchos_glsl_Watch_AppUITestsLaunchTests: XCTestCase {
override class var runsForEachTargetApplicationUIConfiguration: Bool {
true
}
override func setUpWithError() throws {
continueAfterFailure = false
}
func testLaunch() throws {
let app = XCUIApplication()
app.launch()
// Insert steps here to perform after app launch but before taking a screenshot,
// such as logging into a test account or navigating somewhere in the app
let attachment = XCTAttachment(screenshot: app.screenshot())
attachment.name = "Launch Screen"
attachment.lifetime = .keepAlways
add(attachment)
}
}

View File

@@ -0,0 +1,701 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 56;
objects = {
/* Begin PBXBuildFile section */
7A5D0B8E2C0B98810099FC96 /* test.fsh in Resources */ = {isa = PBXBuildFile; fileRef = 7A5D0B8D2C0B98810099FC96 /* test.fsh */; };
7AD20A082C0B8C7D0037380A /* watchos_glsl Watch App.app in Embed Watch Content */ = {isa = PBXBuildFile; fileRef = 7AD20A072C0B8C7D0037380A /* watchos_glsl Watch App.app */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
7AD20A0D2C0B8C7D0037380A /* watchos_glslApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7AD20A0C2C0B8C7D0037380A /* watchos_glslApp.swift */; };
7AD20A0F2C0B8C7D0037380A /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7AD20A0E2C0B8C7D0037380A /* ContentView.swift */; };
7AD20A112C0B8C7F0037380A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 7AD20A102C0B8C7F0037380A /* Assets.xcassets */; };
7AD20A142C0B8C7F0037380A /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 7AD20A132C0B8C7F0037380A /* Preview Assets.xcassets */; };
7AD20A1E2C0B8C7F0037380A /* watchos_glsl_Watch_AppTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7AD20A1D2C0B8C7F0037380A /* watchos_glsl_Watch_AppTests.swift */; };
7AD20A282C0B8C7F0037380A /* watchos_glsl_Watch_AppUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7AD20A272C0B8C7F0037380A /* watchos_glsl_Watch_AppUITests.swift */; };
7AD20A2A2C0B8C7F0037380A /* watchos_glsl_Watch_AppUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7AD20A292C0B8C7F0037380A /* watchos_glsl_Watch_AppUITestsLaunchTests.swift */; };
7AD20A3B2C0B8D680037380A /* test1.metal in Sources */ = {isa = PBXBuildFile; fileRef = 7AD20A3A2C0B8D680037380A /* test1.metal */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
7AD20A092C0B8C7D0037380A /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 7AD209FB2C0B8C7D0037380A /* Project object */;
proxyType = 1;
remoteGlobalIDString = 7AD20A062C0B8C7D0037380A;
remoteInfo = "watchos_glsl Watch App";
};
7AD20A1A2C0B8C7F0037380A /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 7AD209FB2C0B8C7D0037380A /* Project object */;
proxyType = 1;
remoteGlobalIDString = 7AD20A062C0B8C7D0037380A;
remoteInfo = "watchos_glsl Watch App";
};
7AD20A242C0B8C7F0037380A /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 7AD209FB2C0B8C7D0037380A /* Project object */;
proxyType = 1;
remoteGlobalIDString = 7AD20A062C0B8C7D0037380A;
remoteInfo = "watchos_glsl Watch App";
};
/* End PBXContainerItemProxy section */
/* Begin PBXCopyFilesBuildPhase section */
7AD20A302C0B8C7F0037380A /* Embed Watch Content */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "$(CONTENTS_FOLDER_PATH)/Watch";
dstSubfolderSpec = 16;
files = (
7AD20A082C0B8C7D0037380A /* watchos_glsl Watch App.app in Embed Watch Content */,
);
name = "Embed Watch Content";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
7A5D0B8D2C0B98810099FC96 /* test.fsh */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.glsl; path = test.fsh; sourceTree = "<group>"; };
7AD20A012C0B8C7D0037380A /* watchos_glsl.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = watchos_glsl.app; sourceTree = BUILT_PRODUCTS_DIR; };
7AD20A072C0B8C7D0037380A /* watchos_glsl Watch App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "watchos_glsl Watch App.app"; sourceTree = BUILT_PRODUCTS_DIR; };
7AD20A0C2C0B8C7D0037380A /* watchos_glslApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = watchos_glslApp.swift; sourceTree = "<group>"; };
7AD20A0E2C0B8C7D0037380A /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
7AD20A102C0B8C7F0037380A /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
7AD20A132C0B8C7F0037380A /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
7AD20A192C0B8C7F0037380A /* watchos_glsl Watch AppTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "watchos_glsl Watch AppTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
7AD20A1D2C0B8C7F0037380A /* watchos_glsl_Watch_AppTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = watchos_glsl_Watch_AppTests.swift; sourceTree = "<group>"; };
7AD20A232C0B8C7F0037380A /* watchos_glsl Watch AppUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "watchos_glsl Watch AppUITests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
7AD20A272C0B8C7F0037380A /* watchos_glsl_Watch_AppUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = watchos_glsl_Watch_AppUITests.swift; sourceTree = "<group>"; };
7AD20A292C0B8C7F0037380A /* watchos_glsl_Watch_AppUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = watchos_glsl_Watch_AppUITestsLaunchTests.swift; sourceTree = "<group>"; };
7AD20A3A2C0B8D680037380A /* test1.metal */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.metal; path = test1.metal; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
7AD20A042C0B8C7D0037380A /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
7AD20A162C0B8C7F0037380A /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
7AD20A202C0B8C7F0037380A /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
7AD209FA2C0B8C7D0037380A = {
isa = PBXGroup;
children = (
7AD20A0B2C0B8C7D0037380A /* watchos_glsl Watch App */,
7AD20A1C2C0B8C7F0037380A /* watchos_glsl Watch AppTests */,
7AD20A262C0B8C7F0037380A /* watchos_glsl Watch AppUITests */,
7AD20A022C0B8C7D0037380A /* Products */,
);
sourceTree = "<group>";
};
7AD20A022C0B8C7D0037380A /* Products */ = {
isa = PBXGroup;
children = (
7AD20A012C0B8C7D0037380A /* watchos_glsl.app */,
7AD20A072C0B8C7D0037380A /* watchos_glsl Watch App.app */,
7AD20A192C0B8C7F0037380A /* watchos_glsl Watch AppTests.xctest */,
7AD20A232C0B8C7F0037380A /* watchos_glsl Watch AppUITests.xctest */,
);
name = Products;
sourceTree = "<group>";
};
7AD20A0B2C0B8C7D0037380A /* watchos_glsl Watch App */ = {
isa = PBXGroup;
children = (
7AD20A0C2C0B8C7D0037380A /* watchos_glslApp.swift */,
7AD20A0E2C0B8C7D0037380A /* ContentView.swift */,
7AD20A102C0B8C7F0037380A /* Assets.xcassets */,
7AD20A122C0B8C7F0037380A /* Preview Content */,
7AD20A3A2C0B8D680037380A /* test1.metal */,
7A5D0B8D2C0B98810099FC96 /* test.fsh */,
);
path = "watchos_glsl Watch App";
sourceTree = "<group>";
};
7AD20A122C0B8C7F0037380A /* Preview Content */ = {
isa = PBXGroup;
children = (
7AD20A132C0B8C7F0037380A /* Preview Assets.xcassets */,
);
path = "Preview Content";
sourceTree = "<group>";
};
7AD20A1C2C0B8C7F0037380A /* watchos_glsl Watch AppTests */ = {
isa = PBXGroup;
children = (
7AD20A1D2C0B8C7F0037380A /* watchos_glsl_Watch_AppTests.swift */,
);
path = "watchos_glsl Watch AppTests";
sourceTree = "<group>";
};
7AD20A262C0B8C7F0037380A /* watchos_glsl Watch AppUITests */ = {
isa = PBXGroup;
children = (
7AD20A272C0B8C7F0037380A /* watchos_glsl_Watch_AppUITests.swift */,
7AD20A292C0B8C7F0037380A /* watchos_glsl_Watch_AppUITestsLaunchTests.swift */,
);
path = "watchos_glsl Watch AppUITests";
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
7AD20A002C0B8C7D0037380A /* watchos_glsl */ = {
isa = PBXNativeTarget;
buildConfigurationList = 7AD20A312C0B8C7F0037380A /* Build configuration list for PBXNativeTarget "watchos_glsl" */;
buildPhases = (
7AD209FF2C0B8C7D0037380A /* Resources */,
7AD20A302C0B8C7F0037380A /* Embed Watch Content */,
);
buildRules = (
);
dependencies = (
7AD20A0A2C0B8C7D0037380A /* PBXTargetDependency */,
);
name = watchos_glsl;
productName = watchos_glsl;
productReference = 7AD20A012C0B8C7D0037380A /* watchos_glsl.app */;
productType = "com.apple.product-type.application.watchapp2-container";
};
7AD20A062C0B8C7D0037380A /* watchos_glsl Watch App */ = {
isa = PBXNativeTarget;
buildConfigurationList = 7AD20A2D2C0B8C7F0037380A /* Build configuration list for PBXNativeTarget "watchos_glsl Watch App" */;
buildPhases = (
7AD20A032C0B8C7D0037380A /* Sources */,
7AD20A042C0B8C7D0037380A /* Frameworks */,
7AD20A052C0B8C7D0037380A /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = "watchos_glsl Watch App";
productName = "watchos_glsl Watch App";
productReference = 7AD20A072C0B8C7D0037380A /* watchos_glsl Watch App.app */;
productType = "com.apple.product-type.application";
};
7AD20A182C0B8C7F0037380A /* watchos_glsl Watch AppTests */ = {
isa = PBXNativeTarget;
buildConfigurationList = 7AD20A342C0B8C7F0037380A /* Build configuration list for PBXNativeTarget "watchos_glsl Watch AppTests" */;
buildPhases = (
7AD20A152C0B8C7F0037380A /* Sources */,
7AD20A162C0B8C7F0037380A /* Frameworks */,
7AD20A172C0B8C7F0037380A /* Resources */,
);
buildRules = (
);
dependencies = (
7AD20A1B2C0B8C7F0037380A /* PBXTargetDependency */,
);
name = "watchos_glsl Watch AppTests";
productName = "watchos_glsl Watch AppTests";
productReference = 7AD20A192C0B8C7F0037380A /* watchos_glsl Watch AppTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
7AD20A222C0B8C7F0037380A /* watchos_glsl Watch AppUITests */ = {
isa = PBXNativeTarget;
buildConfigurationList = 7AD20A372C0B8C7F0037380A /* Build configuration list for PBXNativeTarget "watchos_glsl Watch AppUITests" */;
buildPhases = (
7AD20A1F2C0B8C7F0037380A /* Sources */,
7AD20A202C0B8C7F0037380A /* Frameworks */,
7AD20A212C0B8C7F0037380A /* Resources */,
);
buildRules = (
);
dependencies = (
7AD20A252C0B8C7F0037380A /* PBXTargetDependency */,
);
name = "watchos_glsl Watch AppUITests";
productName = "watchos_glsl Watch AppUITests";
productReference = 7AD20A232C0B8C7F0037380A /* watchos_glsl Watch AppUITests.xctest */;
productType = "com.apple.product-type.bundle.ui-testing";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
7AD209FB2C0B8C7D0037380A /* Project object */ = {
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = 1;
LastSwiftUpdateCheck = 1430;
LastUpgradeCheck = 1430;
TargetAttributes = {
7AD20A002C0B8C7D0037380A = {
CreatedOnToolsVersion = 14.3.1;
};
7AD20A062C0B8C7D0037380A = {
CreatedOnToolsVersion = 14.3.1;
};
7AD20A182C0B8C7F0037380A = {
CreatedOnToolsVersion = 14.3.1;
TestTargetID = 7AD20A062C0B8C7D0037380A;
};
7AD20A222C0B8C7F0037380A = {
CreatedOnToolsVersion = 14.3.1;
TestTargetID = 7AD20A062C0B8C7D0037380A;
};
};
};
buildConfigurationList = 7AD209FE2C0B8C7D0037380A /* Build configuration list for PBXProject "watchos_glsl" */;
compatibilityVersion = "Xcode 14.0";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 7AD209FA2C0B8C7D0037380A;
productRefGroup = 7AD20A022C0B8C7D0037380A /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
7AD20A002C0B8C7D0037380A /* watchos_glsl */,
7AD20A062C0B8C7D0037380A /* watchos_glsl Watch App */,
7AD20A182C0B8C7F0037380A /* watchos_glsl Watch AppTests */,
7AD20A222C0B8C7F0037380A /* watchos_glsl Watch AppUITests */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
7AD209FF2C0B8C7D0037380A /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
7AD20A052C0B8C7D0037380A /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
7AD20A142C0B8C7F0037380A /* Preview Assets.xcassets in Resources */,
7A5D0B8E2C0B98810099FC96 /* test.fsh in Resources */,
7AD20A112C0B8C7F0037380A /* Assets.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
7AD20A172C0B8C7F0037380A /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
7AD20A212C0B8C7F0037380A /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
7AD20A032C0B8C7D0037380A /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
7AD20A0F2C0B8C7D0037380A /* ContentView.swift in Sources */,
7AD20A3B2C0B8D680037380A /* test1.metal in Sources */,
7AD20A0D2C0B8C7D0037380A /* watchos_glslApp.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
7AD20A152C0B8C7F0037380A /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
7AD20A1E2C0B8C7F0037380A /* watchos_glsl_Watch_AppTests.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
7AD20A1F2C0B8C7F0037380A /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
7AD20A2A2C0B8C7F0037380A /* watchos_glsl_Watch_AppUITestsLaunchTests.swift in Sources */,
7AD20A282C0B8C7F0037380A /* watchos_glsl_Watch_AppUITests.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
7AD20A0A2C0B8C7D0037380A /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 7AD20A062C0B8C7D0037380A /* watchos_glsl Watch App */;
targetProxy = 7AD20A092C0B8C7D0037380A /* PBXContainerItemProxy */;
};
7AD20A1B2C0B8C7F0037380A /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 7AD20A062C0B8C7D0037380A /* watchos_glsl Watch App */;
targetProxy = 7AD20A1A2C0B8C7F0037380A /* PBXContainerItemProxy */;
};
7AD20A252C0B8C7F0037380A /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 7AD20A062C0B8C7D0037380A /* watchos_glsl Watch App */;
targetProxy = 7AD20A242C0B8C7F0037380A /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
7AD20A2B2C0B8C7F0037380A /* 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++20";
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;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
};
7AD20A2C2C0B8C7F0037380A /* 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++20";
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;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
};
name = Release;
};
7AD20A2E2C0B8C7F0037380A /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"watchos_glsl Watch App/Preview Content\"";
DEVELOPMENT_TEAM = XH5R6W8UAG;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_CFBundleDisplayName = watchos_glsl;
INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
INFOPLIST_KEY_WKWatchOnly = YES;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = "dev.shodan.watchos-glsl.watchkitapp";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = watchos;
SKIP_INSTALL = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 4;
WATCHOS_DEPLOYMENT_TARGET = 9.4;
};
name = Debug;
};
7AD20A2F2C0B8C7F0037380A /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"watchos_glsl Watch App/Preview Content\"";
DEVELOPMENT_TEAM = XH5R6W8UAG;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_CFBundleDisplayName = watchos_glsl;
INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
INFOPLIST_KEY_WKWatchOnly = YES;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = "dev.shodan.watchos-glsl.watchkitapp";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = watchos;
SKIP_INSTALL = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 4;
VALIDATE_PRODUCT = YES;
WATCHOS_DEPLOYMENT_TARGET = 9.4;
};
name = Release;
};
7AD20A322C0B8C7F0037380A /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = XH5R6W8UAG;
INFOPLIST_KEY_CFBundleDisplayName = watchos_glsl;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = "dev.shodan.watchos-glsl";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
SWIFT_VERSION = 5.0;
};
name = Debug;
};
7AD20A332C0B8C7F0037380A /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = XH5R6W8UAG;
INFOPLIST_KEY_CFBundleDisplayName = watchos_glsl;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = "dev.shodan.watchos-glsl";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
SWIFT_VERSION = 5.0;
VALIDATE_PRODUCT = YES;
};
name = Release;
};
7AD20A352C0B8C7F0037380A /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = XH5R6W8UAG;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = "dev.shodan.watchos-glsl-Watch-AppTests";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = watchos;
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 4;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/watchos_glsl Watch App.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/watchos_glsl Watch App";
WATCHOS_DEPLOYMENT_TARGET = 9.4;
};
name = Debug;
};
7AD20A362C0B8C7F0037380A /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = XH5R6W8UAG;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = "dev.shodan.watchos-glsl-Watch-AppTests";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = watchos;
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 4;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/watchos_glsl Watch App.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/watchos_glsl Watch App";
VALIDATE_PRODUCT = YES;
WATCHOS_DEPLOYMENT_TARGET = 9.4;
};
name = Release;
};
7AD20A382C0B8C7F0037380A /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = XH5R6W8UAG;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = "dev.shodan.watchos-glsl-Watch-AppUITests";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = watchos;
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 4;
TEST_TARGET_NAME = "watchos_glsl Watch App";
WATCHOS_DEPLOYMENT_TARGET = 9.4;
};
name = Debug;
};
7AD20A392C0B8C7F0037380A /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = XH5R6W8UAG;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = "dev.shodan.watchos-glsl-Watch-AppUITests";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = watchos;
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 4;
TEST_TARGET_NAME = "watchos_glsl Watch App";
VALIDATE_PRODUCT = YES;
WATCHOS_DEPLOYMENT_TARGET = 9.4;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
7AD209FE2C0B8C7D0037380A /* Build configuration list for PBXProject "watchos_glsl" */ = {
isa = XCConfigurationList;
buildConfigurations = (
7AD20A2B2C0B8C7F0037380A /* Debug */,
7AD20A2C2C0B8C7F0037380A /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
7AD20A2D2C0B8C7F0037380A /* Build configuration list for PBXNativeTarget "watchos_glsl Watch App" */ = {
isa = XCConfigurationList;
buildConfigurations = (
7AD20A2E2C0B8C7F0037380A /* Debug */,
7AD20A2F2C0B8C7F0037380A /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
7AD20A312C0B8C7F0037380A /* Build configuration list for PBXNativeTarget "watchos_glsl" */ = {
isa = XCConfigurationList;
buildConfigurations = (
7AD20A322C0B8C7F0037380A /* Debug */,
7AD20A332C0B8C7F0037380A /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
7AD20A342C0B8C7F0037380A /* Build configuration list for PBXNativeTarget "watchos_glsl Watch AppTests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
7AD20A352C0B8C7F0037380A /* Debug */,
7AD20A362C0B8C7F0037380A /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
7AD20A372C0B8C7F0037380A /* Build configuration list for PBXNativeTarget "watchos_glsl Watch AppUITests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
7AD20A382C0B8C7F0037380A /* Debug */,
7AD20A392C0B8C7F0037380A /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 7AD209FB2C0B8C7D0037380A /* Project object */;
}

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:">
</FileRef>
</Workspace>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict/>
</plist>