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

The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor. #48

Closed
adamhongmy opened this issue Oct 27, 2017 · 12 comments

Comments

@adamhongmy
Copy link

I'm using ResponseDetective (1.2.0) in xcode 9.0.1 using Objective C. Xcode even gave me "Use of undeclared identifier 'RDTResponseDetective'".

@akashivskyy
Copy link
Collaborator

akashivskyy commented Oct 27, 2017

Did you try doing what the error suggests to do? :)

@adamhongmy
Copy link
Author

Hi, sorry for late reply. I thought the setting it mentioned is the framework. I will try tomorrow.

@adamhongmy
Copy link
Author

I had configure it and it works. Thanks for your patience. Cheers

@adamhongmy
Copy link
Author

Hello, can you set the swift language version on your end? It is getting tedious to reset it every time.

@adamhongmy adamhongmy reopened this Mar 26, 2018
@akashivskyy
Copy link
Collaborator

Hi @adamhongmy, I'm not sure what you mean. Swift Version build setting is set up here.

@adamhongmy
Copy link
Author

Weird, everytime I run pod install in the terminal, I always get this error in xcode and I have to manually reconfigure it.

@adamhongmy
Copy link
Author

As an alternative, I use Carthage instead. It doesn't seem to be having the error.

@akashivskyy
Copy link
Collaborator

What's your version of CocoaPods?

@adamhongmy
Copy link
Author

Allo, sorry for the delay. My version is 1.3.1

@akashivskyy
Copy link
Collaborator

Okay, last question: is the error thrown for ResponseDetective target in Pods.xcodeproj or for your own app target?

@adamhongmy
Copy link
Author

It is from Pods.xcodeproj.
screen shot 2018-03-28 at 4 12 16 pm

@akashivskyy
Copy link
Collaborator

I can't reproduce this error – I created a brand new project in Xcode 9.2, added ResponseDetective as CocoaPods dependency, installed it and built the project successfully. Please make sure you're not modifying any targets auto-created by CocoaPods and use a compatible version of ResponseDetective.

I'm closing the issue for now. If you still believe that the error lies on the side of ResponseDetective, please open a new issue and provide more information, such as a sample project with failing configuration.

@netguru netguru locked as resolved and limited conversation to collaborators Apr 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants