:0: error: build had 1 command failures
error: exit(1): /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-build-tool -f /Users/d021624/Projects/Private/macOS/SwiftGtk/.build/gir2swift/.build/debug.yaml
./gir-to-swift.sh: line 24: gir2swift: command not found
./gir-to-swift.sh: line 24: gir2swift: command not found
./gir-to-swift.sh: line 24: gir2swift: command not found
./gir-to-swift.sh: line 25: exec: gir2swift: not found
./gir-to-swift.sh: line 24: gir2swift: command not found
./gir-to-swift.sh: line 24: gir2swift: command not found
./gir-to-swift.sh: line 24: gir2swift: command not found
./gir-to-swift.sh: line 24: gir2swift: command not found
./gir-to-swift.sh: line 24: gir2swift: command not found
./gir-to-swift.sh: line 24: gir2swift: command not found
./xcodegen.sh: line 10: cd: Gtk.xcodeproj/Configs: No such file or directory
:1:9: note: in file included from :1:
#import "libxml2_bridging.h"
^
/Users/d021624/Projects/Private/macOS/SwiftGtk/.build/gir2swift/Packages/CLibXML2-1.0.1/libxml2_bridging.h:12:9: note: in file included from /Users/d021624/Projects/Private/macOS/SwiftGtk/.build/gir2swift/Packages/CLibXML2-1.0.1/libxml2_bridging.h:12:
#import
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libxml2/libxml/xmlreader.h:13:10: error: 'libxml/xmlversion.h' file not found
#include
^
/Users/d021624/Projects/Private/macOS/SwiftGtk/.build/gir2swift/Packages/SwiftLibXML-1.2.0/Sources/XMLAttribute.swift:14:8: error: could not build Objective-C module 'CLibXML2'
import CLibXML2
^
:1:9: note: in file included from :1:
#import "libxml2_bridging.h"
^
/Users/d021624/Projects/Private/macOS/SwiftGtk/.build/gir2swift/Packages/CLibXML2-1.0.1/libxml2_bridging.h:12:9: note: in file included from /Users/d021624/Projects/Private/macOS/SwiftGtk/.build/gir2swift/Packages/CLibXML2-1.0.1/libxml2_bridging.h:12:
#import
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libxml2/libxml/xmlreader.h:13:10: error: 'libxml/xmlversion.h' file not found
#include
^
/Users/d021624/Projects/Private/macOS/SwiftGtk/.build/gir2swift/Packages/SwiftLibXML-1.2.0/Sources/XMLAttribute.swift:14:8: error: could not build Objective-C module 'CLibXML2'
import CLibXML2
^
:1:9: note: in file included from :1:
#import "libxml2_bridging.h"
^
/Users/d021624/Projects/Private/macOS/SwiftGtk/.build/gir2swift/Packages/CLibXML2-1.0.1/libxml2_bridging.h:12:9: note: in file included from /Users/d021624/Projects/Private/macOS/SwiftGtk/.build/gir2swift/Packages/CLibXML2-1.0.1/libxml2_bridging.h:12:
#import
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libxml2/libxml/xmlreader.h:13:10: error: 'libxml/xmlversion.h' file not found
#include
^
/Users/d021624/Projects/Private/macOS/SwiftGtk/.build/gir2swift/Packages/SwiftLibXML-1.2.0/Sources/XMLAttribute.swift:14:8: error: could not build Objective-C module 'CLibXML2'
import CLibXML2
^
:1:9: note: in file included from :1:
#import "libxml2_bridging.h"
^
/Users/d021624/Projects/Private/macOS/SwiftGtk/.build/gir2swift/Packages/CLibXML2-1.0.1/libxml2_bridging.h:12:9: note: in file included from /Users/d021624/Projects/Private/macOS/SwiftGtk/.build/gir2swift/Packages/CLibXML2-1.0.1/libxml2_bridging.h:12:
#import
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libxml2/libxml/xmlreader.h:13:10: error: 'libxml/xmlversion.h' file not found
#include
^
/Users/d021624/Projects/Private/macOS/SwiftGtk/.build/gir2swift/Packages/SwiftLibXML-1.2.0/Sources/XMLAttribute.swift:14:8: error: could not build Objective-C module 'CLibXML2'
import CLibXML2
^
:1:9: note: in file included from :1:
#import "libxml2_bridging.h"
^
/Users/d021624/Projects/Private/macOS/SwiftGtk/.build/gir2swift/Packages/CLibXML2-1.0.1/libxml2_bridging.h:12:9: note: in file included from /Users/d021624/Projects/Private/macOS/SwiftGtk/.build/gir2swift/Packages/CLibXML2-1.0.1/libxml2_bridging.h:12:
#import
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libxml2/libxml/xmlreader.h:13:10: error: 'libxml/xmlversion.h' file not found
#include
^
/Users/d021624/Projects/Private/macOS/SwiftGtk/.build/gir2swift/Packages/SwiftLibXML-1.2.0/Sources/XMLAttribute.swift:14:8: error: could not build Objective-C module 'CLibXML2'
import CLibXML2
^
:1:9: note: in file included from :1:
#import "libxml2_bridging.h"
^
/Users/d021624/Projects/Private/macOS/SwiftGtk/.build/gir2swift/Packages/CLibXML2-1.0.1/libxml2_bridging.h:12:9: note: in file included from /Users/d021624/Projects/Private/macOS/SwiftGtk/.build/gir2swift/Packages/CLibXML2-1.0.1/libxml2_bridging.h:12:
#import
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libxml2/libxml/xmlreader.h:13:10: error: 'libxml/xmlversion.h' file not found
#include
^
/Users/d021624/Projects/Private/macOS/SwiftGtk/.build/gir2swift/Packages/SwiftLibXML-1.2.0/Sources/XMLAttribute.swift:14:8: error: could not build Objective-C module 'CLibXML2'
import CLibXML2
^
Generate Swift Wrapper for Atk-2.46.0
Generate Swift Wrapper for Cairo-2.46.0
Generate Swift Wrapper for GIO-2.46.0
Generate Swift Wrapper for GLib-2.46.0
Generate Swift Wrapper for GModule-2.46.0
Generate Swift Wrapper for GObject-2.46.0
Generate Swift Wrapper for Gdk-3.18.0
Generate Swift Wrapper for GdkPixbuf-2.46.0
Generate Swift Wrapper for Pango-2.46.0
Generate Swift Wrapper for PangoCairo-2.46.0
generated: ./Gtk.xcodeproj
The structure of the Xcode projects generated by the Swift Package Manager has changed. This caused the scripts to fail. The latest version now works with Xcode 8.3.1 (Swift 3.1)
I cloned the master branch and executing xcodegen.sh gives the following errors:
This is the entire output of the command: