File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
Sources/RswiftCore/ResourceTypes Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,6 @@ import XcodeEdit
1212
1313struct BuildConfiguration {
1414 let name : String
15- let infoPlistPath : Path
16- let entitlementsPath : Path ?
1715}
1816
1917struct Xcodeproj : WhiteListedExtensionsResourceType {
@@ -85,16 +83,7 @@ struct Xcodeproj: WhiteListedExtensionsResourceType {
8583 let buildConfigurations = buildConfigurationList. buildConfigurations
8684 . compactMap { $0. value }
8785 . compactMap { configuration -> BuildConfiguration ? in
88- guard let infoPlistFile = configuration. buildSettings [ " INFOPLIST_FILE " ] as? String else { return nil }
89- let infoPlistPath = Path . relativeTo ( . sourceRoot, infoPlistFile)
90-
91- let codeSignEntitlements = configuration. buildSettings [ " CODE_SIGN_ENTITLEMENTS " ] as? String
92- let entitlementsPath = codeSignEntitlements. map { Path . relativeTo ( . sourceRoot, $0) }
93-
94- return BuildConfiguration (
95- name: configuration. name,
96- infoPlistPath: infoPlistPath,
97- entitlementsPath: entitlementsPath)
86+ return BuildConfiguration ( name: configuration. name)
9887 }
9988
10089 return buildConfigurations
You can’t perform that action at this time.
0 commit comments