Skip to content

Unable to build #16

@ghost

Description

Hello!

So I been investing some time in to wanting to learn Swift, and figured being able to automate a bunch of different things on my Mac would be a great motivation to keep me digging deeper.

However, upon trying to build these frameworks, I run into this:

=== BUILD TARGET FinderScripting OF PROJECT FinderScripting WITH THE DEFAULT CONFIGURATION (Release) ===

Check dependencies
The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to "Default" for the "FinderScripting" target.

CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
    cd /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting
    export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
    export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name FinderScripting -O -whole-module-optimization -Xfrontend -enable-swift3-objc-inference -Xfrontend -warn-swift3-objc-inference-minimal -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -target x86_64-apple-macosx10.9 -g -Xfrontend -serialize-debugging-options -swift-version 4 -I /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/Release -F /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/Release -c -num-threads 8 /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/Finder.swift /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.swift -output-file-map /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/FinderScripting.build/Release/FinderScripting.build/Objects-normal/x86_64/FinderScripting-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/FinderScripting.build/Release/FinderScripting.build/Objects-normal/x86_64/FinderScripting.swiftmodule -Xcc -I/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/FinderScripting.build/Release/FinderScripting.build/swift-overrides.hmap -Xcc -iquote -Xcc /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/FinderScripting.build/Release/FinderScripting.build/FinderScripting-generated-files.hmap -Xcc -I/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/FinderScripting.build/Release/FinderScripting.build/FinderScripting-own-target-headers.hmap -Xcc -I/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/FinderScripting.build/Release/FinderScripting.build/FinderScripting-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/FinderScripting.build/all-product-headers.yaml -Xcc -iquote -Xcc /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/FinderScripting.build/Release/FinderScripting.build/FinderScripting-project-headers.hmap -Xcc -I/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/Release/include -Xcc -I/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/FinderScripting.build/Release/FinderScripting.build/DerivedSources/x86_64 -Xcc -I/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/FinderScripting.build/Release/FinderScripting.build/DerivedSources -emit-objc-header -emit-objc-header-path /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/FinderScripting.build/Release/FinderScripting.build/Objects-normal/x86_64/FinderScripting-Swift.h -import-underlying-module -Xcc -ivfsoverlay -Xcc /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/FinderScripting.build/Release/FinderScripting.build/unextended-module-overlay.yaml -Xcc -working-directory/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting

CompileSwift normal x86_64
    cd /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/Finder.swift /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.swift -target x86_64-apple-macosx10.9 -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -I /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/Release -F /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/Release -g -import-underlying-module -swift-version 4 -O -enable-swift3-objc-inference -warn-swift3-objc-inference-minimal -serialize-debugging-options -Xcc -I/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/FinderScripting.build/Release/FinderScripting.build/swift-overrides.hmap -Xcc -iquote -Xcc /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/FinderScripting.build/Release/FinderScripting.build/FinderScripting-generated-files.hmap -Xcc -I/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/FinderScripting.build/Release/FinderScripting.build/FinderScripting-own-target-headers.hmap -Xcc -I/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/FinderScripting.build/Release/FinderScripting.build/FinderScripting-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/FinderScripting.build/all-product-headers.yaml -Xcc -iquote -Xcc /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/FinderScripting.build/Release/FinderScripting.build/FinderScripting-project-headers.hmap -Xcc -I/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/Release/include -Xcc -I/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/FinderScripting.build/Release/FinderScripting.build/DerivedSources/x86_64 -Xcc -I/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/FinderScripting.build/Release/FinderScripting.build/DerivedSources -Xcc -ivfsoverlay -Xcc /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/FinderScripting.build/Release/FinderScripting.build/unextended-module-overlay.yaml -Xcc -working-directory/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting -emit-module-doc-path /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/FinderScripting.build/Release/FinderScripting.build/Objects-normal/x86_64/FinderScripting.swiftdoc -serialize-diagnostics-path /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/FinderScripting.build/Release/FinderScripting.build/Objects-normal/x86_64/Finder.dia -module-name FinderScripting -emit-module-path /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/FinderScripting.build/Release/FinderScripting.build/Objects-normal/x86_64/FinderScripting.swiftmodule -emit-objc-header-path /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/FinderScripting.build/Release/FinderScripting.build/Objects-normal/x86_64/FinderScripting-Swift.h -emit-dependencies-path /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/FinderScripting.build/Release/FinderScripting.build/Objects-normal/x86_64/Finder.d -num-threads 8 -o /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/FinderScripting.build/Release/FinderScripting.build/Objects-normal/x86_64/Finder.o -o /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/build/FinderScripting.build/Release/FinderScripting.build/Objects-normal/x86_64/FinderScripting.o
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:9: note: while building module 'Foundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
#import <Foundation/Foundation.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:10: note: while building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
#include <CoreFoundation/CoreFoundation.h>
         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:10: note: while building module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
