Skip to content

Commit a36198a

Browse files
committed
reverted debug mode app changes
1 parent 82a71ee commit a36198a

File tree

7 files changed

+4
-59
lines changed

7 files changed

+4
-59
lines changed

GoInfoGame/GoInfoGame.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2891,7 +2891,7 @@
28912891
baseConfigurationReference = F008D431593E568E75C48C84 /* Pods-GoInfoGame.debug.xcconfig */;
28922892
buildSettings = {
28932893
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
2894-
ASSETCATALOG_COMPILER_APPICON_NAME = DebugAppIcon;
2894+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
28952895
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
28962896
CODE_SIGN_IDENTITY = "Apple Development";
28972897
CODE_SIGN_STYLE = Automatic;
@@ -2938,7 +2938,7 @@
29382938
"\"UIKit\"",
29392939
"-ObjC",
29402940
);
2941-
PRODUCT_BUNDLE_IDENTIFIER = tech.opentoall.aviv.scoutroute.debug;
2941+
PRODUCT_BUNDLE_IDENTIFIER = com.vindago.goinfogame;
29422942
PRODUCT_NAME = "$(TARGET_NAME)";
29432943
PROVISIONING_PROFILE_SPECIFIER = "";
29442944
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";

GoInfoGame/GoInfoGame/Assets.xcassets/DebugAppIcon.appiconset/Contents.json

Lines changed: 0 additions & 14 deletions
This file was deleted.
Binary file not shown.

GoInfoGame/GoInfoGame/Login/View/PosmLogin.swift

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -174,17 +174,6 @@ struct PosmLoginView: View {
174174
} message: {
175175
Text("Your session has expired. Please login again")
176176
}
177-
#if DEBUG
178-
.onAppear {
179-
if let windowScene = UIApplication.shared.connectedScenes
180-
.first(where: { $0.activationState == .foregroundActive }) as? UIWindowScene {
181-
if let debug = windowScene.keyWindow?.viewWithTag(100) as? UIView {
182-
windowScene.keyWindow?.bringSubviewToFront(debug)
183-
}
184-
}
185-
186-
}
187-
#endif
188177
}
189178

190179
var appVersionText: Text {

GoInfoGame/GoInfoGame/Resources/Firebase/Debug/GoogleService-Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<key>PLIST_VERSION</key>
1010
<string>1</string>
1111
<key>BUNDLE_ID</key>
12-
<string>tech.opentoall.aviv.scoutroute.debug</string>
12+
<string>com.vindago.goinfogame</string>
1313
<key>PROJECT_ID</key>
1414
<string>aviv-scoutroute</string>
1515
<key>STORAGE_BUCKET</key>
@@ -25,6 +25,6 @@
2525
<key>IS_SIGNIN_ENABLED</key>
2626
<true></true>
2727
<key>GOOGLE_APP_ID</key>
28-
<string>1:658772378541:ios:9fd0bbbd9245179415d724</string>
28+
<string>1:658772378541:ios:dba65a5590d6b80615d724</string>
2929
</dict>
3030
</plist>

GoInfoGame/GoInfoGame/SceneDelegate.swift

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -41,27 +41,6 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
4141
window.makeKeyAndVisible()
4242
}
4343
}
44-
#if DEBUG
45-
if let window = self.window {
46-
// add the label left bottom of the screen
47-
let debugLabel = UILabel()
48-
debugLabel.text = "DEBUG"
49-
debugLabel.tag = 100
50-
debugLabel.textAlignment = .center
51-
debugLabel.font = .boldSystemFont(ofSize: 12)
52-
debugLabel.textColor = .white
53-
debugLabel.backgroundColor = Asset.Colors.accentPink.color
54-
debugLabel.translatesAutoresizingMaskIntoConstraints = false
55-
56-
window.addSubview(debugLabel)
57-
NSLayoutConstraint.activate([
58-
debugLabel.topAnchor.constraint(equalTo: window.safeAreaLayoutGuide.bottomAnchor, constant: 0),
59-
debugLabel.widthAnchor.constraint(equalTo: window.safeAreaLayoutGuide.widthAnchor),
60-
debugLabel.heightAnchor.constraint(equalToConstant: 14)
61-
])
62-
63-
}
64-
#endif
6544
}
6645

6746
func sceneDidDisconnect(_ scene: UIScene) {

GoInfoGame/GoInfoGame/UI/InitialView/InitialView.swift

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -104,15 +104,6 @@ struct WorkspacesListView: View {
104104
}
105105
}
106106
}
107-
108-
#if DEBUG
109-
if let windowScene = UIApplication.shared.connectedScenes
110-
.first(where: { $0.activationState == .foregroundActive }) as? UIWindowScene {
111-
if let debug = windowScene.keyWindow?.viewWithTag(100) as? UIView {
112-
windowScene.keyWindow?.bringSubviewToFront(debug)
113-
}
114-
}
115-
#endif
116107
}
117108
}
118109
} else if viewModel.workspaces == nil {

0 commit comments

Comments
 (0)