SWIFT3 – Error via the Cocoapods installation field

I encountered this strange error when installing realm on xcode 8, cocoa pods version cocoapods-1.2.0

The error is –

Installing Realm (2.4.3)

[!] /bin/bash -c
set -e
sh build.sh cocoapods-setup

./scripts/swift-version.sh: line 59: [: =: unary operator expected
No version of Xcode found that supports Swift 3.0.2

All other pods are great.

I would like to thank you for your help first.

div>

Hey, for anyone looking for an answer –

I did find out that I installed a second xcode (xcode 7), so the command line tool of choice It was xcode 7.3 that caused the error.

So what I did was, I went to –
xcode>>Preferences>>Location>>CommandLineTools

and chose commandLineTools as the latest version (xcode 8).

Thank you…

I encountered this strange when installing realm on xcode 8, cocoa pods version cocoapods-1.2.0

The error is –

Installing Realm (2.4.3)

[!] / bin/bash -c
set -e
sh build.sh cocoapods-setup

./scripts/swift-version.sh: line 59: [: =: unary operator expected
No version of Xcode fou nd that supports Swift 3.0.2

All other pods are great.

I would like to thank you for your help first.

Hey, for anyone looking for an answer –

I did find out that I installed a second xcode (xcode 7), so the command line of choice The tool is xcode 7.3 which caused the error.

So what I did was, I went to –
xcode>>Preferences>>Location>>CommandLineTools

and chose commandLineTools as the latest Version (xcode 8).

Thank you…

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 4130 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.