#include <sys/types.h>
         ^
<module-includes>:355:9: note: in file included from <module-includes>:355:
#import "ncurses.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/ncurses.h:141:10: note: in file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/ncurses.h:141:
#include <unctrl.h>
         ^
/opt/local/include/unctrl.h:60:63: error: unknown type name 'SCREEN'
NCURSES_EXPORT(NCURSES_CONST char *) NCURSES_SP_NAME(unctrl) (SCREEN*, chtype);
                                                              ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:9: note: while building module 'Foundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
#import <Foundation/Foundation.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:10: note: while building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
#include <CoreFoundation/CoreFoundation.h>
         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:10: note: while building module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
#include <sys/types.h>
         ^
<module-includes>:355:9: note: in file included from <module-includes>:355:
#import "ncurses.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/ncurses.h:141:10: note: in file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/ncurses.h:141:
#include <unctrl.h>
         ^
/opt/local/include/unctrl.h:60:53: error: function cannot return function type 'char *(int *, chtype)' (aka 'char *(int *, unsigned int)')
NCURSES_EXPORT(NCURSES_CONST char *) NCURSES_SP_NAME(unctrl) (SCREEN*, chtype);
                                                    ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:9: note: while building module 'Foundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
#import <Foundation/Foundation.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:10: note: while building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
#include <CoreFoundation/CoreFoundation.h>
         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:10: note: while building module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
#include <sys/types.h>
         ^
<module-includes>:355:9: note: in file included from <module-includes>:355:
#import "ncurses.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/ncurses.h:141:10: note: in file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/ncurses.h:141:
#include <unctrl.h>
         ^
/opt/local/include/unctrl.h:60:54: error: a parameter list without types is only allowed in a function definition
NCURSES_EXPORT(NCURSES_CONST char *) NCURSES_SP_NAME(unctrl) (SCREEN*, chtype);
                                                     ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:9: note: while building module 'Foundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
#import <Foundation/Foundation.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:10: note: while building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
#include <CoreFoundation/CoreFoundation.h>
         ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/CoreFoundation.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:10: error: could not build module 'Darwin'
#include <sys/types.h>
         ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:9: note: while building module 'Foundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
#import <Foundation/Foundation.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:10: note: while building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
#include <CoreFoundation/CoreFoundation.h>
         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:20:10: note: while building module 'Dispatch' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:20:
#include <dispatch/dispatch.h>
         ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "dispatch.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/dispatch/dispatch.h:25:10: error: could not build module 'Darwin'
#include <Availability.h>
         ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:9: note: while building module 'Foundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
#import <Foundation/Foundation.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:10: note: while building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
#include <CoreFoundation/CoreFoundation.h>
         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:20:10: note: while building module 'Dispatch' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:20:
#include <dispatch/dispatch.h>
         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/dispatch/dispatch.h:59:10: note: while building module 'os_object' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/dispatch/dispatch.h:59:
#include <os/object.h>
         ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "os/object.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/os/object.h:25:10: error: could not build module 'Darwin'
#include <Availability.h>
         ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:9: note: while building module 'Foundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
