mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2024-09-11 12:56:03 +03:00
More detailed error message with method arguments (#990)
* More detailed error message with method arguments * Add pr title to CHANGELOG.md
This commit is contained in:
parent
f9d1406683
commit
79738b3e95
@ -5,6 +5,7 @@
|
||||
#### Added
|
||||
- Support for building and running on Linux platforms. Tested for compatibility with Swift 5.3+ and Ubuntu 18.04. [#988](https://github.com/yonaskolb/XcodeGen/pull/988) @elliottwilliams
|
||||
- Add `useBaseInternationalization` to Project Spec Options to opt out of Base Internationalization. [#961](https://github.com/yonaskolb/XcodeGen/pull/961) @liamnichols
|
||||
- More detailed error message with method arguments. [#990](https://github.com/yonaskolb/XcodeGen/pull/990) @bannzai
|
||||
|
||||
#### Fixed
|
||||
- Fixed error message output for `minimumXcodeGenVersion`. [#967](https://github.com/yonaskolb/XcodeGen/pull/967) @joshwalker
|
||||
|
@ -370,13 +370,13 @@ public class PBXProjGenerator {
|
||||
|
||||
func generateExternalTargetDependency(from: String, to target: String, in project: String, platform: Platform) throws -> (PBXTargetDependency, Target, PBXReferenceProxy) {
|
||||
guard let projectReference = self.project.getProjectReference(project) else {
|
||||
fatalError("project not found")
|
||||
fatalError("project '\(project)' not found")
|
||||
}
|
||||
|
||||
let pbxProj = try getPBXProj(from: projectReference)
|
||||
|
||||
guard let targetObject = pbxProj.targets(named: target).first else {
|
||||
fatalError("target not found")
|
||||
fatalError("target '\(target)' not found in project '\(project)'")
|
||||
}
|
||||
|
||||
let projectFileReferenceIndex = self.pbxProj.rootObject!
|
||||
|
Loading…
Reference in New Issue
Block a user