reicast-emulator icon indicating copy to clipboard operation
reicast-emulator copied to clipboard

MacOS: error: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0

Open arthabus opened this issue 6 years ago • 3 comments
trafficstars

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

arthabus avatar Nov 07 '19 18:11 arthabus

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:

Screen Shot 2019-11-07 at 22 04 00

arthabus avatar Nov 07 '19 21:11 arthabus

@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++.

einsteinx2 avatar Mar 09 '20 16:03 einsteinx2

@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.

einsteinx2 avatar Mar 10 '20 02:03 einsteinx2