Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: SWIFT_VERSION '3.0' is unsupported when running ./bootstrap.sh #66

Open
IlyaMakarevich opened this issue Dec 2, 2019 · 1 comment

Comments

@IlyaMakarevich
Copy link

Hello!
After running

brew update 
brew bundle --file="homebrew/Brewfile" 
brew upgrade usbmuxd libimobiledevice --fetch-HEAD

I run
./bootstrap.sh
and get error about unsupported swift version.
How I can fix it?

Ilyas-MacBook-Pro:ios-device-server-master ilyamakarevich$ ./bootstrap.sh
Building fbsimctl...
/var/folders/t7/typpx7mn1lxdt8kd5p2pr9zc0000gn/T/tmp.aUygFi2R ~/ios-device-server-master
Checking out https://github.com/facebook/FBSimulatorControl.git#ec54965 at /var/folders/t7/typpx7mn1lxdt8kd5p2pr9zc0000gn/T/tmp.aUygFi2R
Cloning into '/var/folders/t7/typpx7mn1lxdt8kd5p2pr9zc0000gn/T/tmp.aUygFi2R'...
remote: Enumerating objects: 1065, done.
remote: Counting objects: 100% (1065/1065), done.
remote: Compressing objects: 100% (947/947), done.
remote: Total 39394 (delta 224), reused 378 (delta 110), pack-reused 38329
Receiving objects: 100% (39394/39394), 88.24 MiB | 8.57 MiB/s, done.
Resolving deltas: 100% (29739/29739), done.
Note: checking out 'ec54965'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at ec54965b remove deprecated .characters
Building fbsimctl to /var/folders/t7/typpx7mn1lxdt8kd5p2pr9zc0000gn/T/tmp.aUygFi2R/build
using target fbsimctl
using command build
using output directory /var/folders/t7/typpx7mn1lxdt8kd5p2pr9zc0000gn/T/tmp.aUygFi2R/build
/usr/local/bin/carthage
/var/folders/t7/typpx7mn1lxdt8kd5p2pr9zc0000gn/T/tmp.aUygFi2R/fbsimctl /var/folders/t7/typpx7mn1lxdt8kd5p2pr9zc0000gn/T/tmp.aUygFi2R
Please update to the latest Carthage version: 0.34.0. You currently are on 0.33.0
*** Checking out GCDWebServer at "3.3.3"
*** xcodebuild output can be found in /var/folders/t7/typpx7mn1lxdt8kd5p2pr9zc0000gn/T/carthage-xcodebuild.qflx6s.log
*** Building scheme "GCDWebServers (Mac)" in GCDWebServer.xcodeproj
/var/folders/t7/typpx7mn1lxdt8kd5p2pr9zc0000gn/T/tmp.aUygFi2R

❌  error: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'FBSimulatorControlKit' from project 'fbsimctl')


** BUILD FAILED **

Ilyas-MacBook-Pro:ios-device-server-master ilyamakarevich$ 

Thanks!

@fr0l
Copy link
Member

fr0l commented Dec 20, 2019

Hi @IlyaMakarevich ,

Thanks for finding!

You can build one from https://github.com/badoo/FBSimulatorControl/tree/badoo repo (that's a fork that has pretty old version, but supports newer iOS runtime versions (i will still need to add 13.3 soon)

I'll update build scripts in this repo, so they will target to https://github.com/badoo/FBSimulatorControl/tree/badoo

Also there are a brew bottles (binary distribution packages) here https://github.com/badoo/homebrew-qa-bottles
(but provided as is with no guarantees)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants