mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-11-18 20:15:11 +00:00
Rename ExternalProject -> ProjectReference
This commit is contained in:
1 parent
d1bed7191c
commit
d978cf4df2
4 files changed
+52
-44
No files matched your search
@@ -88,11 +88,11 @@ public class SchemeGenerator {
|
||||
let projectFilePath: String
|
||||
switch buildTarget.target.location {
|
||||
case .project(let project):
|
||||
guard let externalProject = self.project.getExternalProject(project) else {
|
||||
fatalError("Unable to find external project named \"\(project)\" in project.yml")
|
||||
guard let projectReference = self.project.getProjectReference(project) else {
|
||||
fatalError("Unable to find project reference named \"\(project)\" in project.yml")
|
||||
}
|
||||
pbxProj = try XcodeProj(pathString: externalProject.path).pbxproj
|
||||
projectFilePath = externalProject.path
|
||||
pbxProj = try XcodeProj(pathString: projectReference.path).pbxproj
|
||||
projectFilePath = projectReference.path
|
||||
case .local:
|
||||
pbxProj = self.pbxProj
|
||||
projectFilePath = "\(self.project.name).xcodeproj"
|
||||
|
||||
Reference in new issue
Block a user