Skip to content

Commit a78826e

Browse files
Merge pull request #18002 from libretro/warmenhoven/pr/xcode-tweaks
2 parents 9795fd2 + bb6a0c5 commit a78826e

File tree

6 files changed

+162
-12
lines changed

6 files changed

+162
-12
lines changed

pkg/apple/RetroArch_Metal.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1837,6 +1837,7 @@
18371837
buildSettings = {
18381838
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
18391839
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
1840+
CLANG_ANALYZER_DEADCODE_DEADSTORES = NO;
18401841
CURRENT_PROJECT_VERSION = 1;
18411842
ENABLE_HARDENED_RUNTIME = YES;
18421843
};
@@ -1848,6 +1849,7 @@
18481849
buildSettings = {
18491850
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
18501851
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
1852+
CLANG_ANALYZER_DEADCODE_DEADSTORES = NO;
18511853
CURRENT_PROJECT_VERSION = 1;
18521854
ENABLE_HARDENED_RUNTIME = YES;
18531855
};

pkg/apple/RetroArch_iOS13.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apple/RetroArch_iOS13.xcodeproj/xcshareddata/xcschemes/RetroArch iOS Debug.xcscheme

Lines changed: 71 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
33
LastUpgradeVersion = "1010"
4-
version = "1.3">
4+
version = "2.0">
55
<BuildAction
66
parallelizeBuildables = "YES"
77
buildImplicitDependencies = "YES">
@@ -44,12 +44,18 @@
4444
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4545
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
4646
customLLDBInitFile = "$(SRCROOT)/LLDBInitFile"
47+
disableMainThreadChecker = "YES"
48+
disablePerformanceAntipatternChecker = "YES"
4749
launchStyle = "0"
4850
useCustomWorkingDirectory = "NO"
4951
ignoresPersistentStateOnLaunch = "NO"
50-
debugDocumentVersioning = "YES"
52+
debugDocumentVersioning = "NO"
53+
debugXPCServices = "NO"
5154
debugServiceExtension = "internal"
52-
allowLocationSimulation = "YES">
55+
enableGPUValidationMode = "1"
56+
allowLocationSimulation = "NO"
57+
viewDebuggingEnabled = "No"
58+
queueDebuggingEnabled = "No">
5359
<BuildableProductRunnable
5460
runnableDebuggingMode = "0">
5561
<BuildableReference
@@ -66,6 +72,68 @@
6672
isEnabled = "YES">
6773
</CommandLineArgument>
6874
</CommandLineArguments>
75+
<EnvironmentVariables>
76+
<EnvironmentVariable
77+
key = "DYLD_PRINT_ENV"
78+
value = "1"
79+
isEnabled = "NO">
80+
</EnvironmentVariable>
81+
<EnvironmentVariable
82+
key = "DYLD_PRINT_LIBRARIES"
83+
value = "1"
84+
isEnabled = "NO">
85+
</EnvironmentVariable>
86+
<EnvironmentVariable
87+
key = "DYLD_PRINT_LOADERS"
88+
value = "1"
89+
isEnabled = "NO">
90+
</EnvironmentVariable>
91+
<EnvironmentVariable
92+
key = "DYLD_PRINT_SEARCHING"
93+
value = "1"
94+
isEnabled = "NO">
95+
</EnvironmentVariable>
96+
<EnvironmentVariable
97+
key = "DYLD_PRINT_INITIALIZERS"
98+
value = "1"
99+
isEnabled = "NO">
100+
</EnvironmentVariable>
101+
<EnvironmentVariable
102+
key = "DYLD_PRINT_APIS"
103+
value = "1"
104+
isEnabled = "NO">
105+
</EnvironmentVariable>
106+
<EnvironmentVariable
107+
key = "DYLD_PRINT_SEGMENTS"
108+
value = "1"
109+
isEnabled = "NO">
110+
</EnvironmentVariable>
111+
<EnvironmentVariable
112+
key = "DYLD_PRINT_BINDINGS"
113+
value = "1"
114+
isEnabled = "NO">
115+
</EnvironmentVariable>
116+
<EnvironmentVariable
117+
key = "MVK_CONFIG_LOG_LEVEL"
118+
value = "4"
119+
isEnabled = "NO">
120+
</EnvironmentVariable>
121+
<EnvironmentVariable
122+
key = "MVK_CONFIG_PERFORMANCE_TRACKING"
123+
value = "1"
124+
isEnabled = "NO">
125+
</EnvironmentVariable>
126+
<EnvironmentVariable
127+
key = "MVK_CONFIG_ACTIVITY_PERFORMANCE_LOGGING_STYLE"
128+
value = "0"
129+
isEnabled = "NO">
130+
</EnvironmentVariable>
131+
<EnvironmentVariable
132+
key = "MVK_CONFIG_PERFORMANCE_LOGGING_FRAME_COUNT"
133+
value = "60"
134+
isEnabled = "NO">
135+
</EnvironmentVariable>
136+
</EnvironmentVariables>
69137
</LaunchAction>
70138
<ProfileAction
71139
buildConfiguration = "Release"

