Skip to content

Commit 2ba147d

Browse files
committed
fix: ios database url and app name conversion bug
1 parent b495f7a commit 2ba147d

File tree

6 files changed

+177
-11
lines changed

6 files changed

+177
-11
lines changed

packages/firebase_core/firebase_core/ios/firebase_core/Sources/firebase_core/FLTFirebaseCorePlugin.swift

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,47 @@ import Foundation
118118
completion: @escaping (Result<CoreInitializeResponse, Error>) -> Void) {
119119
let appNameIos = FLTFirebasePluginHelper.firebaseAppName(fromDartName: appName)
120120

121+
// If app already exists and has the same configuration, return it
122+
// Otherwise, we need to delete and recreate it with the new options
121123
if let existingApp = FLTFirebasePluginHelper.firebaseApp(named: appName) {
124+
let existingOptions = existingApp.options
125+
126+
// Check if the existing app has the required databaseURL if one is being provided
127+
if let newDatabaseURL = initializeAppRequest.databaseURL,
128+
existingOptions.databaseURL == nil || existingOptions.databaseURL != newDatabaseURL {
129+
// Need to reconfigure - delete the existing app first
130+
existingApp.delete { success in
131+
if success {
132+
// Now configure with new options
133+
self.configureNewApp(appName: appName, appNameIos: appNameIos,
134+
initializeAppRequest: initializeAppRequest,
135+
completion: completion)
136+
} else {
137+
completion(.failure(NSError(domain: "FLTFirebaseCore",
138+
code: -1,
139+
userInfo: [
140+
NSLocalizedDescriptionKey: "Failed to delete existing Firebase app for reconfiguration",
141+
])))
142+
}
143+
}
144+
return
145+
}
146+
147+
// App exists with same config, return it
122148
completion(.success(initializeResponse(from: existingApp)))
123149
return
124150
}
125151

152+
// No existing app, create new one
153+
configureNewApp(appName: appName, appNameIos: appNameIos,
154+
initializeAppRequest: initializeAppRequest,
155+
completion: completion)
156+
}
157+
158+
private func configureNewApp(appName: String,
159+
appNameIos: String,
160+
initializeAppRequest: CoreFirebaseOptions,
161+
completion: @escaping (Result<CoreInitializeResponse, Error>) -> Void) {
126162
let appId = initializeAppRequest.appId
127163
let messagingSenderId = initializeAppRequest.messagingSenderId
128164

packages/firebase_database/firebase_database/example/ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
2323
<key>MinimumOSVersion</key>
24-
<string>12.0</string>
24+
<string>13.0</string>
2525
</dict>
2626
</plist>

packages/firebase_database/firebase_database/example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 109 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
1313
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
1414
78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */ = {isa = PBXBuildFile; productRef = 78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */; };
15+
7E7A22D0D0B5E0B6403D6B0D /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D0B2AD4C7312FCEC9358A522 /* Pods_RunnerTests.framework */; };
16+
97589374DA1B1A70ADF8F27F /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DA57C15AE9F4398B64AD0747 /* Pods_Runner.framework */; };
1517
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
1618
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
1719
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
@@ -41,28 +43,37 @@
4143
/* End PBXCopyFilesBuildPhase section */
4244

4345
/* Begin PBXFileReference section */
46+
073009F62E3796B5E24BB0FE /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
4447
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
4548
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
4649
331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = "<group>"; };
4750
331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
4851
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
52+
56323460EAB2157B9871EF47 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
4953
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
5054
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
5155
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
56+
91E860EE14DF4BF718694EB9 /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = "<group>"; };
57+
92D498C311CD062E6B992159 /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = "<group>"; };
5258
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; };
5359
9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; };
5460
97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
5561
97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
5662
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
5763
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
5864
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
65+
D0B2AD4C7312FCEC9358A522 /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
66+
DA57C15AE9F4398B64AD0747 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
67+
E942728D827143C4EAFF9F7A /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = "<group>"; };
68+
FF63298A3236C04DB2C5E2C3 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
5969
/* End PBXFileReference section */
6070

6171
/* Begin PBXFrameworksBuildPhase section */
6272
3A1CC5C1C175EAC210B3D882 /* Frameworks */ = {
6373
isa = PBXFrameworksBuildPhase;
6474
buildActionMask = 2147483647;
6575
files = (
76+
7E7A22D0D0B5E0B6403D6B0D /* Pods_RunnerTests.framework in Frameworks */,
6677
);
6778
runOnlyForDeploymentPostprocessing = 0;
6879
};
@@ -71,12 +82,22 @@
7182
buildActionMask = 2147483647;
7283
files = (
7384
78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */,
85+
97589374DA1B1A70ADF8F27F /* Pods_Runner.framework in Frameworks */,
7486
);
7587
runOnlyForDeploymentPostprocessing = 0;
7688
};
7789
/* End PBXFrameworksBuildPhase section */
7890

