Skip to content

Commit 4fd92a4

Browse files
authored
Fix Maps.app's crash on device after the second launch (#306)
This seems to be Xcode 11's bug of linking frameworks.
1 parent 9c57089 commit 4fd92a4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Examples/Maps/Maps.xcodeproj/project.pbxproj

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
543844BD23D2BE2000D5EDE4 /* MapKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 543844BC23D2BE2000D5EDE4 /* MapKit.framework */; };
1011
549D23D2233C77D5008EF4D7 /* FloatingPanel.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 549D23D1233C77D5008EF4D7 /* FloatingPanel.framework */; };
1112
549D23D3233C77D5008EF4D7 /* FloatingPanel.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 549D23D1233C77D5008EF4D7 /* FloatingPanel.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
1213
54B5112A216C3D840033A6F3 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 54B51129216C3D840033A6F3 /* AppDelegate.swift */; };
@@ -31,6 +32,7 @@
3132
/* End PBXCopyFilesBuildPhase section */
3233

3334
/* Begin PBXFileReference section */
35+
543844BC23D2BE2000D5EDE4 /* MapKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MapKit.framework; path = System/Library/Frameworks/MapKit.framework; sourceTree = SDKROOT; };
3436
549D23D1233C77D5008EF4D7 /* FloatingPanel.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = FloatingPanel.framework; sourceTree = BUILT_PRODUCTS_DIR; };
3537
54B51126216C3D840033A6F3 /* Maps.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Maps.app; sourceTree = BUILT_PRODUCTS_DIR; };
3638
54B51129216C3D840033A6F3 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
@@ -46,19 +48,29 @@
4648
isa = PBXFrameworksBuildPhase;
4749
buildActionMask = 2147483647;
4850
files = (
51+
543844BD23D2BE2000D5EDE4 /* MapKit.framework in Frameworks */,
4952
549D23D2233C77D5008EF4D7 /* FloatingPanel.framework in Frameworks */,
5053
);
5154
runOnlyForDeploymentPostprocessing = 0;
5255
};
5356
/* End PBXFrameworksBuildPhase section */
5457

5558
/* Begin PBXGroup section */
59+
543844BB23D2BE1F00D5EDE4 /* Frameworks */ = {
60+
isa = PBXGroup;
61+
children = (
62+
543844BC23D2BE2000D5EDE4 /* MapKit.framework */,
63+
);
64+
name = Frameworks;
65+
sourceTree = "<group>";
66+
};
5667
54B5111D216C3D840033A6F3 = {
5768
isa = PBXGroup;
5869
children = (
5970
549D23D1233C77D5008EF4D7 /* FloatingPanel.framework */,
6071
54B51128216C3D840033A6F3 /* Maps */,
6172
54B51127216C3D840033A6F3 /* Products */,
73+
543844BB23D2BE1F00D5EDE4 /* Frameworks */,
6274
);
6375
sourceTree = "<group>";
6476
};

0 commit comments

Comments
 (0)