reicast-emulator
reicast-emulator copied to clipboard
MacOS: error: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0
Please Note: This form is the minimum required information for submitting bugs.
Removing this form may lead to your issue being closed until it is completed.
| Platform | Branch | Hash | CIDL | | mac | master | ---- | ---- | | MacOS 10.14.5 | master | Hashtag (skip if unknown) | from github |
Description of the Issue
Can't build sources:
Xcode v11.2.1
cd reicast/apple/emulator-osx xcodebuild -configuration Release
Debugging Steps Tested
Logs Gathered
users-MBP-2:reicast-emulator-alpha user$ cd reicast/apple/emulator-osx users-MBP-2:emulator-osx user$ xcodebuild -configuration Release note: Using new build system note: Planning build note: Constructing build description warning: no rule to process file '/Users/user/Downloads/reicast-emulator-alpha/core/deps/zlib/Makefile' of type 'sourcecode.make' for architecture 'x86_64' (in target 'reicast-osx' from project 'reicast-osx') warning: no rule to process file '/Users/user/Downloads/reicast-emulator-alpha/core/README.md' of type 'net.daringfireball.markdown' for architecture 'x86_64' (in target 'reicast-osx' from project 'reicast-osx') error: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'reicast-osx' from project 'reicast-osx')
** BUILD FAILED **
Screenshots
(Replace this line with any issue screenshots)
- [ x] Place an X in the box to confirm you have filled in this form
I've installed XCode 10.1 specifically for this issue and now getting another error that says ../../../core/version.h is not found. And there is no core at that path.
Please refer the screenshot below:

@skmp this issue is no longer relevant once https://github.com/reicast/reicast-emulator/pull/1825 is merged, as I've removed the Swift dependency entirely and ported everything to Obj-C/Obj-C++.
@arthabus Btw macOS support is fully functional now and should be merged into the alpha branch soon. In the meantime it can be built from the PR branch I linked :)
Make sure to read the readme first though, a few dependencies must be installed first using brew or it won’t compile.