pkg/apple/RetroArch_iOS13.xcodeproj/xcshareddata/xcschemes/RetroArch iOS Release.xcscheme

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
33
LastUpgradeVersion = "1010"
4-
version = "1.3">
4+
version = "2.0">
55
<BuildAction
66
parallelizeBuildables = "YES"
77
buildImplicitDependencies = "YES">
@@ -44,12 +44,18 @@
4444
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4545
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
4646
customLLDBInitFile = "$(SRCROOT)/LLDBInitFile"
47+
disableMainThreadChecker = "YES"
48+
disablePerformanceAntipatternChecker = "YES"
4749
launchStyle = "0"
4850
useCustomWorkingDirectory = "NO"
4951
ignoresPersistentStateOnLaunch = "NO"
50-
debugDocumentVersioning = "YES"
52+
debugDocumentVersioning = "NO"
53+
debugXPCServices = "NO"
5154
debugServiceExtension = "internal"
52-
allowLocationSimulation = "YES">
55+
enableGPUValidationMode = "1"
56+
allowLocationSimulation = "NO"
57+
viewDebuggingEnabled = "No"
58+
queueDebuggingEnabled = "No">
5359
<BuildableProductRunnable
5460
runnableDebuggingMode = "0">
5561
<BuildableReference

pkg/apple/RetroArch_iOS13.xcodeproj/xcshareddata/xcschemes/RetroArch tvOS Debug.xcscheme

