Skip to content

Commit af302cc

Browse files
committed
Fix iOS platform
1 parent 1c9f674 commit af302cc

File tree

4 files changed

+12
-148
lines changed

4 files changed

+12
-148
lines changed

.swiftpm/xcode/xcshareddata/xcschemes/GateEngine.xcscheme

Lines changed: 3 additions & 142 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1520"
3+
LastUpgradeVersion = "1620"
44
version = "1.7">
55
<BuildAction
66
parallelizeBuildables = "YES"
7-
buildImplicitDependencies = "YES">
7+
buildImplicitDependencies = "YES"
8+
buildArchitectures = "Automatic">
89
<BuildActionEntries>
910
<BuildActionEntry
1011
buildForTesting = "YES"
@@ -20,104 +21,6 @@
2021
ReferencedContainer = "container:">
2122
</BuildableReference>
2223
</BuildActionEntry>
23-
<BuildActionEntry
24-
buildForTesting = "YES"
25-
buildForRunning = "YES"
26-
buildForProfiling = "YES"
27-
buildForArchiving = "YES"
28-
buildForAnalyzing = "YES">
29-
<BuildableReference
30-
BuildableIdentifier = "primary"
31-
BlueprintIdentifier = "GameMath"
32-
BuildableName = "GameMath"
33-
BlueprintName = "GameMath"
34-
ReferencedContainer = "container:">
35-
</BuildableReference>
36-
</BuildActionEntry>
37-
<BuildActionEntry
38-
buildForTesting = "YES"
39-
buildForRunning = "YES"
40-
buildForProfiling = "YES"
41-
buildForArchiving = "YES"
42-
buildForAnalyzing = "YES">
43-
<BuildableReference
44-
BuildableIdentifier = "primary"
45-
BlueprintIdentifier = "LibSPNG"
46-
BuildableName = "LibSPNG"
47-
BlueprintName = "LibSPNG"
48-
ReferencedContainer = "container:">
49-
</BuildableReference>
50-
</BuildActionEntry>
51-
<BuildActionEntry
52-
buildForTesting = "YES"
53-
buildForRunning = "YES"
54-
buildForProfiling = "YES"
55-
buildForArchiving = "YES"
56-
buildForAnalyzing = "YES">
57-
<BuildableReference
58-
BuildableIdentifier = "primary"
59-
BlueprintIdentifier = "MiniZ"
60-
BuildableName = "MiniZ"
61-
BlueprintName = "MiniZ"
62-
ReferencedContainer = "container:">
63-
</BuildableReference>
64-
</BuildActionEntry>
65-
<BuildActionEntry
66-
buildForTesting = "YES"
67-
buildForRunning = "YES"
68-
buildForProfiling = "YES"
69-
buildForArchiving = "YES"
70-
buildForAnalyzing = "YES">
71-
<BuildableReference
72-
BuildableIdentifier = "primary"
73-
BlueprintIdentifier = "OpenGL_GateEngine"
74-
BuildableName = "OpenGL_GateEngine"
75-
BlueprintName = "OpenGL_GateEngine"
76-
ReferencedContainer = "container:">
77-
</BuildableReference>
78-
</BuildActionEntry>
79-
<BuildActionEntry
80-
buildForTesting = "YES"
81-
buildForRunning = "YES"
82-
buildForProfiling = "YES"
83-
buildForArchiving = "YES"
84-
buildForAnalyzing = "YES">
85-
<BuildableReference
86-
BuildableIdentifier = "primary"
87-
BlueprintIdentifier = "Shaders"
88-
BuildableName = "Shaders"
89-
BlueprintName = "Shaders"
90-
ReferencedContainer = "container:">
91-
</BuildableReference>
92-
</BuildActionEntry>
93-
<BuildActionEntry
94-
buildForTesting = "YES"
95-
buildForRunning = "YES"
96-
buildForProfiling = "YES"
97-
buildForArchiving = "YES"
98-
buildForAnalyzing = "YES">
99-
<BuildableReference
100-
BuildableIdentifier = "primary"
101-
BlueprintIdentifier = "TrueType"
102-
BuildableName = "TrueType"
103-
BlueprintName = "TrueType"
104-
ReferencedContainer = "container:">
105-
</BuildableReference>
106-
</BuildActionEntry>
107-
<BuildActionEntry
108-
buildForTesting = "YES"
109-
buildForRunning = "YES"
110-
buildForProfiling = "YES"
111-
buildForArchiving = "YES"
112-
buildForAnalyzing = "YES">
113-
<BuildableReference
114-
BuildableIdentifier = "primary"
115-
BlueprintIdentifier = "Vorbis"
116-
BuildableName = "Vorbis"
117-
BlueprintName = "Vorbis"
118-
ReferencedContainer = "container:">
119-
</BuildableReference>
120-
</BuildActionEntry>
12124
</BuildActionEntries>
12225
</BuildAction>
12326
<TestAction
@@ -126,48 +29,6 @@
12629
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
12730
shouldUseLaunchSchemeArgsEnv = "YES"
12831
shouldAutocreateTestPlan = "YES">
129-
<Testables>
130-
<TestableReference
131-
skipped = "NO">
132-
<BuildableReference
133-
BuildableIdentifier = "primary"
134-
BlueprintIdentifier = "GateEngineTests"
135-
BuildableName = "GateEngineTests"
136-
BlueprintName = "GateEngineTests"
137-
ReferencedContainer = "container:">
138-
</BuildableReference>
139-
</TestableReference>
140-
<TestableReference
141-
skipped = "NO">
142-
<BuildableReference
143-
BuildableIdentifier = "primary"
144-
BlueprintIdentifier = "GameMathSIMDTests"
145-
BuildableName = "GameMathSIMDTests"
146-
BlueprintName = "GameMathSIMDTests"
147-
ReferencedContainer = "container:">
148-
</BuildableReference>
149-
</TestableReference>
150-
<TestableReference
151-
skipped = "NO">
152-
<BuildableReference
153-
BuildableIdentifier = "primary"
154-
BlueprintIdentifier = "GameMathTests"
155-
BuildableName = "GameMathTests"
156-
BlueprintName = "GameMathTests"
157-
ReferencedContainer = "container:">
158-
</BuildableReference>
159-
</TestableReference>
160-
<TestableReference
161-
skipped = "NO">
162-
<BuildableReference
163-
BuildableIdentifier = "primary"
164-
BlueprintIdentifier = "GravityTests"
165-
BuildableName = "GravityTests"
166-
BlueprintName = "GravityTests"
167-
ReferencedContainer = "container:">
168-
</BuildableReference>
169-
</TestableReference>
170-
</Testables>
17132
</TestAction>
17233
<LaunchAction
17334
buildConfiguration = "Debug"

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,16 @@ GateEngine includes intuitive APIs for loading resources, handling user inputs,
66
| Platform | CI | Graphics | Audio | Keyboard | Mouse | Touch | Gamepad |
77
|---------:|:---|:---------|:------|:---------|:------|:------|:--------|
88
| [**macOS**](https://apps.apple.com/us/app/xcode/id497799835) | [![](https://img.shields.io/github/actions/workflow/status/STREGAsGate/GateEngine/macOS.yml?label=Swift%206.0)](https://github.com/STREGAsGate/GateEngine/actions/workflows/macOS.yml) | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ |
9-
| [**Windows**](https://www.swift.org/getting-started/#on-windows) | ⚠️ | ✔︎ || ✔︎ | ✔︎ || ✔︎ |
9+
| [**Windows** 10+](https://www.swift.org/getting-started/#on-windows) | ⚠️ | ✔︎ || ✔︎ | ✔︎ || ✔︎ |
1010
| [**Linux**](https://www.swift.org/getting-started/#on-linux) | ⚠️ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ⛌ | ✔︎
11-
| [**iOS**/**tvOS**](https://apps.apple.com/us/app/xcode/id497799835) | ⚠️ | ✔︎ | ✔︎ | ✔︎ | ✔︎`iPad``tvOS/iPhone` | ✔︎`iOS``tvOS` | ✔︎
11+
| [**iOS** 13.0+</br>**iPadOS** 13.0+</br>**tvOS** 13.0+](https://apps.apple.com/us/app/xcode/id497799835) | [![](https://img.shields.io/github/actions/workflow/status/STREGAsGate/GateEngine/iOS-tvOS.yml?label=Swift%206.0)](https://github.com/STREGAsGate/GateEngine/actions/workflows/iOS-tvOS.yml) | ✔︎</br>✔︎</br>✔︎ | ✔︎</br>✔︎</br>✔︎ | ✔︎</br>✔︎</br>✔︎ | ⛌</br>✔︎</br>⛌ | ✔︎</br>✔︎</br>⛌ | ✔︎</br>✔︎</br>✔︎
1212
| **Android**¹ | ⚠️ | ⛌ | ⛌ | ⛌ | ⛌ | ⛌ | ⛌
1313
| [**HTML5**](https://book.swiftwasm.org/getting-started/setup.html) | ⚠️ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ |
1414

1515
Complete: ✔︎ | Incomplete: ⛌ | Partial: ◑
1616
<sub>
1717
</br>¹Pending a community made cross compile SDK.
18-
</br>⚠️ Development of this platform is paused while the core is finalized.
19-
18+
</br>⚠️ Development of this platform is slowed while the core engine is completed.
2019
</sub>
2120

2221
## About

Sources/GateEngine/System/Platforms/Apple/UIKit/UIKit/UIKitViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ internal class UIKitViewController: GCEventViewController {
5454
switch window.window.style {
5555
case .system:
5656
return false
57-
case .bestForGames:
57+
case .minimalSystemDecorations:
5858
return true
5959
}
6060
}
@@ -63,7 +63,7 @@ internal class UIKitViewController: GCEventViewController {
6363
switch window.window.style {
6464
case .system:
6565
return []
66-
case .bestForGames:
66+
case .minimalSystemDecorations:
6767
return .all
6868
}
6969
}

Sources/GateEngine/System/Platforms/Apple/UIKit/UIKitPlatform.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ public final class UIKitPlatform: Platform, InternalPlatform {
2828
}
2929
return UIApplication.shared.supportsMultipleScenes
3030
}
31+
32+
func setCursorStyle(_ style: Mouse.Style) {
33+
// iOS Doesn't Support Cursor Styles
34+
}
3135

3236
@MainActor
3337
public func locateResource(from path: String) async -> String? {

0 commit comments

Comments
 (0)