Skip to content

Commit 45bac97

Browse files
committed
Get Xcode to use Info.plist as top level Info.plist for app
Before this change, Xcode was simply copying in the Info.plist to be underneath the Resources/ dir. So instead, configure via Xcode's info, then push old contents to the new location.
1 parent f1ca0da commit 45bac97

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

EmacsOpen.xcodeproj/project.pbxproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
C95922102D889B6700C6BE09 /* EmacsOpenLibrary in Frameworks */ = {isa = PBXBuildFile; productRef = C959220F2D889B6700C6BE09 /* EmacsOpenLibrary */; };
1111
C95EB5392D82DEF700B38586 /* EmacsOpen.swift in Sources */ = {isa = PBXBuildFile; fileRef = C95EB5382D82DEF400B38586 /* EmacsOpen.swift */; };
1212
C95EB53D2D82E5C700B38586 /* SwiftUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C95EB53C2D82E5C700B38586 /* SwiftUI.framework */; };
13-
C9DCF97F2D82DC18009DCE78 /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = C9DCF97C2D82DC18009DCE78 /* Info.plist */; };
1413
/* End PBXBuildFile section */
1514

1615
/* Begin PBXFileReference section */
@@ -20,6 +19,7 @@
2019
C972C4A42D82B697006991D5 /* EmacsOpen.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = EmacsOpen.app; sourceTree = BUILT_PRODUCTS_DIR; };
2120
C9DCF9772D82DB38009DCE78 /* EmacsOpen.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = EmacsOpen.entitlements; sourceTree = "<group>"; };
2221
C9DCF97C2D82DC18009DCE78 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
22+
C9E193952D900927007D8E80 /* EmacsOpen-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = "EmacsOpen-Info.plist"; sourceTree = "<group>"; };
2323
/* End PBXFileReference section */
2424

2525
/* Begin PBXFrameworksBuildPhase section */
@@ -46,6 +46,7 @@
4646
C972C49B2D82B697006991D5 = {
4747
isa = PBXGroup;
4848
children = (
49+
C9E193952D900927007D8E80 /* EmacsOpen-Info.plist */,
4950
C96B30992D8F3B7900D06AF4 /* .xcconfig */,
5051
C9DCF9792D82DB38009DCE78 /* EmacsOpenApp */,
5152
C94966532D82D30300427100 /* Frameworks */,
@@ -137,7 +138,6 @@
137138
isa = PBXResourcesBuildPhase;
138139
buildActionMask = 2147483647;
139140
files = (
140-
C9DCF97F2D82DC18009DCE78 /* Info.plist in Resources */,
141141
);
142142
runOnlyForDeploymentPostprocessing = 0;
143143
};
@@ -289,6 +289,7 @@
289289
ENABLE_HARDENED_RUNTIME = YES;
290290
ENABLE_PREVIEWS = YES;
291291
GENERATE_INFOPLIST_FILE = YES;
292+
INFOPLIST_FILE = "EmacsOpen-Info.plist";
292293
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
293294
INFOPLIST_KEY_LSUIElement = YES;
294295
INFOPLIST_KEY_NSHumanReadableCopyright = "";
@@ -319,6 +320,7 @@
319320
ENABLE_HARDENED_RUNTIME = YES;
320321
ENABLE_PREVIEWS = YES;
321322
GENERATE_INFOPLIST_FILE = YES;
323+
INFOPLIST_FILE = "EmacsOpen-Info.plist";
322324
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
323325
INFOPLIST_KEY_LSUIElement = YES;
324326
INFOPLIST_KEY_NSHumanReadableCopyright = "";

0 commit comments

Comments
 (0)