7991
/* Begin PBXGroup section */
92+
0495EAF15B0E99BC91A18F9C /* Frameworks */ = {
93+
isa = PBXGroup;
94+
children = (
95+
DA57C15AE9F4398B64AD0747 /* Pods_Runner.framework */,
96+
D0B2AD4C7312FCEC9358A522 /* Pods_RunnerTests.framework */,
97+
);
98+
name = Frameworks;
99+
sourceTree = "<group>";
100+
};
80101
331C8082294A63A400263BE5 /* RunnerTests */ = {
81102
isa = PBXGroup;
82103
children = (
@@ -103,6 +124,8 @@
103124
97C146F01CF9000F007C117D /* Runner */,
104125
97C146EF1CF9000F007C117D /* Products */,
105126
331C8082294A63A400263BE5 /* RunnerTests */,
127+
C544C77A62240A8EC8F7A7A8 /* Pods */,
128+
0495EAF15B0E99BC91A18F9C /* Frameworks */,
106129
);
107130
sourceTree = "<group>";
108131
};
@@ -130,13 +153,28 @@
130153
path = Runner;
131154
sourceTree = "<group>";
132155
};
156+
C544C77A62240A8EC8F7A7A8 /* Pods */ = {
157+
isa = PBXGroup;
158+
children = (
159+
FF63298A3236C04DB2C5E2C3 /* Pods-Runner.debug.xcconfig */,
160+
073009F62E3796B5E24BB0FE /* Pods-Runner.release.xcconfig */,
161+
56323460EAB2157B9871EF47 /* Pods-Runner.profile.xcconfig */,
162+
91E860EE14DF4BF718694EB9 /* Pods-RunnerTests.debug.xcconfig */,
163+
E942728D827143C4EAFF9F7A /* Pods-RunnerTests.release.xcconfig */,
164+
92D498C311CD062E6B992159 /* Pods-RunnerTests.profile.xcconfig */,
165+
);
166+
name = Pods;
167+
path = Pods;
168+
sourceTree = "<group>";
169+
};
133170
/* End PBXGroup section */
134171

