Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
shouldAutocreateTestPlan = "YES">
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
buildConfiguration = "Release"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
Expand Down
18 changes: 9 additions & 9 deletions ExampleApp/ExampleApp/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -199,15 +199,15 @@ struct ContentView: View {
.foregroundColor(.white)

// Secure Enclave test button (debug only)
#if DEBUG
Button(action: {
showEnclaveTest = true
Task { await testSecureEnclave() }
}) {
Image(systemName: "key.fill")
.foregroundColor(.yellow)
}
#endif
#if DEBUG
Button(action: {
showEnclaveTest = true
Task { await testSecureEnclave() }
}) {
Image(systemName: "key.fill")
.foregroundColor(.yellow)
}
#endif

Spacer()

Expand Down
2 changes: 1 addition & 1 deletion ExampleApp/ExampleApp/ExampleApp.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
<plist version="1.0">
<dict>
<key>com.apple.developer.devicecheck.appattest-environment</key>
<string>development</string>
<string>production</string>
</dict>
</plist>