Lines changed: 71 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
33
LastUpgradeVersion = "1010"
4-
version = "1.3">
4+
version = "2.0">
55
<BuildAction
66
parallelizeBuildables = "YES"
77
buildImplicitDependencies = "YES">
@@ -43,12 +43,18 @@
4343
buildConfiguration = "Debug"
4444
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4545
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
46+
customLLDBInitFile = "$(SRCROOT)/LLDBInitFile"
47+
disableMainThreadChecker = "YES"
4648
launchStyle = "0"
4749
useCustomWorkingDirectory = "NO"
4850
ignoresPersistentStateOnLaunch = "NO"
4951
debugDocumentVersioning = "YES"
52+
debugXPCServices = "NO"
5053
debugServiceExtension = "internal"
51-
allowLocationSimulation = "YES">
54+
enableGPUValidationMode = "1"
55+
allowLocationSimulation = "NO"
56+
viewDebuggingEnabled = "No"
57+
queueDebuggingEnabled = "No">
5258
<BuildableProductRunnable
5359
runnableDebuggingMode = "0">
5460
<BuildableReference
@@ -59,6 +65,68 @@
5965
ReferencedContainer = "container:RetroArch_iOS13.xcodeproj">
6066
</BuildableReference>
6167
</BuildableProductRunnable>
68+
<EnvironmentVariables>
69+
<EnvironmentVariable
70+
key = "DYLD_PRINT_ENV"
71+
value = "1"
72+
isEnabled = "NO">
73+
</EnvironmentVariable>
74+
<EnvironmentVariable
75+
key = "DYLD_PRINT_LIBRARIES"
76+
value = "1"
77+
isEnabled = "NO">
78+
</EnvironmentVariable>
79+
<EnvironmentVariable
80+
key = "DYLD_PRINT_LOADERS"
81+
value = "1"
82+
isEnabled = "NO">
83+
</EnvironmentVariable>
84+
<EnvironmentVariable
85+
key = "DYLD_PRINT_SEARCHING"
86+
value = "1"
87+
isEnabled = "NO">
88+
</EnvironmentVariable>
89+
<EnvironmentVariable
90+
key = "DYLD_PRINT_INITIALIZERS"
91+
value = "1"
92+
isEnabled = "NO">
93+
</EnvironmentVariable>
94+
<EnvironmentVariable
95+
key = "DYLD_PRINT_APIS"
96+
value = "1"
97+
isEnabled = "NO">
98+
</EnvironmentVariable>
99+
<EnvironmentVariable
100+
key = "DYLD_PRINT_SEGMENTS"
101+
value = "1"
102+
isEnabled = "NO">
103+
</EnvironmentVariable>
104+
<EnvironmentVariable
105+
key = "DYLD_PRINT_BINDING"
106+
value = "1"
107+
isEnabled = "NO">
108+
</EnvironmentVariable>
109+
<EnvironmentVariable
110+
key = "MVK_CONFIG_LOG_LEVEL"
111+
value = "4"
112+
isEnabled = "NO">
113+
</EnvironmentVariable>
114+
<EnvironmentVariable
115+
key = "MVK_CONFIG_PERFORMANCE_TRACKING"
116+
value = "1"
117+
isEnabled = "NO">
118+
</EnvironmentVariable>
119+
<EnvironmentVariable
120+
key = "MVK_CONFIG_ACTIVITY_PERFORMANCE_LOGGING_STYLE"
121+
value = "0"
122+
isEnabled = "NO">
123+
</EnvironmentVariable>
124+
<EnvironmentVariable
125+
key = "MVK_CONFIG_PERFORMANCE_LOGGING_FRAME_COUNT"
126+
value = "60"
127+
isEnabled = "NO">
128+
</EnvironmentVariable>
129+
</EnvironmentVariables>
62130
</LaunchAction>
63131
<ProfileAction
64132
buildConfiguration = "Release"
@@ -81,7 +149,7 @@
81149
buildConfiguration = "Debug">
82150
</AnalyzeAction>
83151
<ArchiveAction
84-
buildConfiguration = "Release"
152+
buildConfiguration = "Debug"
85153
revealArchiveInOrganizer = "YES">
86154
</ArchiveAction>
87155
</Scheme>

pkg/apple/RetroArch_iOS13.xcodeproj/xcshareddata/xcschemes/RetroArch tvOS Release.xcscheme

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
33
LastUpgradeVersion = "1010"
4-
version = "1.3">
4+
version = "2.0">
55
<BuildAction
66
parallelizeBuildables = "YES"
77
buildImplicitDependencies = "YES">
@@ -43,12 +43,18 @@
4343
buildConfiguration = "Release"
4444
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4545
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
46+
customLLDBInitFile = "$(SRCROOT)/LLDBInitFile"
47+
disableMainThreadChecker = "YES"
4648
launchStyle = "0"
4749
useCustomWorkingDirectory = "NO"
4850
ignoresPersistentStateOnLaunch = "NO"
4951
debugDocumentVersioning = "YES"
52+
debugXPCServices = "NO"
5053
debugServiceExtension = "internal"
51-
allowLocationSimulation = "YES">
54+
enableGPUValidationMode = "1"
55+
allowLocationSimulation = "NO"
56+
viewDebuggingEnabled = "No"
57+
queueDebuggingEnabled = "No">
5258
<BuildableProductRunnable
5359
runnableDebuggingMode = "0">
5460
<BuildableReference

0 commit comments

Comments
 (0)