#import <Foundation/Foundation.h>
        ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/Foundation.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:10: error: could not build module 'CoreFoundation'
#include <CoreFoundation/CoreFoundation.h>
         ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:9: note: while building module 'Foundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
#import <Foundation/Foundation.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:6:9: note: while building module 'ObjectiveC' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:6:
#import <objc/NSObject.h>
        ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "./Protocol.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/./Protocol.h:39:10: note: in file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/./Protocol.h:39:
#include <objc/NSObject.h>
         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/NSObject.h:10:10: note: in file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/NSObject.h:10:
#include <objc/objc.h>
         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/objc.h:31:10: error: could not build module 'Darwin'
#include <sys/types.h>      // for __DARWIN_NULL
         ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:9: note: while building module 'Foundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
#import <Foundation/Foundation.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:6:9: note: while building module 'ObjectiveC' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:6:
#import <objc/NSObject.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/./objc-load.h:33:10: note: while building module 'MachO' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/./objc-load.h:33:
#include <mach-o/loader.h>
         ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "arch.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/mach-o/arch.h:32:10: error: could not build module 'Darwin'
#include <stdint.h>
         ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:9: note: while building module 'Foundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
#import <Foundation/Foundation.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h:9:9: note: while building module 'Security' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h:9:
#import <Security/Security.h>
        ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/Security.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h:27:10: note: in file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h:27:
#include <Security/SecBase.h>
         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h:27:10: error: could not build module 'Darwin'
#include <TargetConditionals.h>
         ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:9: note: while building module 'Foundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
#import <Foundation/Foundation.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:14:9: note: while building module 'CoreServices' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:14:
#import <CoreServices/CoreServices.h>
        ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/CoreServices.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:10: error: could not build module 'CoreFoundation'
#include <CoreFoundation/CoreFoundation.h>
         ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:9: note: while building module 'Foundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
#import <Foundation/Foundation.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:14:9: note: while building module 'CoreServices' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:14:
#import <CoreServices/CoreServices.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:56:10: note: while building module 'DiskArbitration' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:56:
#include <DiskArbitration/DADisk.h>
         ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/DiskArbitration.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/DiskArbitration.framework/Headers/DiskArbitration.h:27:10: error: could not build module 'CoreFoundation'
#include <CoreFoundation/CoreFoundation.h>
         ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:9: note: while building module 'Foundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
#import <Foundation/Foundation.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:14:9: note: while building module 'CoreServices' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:14:
#import <CoreServices/CoreServices.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:56:10: note: while building module 'DiskArbitration' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:56:
#include <DiskArbitration/DADisk.h>
         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h:28:10: note: while building module 'IOKit' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h:28:
#include <IOKit/IOKitLib.h>
         ^
<module-includes>:2:9: note: in file included from <module-includes>:2:
#import "Headers/IODataQueueClient.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/IOKit.framework/Headers/IODataQueueClient.h:27:10: error: could not build module 'Darwin'
#include <sys/cdefs.h>
         ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:9: note: while building module 'Foundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
#import <Foundation/Foundation.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:14:9: note: while building module 'CoreServices' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:14:
#import <CoreServices/CoreServices.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:56:10: note: while building module 'DiskArbitration' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:56:
#include <DiskArbitration/DADisk.h>
         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h:28:10: note: while building module 'IOKit' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h:28:
#include <IOKit/IOKitLib.h>
         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/IOKit.framework/Headers/IODataQueueClient.h:31:10: note: while building module 'libkern' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/IOKit.framework/Headers/IODataQueueClient.h:31:
#include <libkern/OSTypes.h>
         ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "libkern/OSCacheControl.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/libkern/OSCacheControl.h:27:13: error: could not build module 'Darwin'
#include    <stddef.h>
            ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:9: note: while building module 'Foundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
#import <Foundation/Foundation.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:14:9: note: while building module 'CoreServices' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:14:
#import <CoreServices/CoreServices.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:31:10: note: while building module 'CFNetwork' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:31:
#include <CFNetwork/CFNetwork.h>
         ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/CFNetwork.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h:18:10: error: could not build module 'CoreFoundation'
