Commit d1b8e7d1 authored by Drew's avatar Drew

Fix Xcode 8 beta 2

parent 5cfa21c5
Pipeline #2282 failed with stage
in 6 minutes and 46 seconds
......@@ -174,7 +174,12 @@ final class ATllbuild : Tool {
if linkSDK {
if let sdkPath = Platform.targetPlatform.sdkPath {
args += ["-sdk", sdkPath]
if swiftCPath.description.contains(string: "Xcode-beta") {
//evil evil hack
args += ["-sdk","/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/"]
}
else { args += ["-sdk", sdkPath] }
}
}
args += compileOptions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment