nodekit-io / nodekit-darwin

{NK} NodeKit is the universal, open-source, embedded engine that provides a full ES5 / Node.js instance inside desktop and mobile applications for macOS, iOS, Android, and Windows. [Swift 2.3 Darwin]
http://nodekit.io
Apache License 2.0
22 stars 4 forks source link

XCode 8.3.3 support #7

Open MarcoEidinger opened 7 years ago

MarcoEidinger commented 7 years ago

It's not possible to run the sample-nodekit-iOS app.

Xcode 8.3.3 will display dialog: Convert to Current Swift Syntax?

The project “nodekit” has targets that contain source code developed with an earlier version of Swift. Choose “Convert” to update the source code in this project to Swift 3. This action can be performed later using “Convert to Current Swift Syntax” in the Edit menu

Both options "Later" and "Convert" will lead to errors :(

rsaccon commented 7 years ago

Same for the macos target, if I run yarnpkg run build I get:

** BUILD FAILED **

The following build commands failed:
    Check dependencies
(1 failure)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/robertosaccon/mynodekitapp/platforms/macos/nodekit-scripts/build-debug.xcconfig,-workspace,mynodekitapp.xcworkspace,-scheme,mynodekitapp,-configuration,Debug,build,CONFIGURATION_BUILD_DIR=/Users/robertosaccon/mynodekitapp/platforms/macos/build,SHARED_PRECOMPS_DIR=/Users/robertosaccon/mynodekitapp/platforms/macos/build/sharedpch
error Command failed with exit code 1.

I also have Xcode 8.3.3