#include <CoreFoundation/CoreFoundation.h>
         ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/Cocoa.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:9: error: could not build module 'Foundation'
#import <Foundation/Foundation.h>
        ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:9: note: while building module 'AppKit' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
#import <AppKit/AppKit.h>
        ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/AppKit.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10:9: error: could not build module 'Foundation'
#import <Foundation/Foundation.h>
        ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:9: note: while building module 'AppKit' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
#import <AppKit/AppKit.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSGraphicsContext.h:14:9: note: while building module 'CoreGraphics' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSGraphicsContext.h:14:
#import <CoreGraphics/CGContext.h>
        ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/CoreGraphics.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:8:10: note: in file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:8:
#include <CoreGraphics/CGBase.h>
         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h:8:10: error: could not build module 'Darwin'
#include <stdbool.h>
         ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:9: note: while building module 'AppKit' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
#import <AppKit/AppKit.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:9:9: note: while building module 'ApplicationServices' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:9:
#import <ApplicationServices/ApplicationServices.h>
        ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/ApplicationServices.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:19:10: error: could not build module 'Darwin'
#include <Availability.h>
         ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:9: note: while building module 'AppKit' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
#import <AppKit/AppKit.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:9:9: note: while building module 'ApplicationServices' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:9:
#import <ApplicationServices/ApplicationServices.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/SFNTLayoutTypes.h:16:10: note: while building module 'CoreText' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/SFNTLayoutTypes.h:16:
#include <CoreText/SFNTLayoutTypes.h>
         ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/CoreText.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h:20:10: note: in file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h:20:
#include <CoreText/CTDefines.h>
         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h:12:10: error: could not build module 'Darwin'
#include <Availability.h>
         ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:9: note: while building module 'AppKit' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
#import <AppKit/AppKit.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:9:9: note: while building module 'ApplicationServices' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:9:
#import <ApplicationServices/ApplicationServices.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:31:10: note: while building module 'ColorSync' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:31:
#include <ColorSync/ColorSync.h>
         ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/ColorSync.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/ColorSync.h:10:10: note: in file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Headers/ColorSync.h:10:
#include <ColorSync/ColorSyncBase.h>
         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ColorSync.framework/Headers/ColorSyncBase.h:10:10: error: could not build module 'CoreFoundation'
#include <CoreFoundation/CoreFoundation.h>
         ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:9: note: while building module 'AppKit' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
#import <AppKit/AppKit.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:9:9: note: while building module 'ApplicationServices' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:9:
#import <ApplicationServices/ApplicationServices.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:47:10: note: while building module 'ImageIO' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:47:
#include <ImageIO/ImageIO.h>
         ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/ImageIO.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/ImageIO.h:10:10: note: in file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Headers/ImageIO.h:10:
#include <ImageIO/ImageIOBase.h>
         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h:11:10: error: could not build module 'CoreFoundation'
#include <CoreFoundation/CoreFoundation.h>
         ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:9: note: while building module 'AppKit' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
#import <AppKit/AppKit.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:50:9: note: while building module 'CoreImage' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:50:
#import <CoreImage/CIColor.h>
        ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/CoreImage.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h:8:9: note: in file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h:8:
#import <CoreImage/CoreImageDefines.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h:10:10: error: could not build module 'Darwin'
#include <TargetConditionals.h>
         ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:9: note: while building module 'AppKit' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
#import <AppKit/AppKit.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:50:9: note: while building module 'CoreImage' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:50:
#import <CoreImage/CIColor.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:10:9: note: while building module 'CoreVideo' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:10:
#import <CoreVideo/CoreVideo.h>
        ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/CoreVideo.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h:16:10: error: could not build module 'Darwin'
#include <TargetConditionals.h>
         ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:9: note: while building module 'AppKit' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
#import <AppKit/AppKit.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:50:9: note: while building module 'CoreImage' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:50:
#import <CoreImage/CIColor.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:14:9: note: while building module 'IOSurface' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:14:
#import <IOSurface/IOSurface.h>
        ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/IOSurfaceBase.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h:12:10: error: could not build module 'Darwin'