135172
/* Begin PBXNativeTarget section */
136173
331C8080294A63A400263BE5 /* RunnerTests */ = {
137174
isa = PBXNativeTarget;
138175
buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */;
139176
buildPhases = (
177+
8C3AA15F0EFEA7F857DD3A14 /* [CP] Check Pods Manifest.lock */,
140178
331C807D294A63A400263BE5 /* Sources */,
141179
331C807F294A63A400263BE5 /* Resources */,
142180
3A1CC5C1C175EAC210B3D882 /* Frameworks */,
@@ -155,12 +193,14 @@
155193
isa = PBXNativeTarget;
156194
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
157195
buildPhases = (
196+
8734CA8B447094F68CBCEA49 /* [CP] Check Pods Manifest.lock */,
158197
9740EEB61CF901F6004384FC /* Run Script */,
159198
97C146EA1CF9000F007C117D /* Sources */,
160199
97C146EB1CF9000F007C117D /* Frameworks */,
161200
97C146EC1CF9000F007C117D /* Resources */,
162201
9705A1C41CF9048500538489 /* Embed Frameworks */,
163202
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
203+
059B5F6EDDBC4DAD69272226 /* [CP] Embed Pods Frameworks */,
164204
);
165205
buildRules = (
166206
);
@@ -204,7 +244,7 @@
204244
);
205245
mainGroup = 97C146E51CF9000F007C117D;
206246
packageReferences = (
207-
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage" */,
247+
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "FlutterGeneratedPluginSwiftPackage" */,
208248
);
209249
productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
210250
projectDirPath = "";
@@ -238,6 +278,23 @@
238278
/* End PBXResourcesBuildPhase section */
239279

240280
/* Begin PBXShellScriptBuildPhase section */
281+
059B5F6EDDBC4DAD69272226 /* [CP] Embed Pods Frameworks */ = {
282+
isa = PBXShellScriptBuildPhase;
283+
buildActionMask = 2147483647;
284+
files = (
285+
);
286+
inputFileListPaths = (
287+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
288+
);
289+
name = "[CP] Embed Pods Frameworks";
290+
outputFileListPaths = (
291+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
292+
);
293+
runOnlyForDeploymentPostprocessing = 0;
294+
shellPath = /bin/sh;
295+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
296+
showEnvVarsInLog = 0;
297+
};
241298
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
242299
isa = PBXShellScriptBuildPhase;
243300
alwaysOutOfDate = 1;
@@ -254,6 +311,50 @@
254311
shellPath = /bin/sh;
255312
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
256313
};
314+
8734CA8B447094F68CBCEA49 /* [CP] Check Pods Manifest.lock */ = {
315+
isa = PBXShellScriptBuildPhase;
316+
buildActionMask = 2147483647;
317+
files = (
318+
);
319+
inputFileListPaths = (
320+
);
321+
inputPaths = (
322+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
323+
"${PODS_ROOT}/Manifest.lock",
324+
);
325+
name = "[CP] Check Pods Manifest.lock";
326+
outputFileListPaths = (
327+
);
328+
outputPaths = (
329+
"$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
330+
);
331+
runOnlyForDeploymentPostprocessing = 0;
332+
shellPath = /bin/sh;
333+
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
334+
showEnvVarsInLog = 0;
335+
};
336+
8C3AA15F0EFEA7F857DD3A14 /* [CP] Check Pods Manifest.lock */ = {
337+
isa = PBXShellScriptBuildPhase;
338+
buildActionMask = 2147483647;
339+
files = (
340+
);
341+
inputFileListPaths = (
342+
);
343+
inputPaths = (
344+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
345+
"${PODS_ROOT}/Manifest.lock",
346+
);
347+
name = "[CP] Check Pods Manifest.lock";
348+
outputFileListPaths = (
349+
);
350+
outputPaths = (
351+
"$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt",
352+
);
353+
runOnlyForDeploymentPostprocessing = 0;
354+
shellPath = /bin/sh;
355+
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
356+
showEnvVarsInLog = 0;
357+
};
257358
9740EEB61CF901F6004384FC /* Run Script */ = {
258359
isa = PBXShellScriptBuildPhase;
259360
alwaysOutOfDate = 1;
@@ -362,7 +463,7 @@
362463
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
363464
GCC_WARN_UNUSED_FUNCTION = YES;
364465
GCC_WARN_UNUSED_VARIABLE = YES;
365-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
466+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
366467
MTL_ENABLE_DEBUG_INFO = NO;
367468
SDKROOT = iphoneos;
368469
SUPPORTED_PLATFORMS = iphoneos;
@@ -396,6 +497,7 @@
396497
};
397498
331C8088294A63A400263BE5 /* Debug */ = {
398499
isa = XCBuildConfiguration;
500+
baseConfigurationReference = 91E860EE14DF4BF718694EB9 /* Pods-RunnerTests.debug.xcconfig */;
399501
buildSettings = {
400502
BUNDLE_LOADER = "$(TEST_HOST)";
401503
CODE_SIGN_STYLE = Automatic;
@@ -413,6 +515,7 @@
413515
};
414516
331C8089294A63A400263BE5 /* Release */ = {
415517
isa = XCBuildConfiguration;
518+
baseConfigurationReference = E942728D827143C4EAFF9F7A /* Pods-RunnerTests.release.xcconfig */;
416519
buildSettings = {
417520
BUNDLE_LOADER = "$(TEST_HOST)";
418521
CODE_SIGN_STYLE = Automatic;
@@ -428,6 +531,7 @@
428531
};
429532
331C808A294A63A400263BE5 /* Profile */ = {
430533
isa = XCBuildConfiguration;
534+
baseConfigurationReference = 92D498C311CD062E6B992159 /* Pods-RunnerTests.profile.xcconfig */;
431535
buildSettings = {
432536
BUNDLE_LOADER = "$(TEST_HOST)";
433537
CODE_SIGN_STYLE = Automatic;
@@ -490,7 +594,7 @@
490594
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
491595
GCC_WARN_UNUSED_FUNCTION = YES;
492596
GCC_WARN_UNUSED_VARIABLE = YES;
493-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
597+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
494598
MTL_ENABLE_DEBUG_INFO = YES;
495599
ONLY_ACTIVE_ARCH = YES;
496600
SDKROOT = iphoneos;
@@ -541,7 +645,7 @@
541645
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
542646
GCC_WARN_UNUSED_FUNCTION = YES;
543647
GCC_WARN_UNUSED_VARIABLE = YES;
544-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
648+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
545649
MTL_ENABLE_DEBUG_INFO = NO;
546650
SDKROOT = iphoneos;
547651
SUPPORTED_PLATFORMS = iphoneos;
@@ -635,7 +739,7 @@
635739
/* End XCConfigurationList section */
636740

637741
/* Begin XCLocalSwiftPackageReference section */
638-
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage" */ = {
742+
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "FlutterGeneratedPluginSwiftPackage" */ = {
639743
isa = XCLocalSwiftPackageReference;
640744
relativePath = Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage;
641745
};

packages/firebase_database/firebase_database/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
buildConfiguration = "Debug"
4545
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4646
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
47+
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
4748
shouldUseLaunchSchemeArgsEnv = "YES">
4849
<MacroExpansion>
4950
<BuildableReference
@@ -72,11 +73,13 @@
7273
buildConfiguration = "Debug"
7374
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
7475
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
76+
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
7577
launchStyle = "0"
7678
useCustomWorkingDirectory = "NO"
7779
ignoresPersistentStateOnLaunch = "NO"
7880
debugDocumentVersioning = "YES"
7981
debugServiceExtension = "internal"
82+
enableGPUValidationMode = "1"
8083
allowLocationSimulation = "YES">
8184
<BuildableProductRunnable
8285
runnableDebuggingMode = "0">

0 commit comments

Comments
 (0)