#include <sys/cdefs.h>
         ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:9: note: while building module 'AppKit' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
#import <AppKit/AppKit.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:50:9: note: while building module 'CoreImage' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:50:
#import <CoreImage/CIColor.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:14:9: note: while building module 'IOSurface' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:14:
#import <IOSurface/IOSurface.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h:46:10: note: while building module 'XPC' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h:46:
#include <xpc/xpc.h>
         ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "xpc.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/xpc/xpc.h:6:10: error: could not build module 'os_object'
#include <os/object.h>
         ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:9: note: while building module 'AppKit' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
#import <AppKit/AppKit.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:50:9: note: while building module 'CoreImage' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:50:
#import <CoreImage/CIColor.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:14:9: note: while building module 'IOSurface' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:14:
#import <IOSurface/IOSurface.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h:46:10: note: while building module 'XPC' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h:46:
#include <xpc/xpc.h>
         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/xpc/xpc.h:332:10: note: while building module 'launch' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/xpc/xpc.h:332:
#include <launch.h>
         ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "launch.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/launch.h:16:10: error: could not build module 'Darwin'
#include <os/base.h>
         ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:9: note: while building module 'AppKit' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
#import <AppKit/AppKit.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:50:9: note: while building module 'CoreImage' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:50:
#import <CoreImage/CIColor.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h:13:10: note: while building module 'OpenGL' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h:13:
 #import <OpenGL/CGLTypes.h>
         ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/OpenGL.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/OpenGL.framework/Headers/OpenGL.h:8:10: note: in file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/OpenGL.framework/Headers/OpenGL.h:8:
#include <OpenGL/OpenGLAvailability.h>
         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/OpenGL.framework/Headers/OpenGLAvailability.h:4:10: error: could not build module 'Darwin'
#include <Availability.h>
         ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:9: note: while building module 'AppKit' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
#import <AppKit/AppKit.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:50:9: note: while building module 'CoreImage' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:50:
#import <CoreImage/CIColor.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRenderDestination.h:18:9: note: while building module 'Metal' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRenderDestination.h:18:
#import <Metal/MTLPixelFormat.h>
        ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/Metal.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h:8:9: note: in file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h:8:
#import <Metal/MTLDefines.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h:8:9: error: could not build module 'Darwin'
#import <Availability.h>
        ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:9: note: while building module 'AppKit' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
#import <AppKit/AppKit.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGLLayer.h:10:9: note: while building module 'QuartzCore' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGLLayer.h:10:
#import <QuartzCore/CAOpenGLLayer.h>
        ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/QuartzCore.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:10: note: in file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:
#include <QuartzCore/CoreImage.h>
         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreImage.h:1:10: error: could not build module 'CoreImage'
#include <CoreImage/CoreImage.h>
         ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: note: while building module 'Cocoa' imported from /opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:
#import <Cocoa/Cocoa.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:9: note: while building module 'AppKit' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
#import <AppKit/AppKit.h>
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPredicateEditorRowTemplate.h:13:9: note: while building module 'CoreData' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPredicateEditorRowTemplate.h:13:
#import <CoreData/NSAttributeDescription.h>
        ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/CoreData.h"
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.h:8:9: error: could not build module 'Foundation'
#import <Foundation/Foundation.h>
        ^
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/FinderScripting.h"
        ^
/opt/projects/swift/SwiftScripting/Frameworks/FinderScripting/FinderScripting/FinderScripting.h:26:9: error: could not build module 'Cocoa'
#import <Cocoa/Cocoa.h>
        ^
<unknown>:0: error: could not build Objective-C module 'FinderScripting'

I've tried building it from the command line, and in app, neither yields a FrameWork that seems to be importable/usable.

I've also tried to do this by generating my own sdef/header files, same issue.

I was wondering if you have any guidance. I already deleted Xcode and reinstalled after cleaning out all its leftovers. A clean slate install didn't help. Cleaning the build dir doesn't seem to help either.

Kind of stuck on this one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions