-
Notifications
You must be signed in to change notification settings - Fork 840
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
It can't work in the Xcode8 version. #492
Comments
Is your project a Swift 3 project, and are you using the current version? |
Yeah, alot of errors. But it appears your library is not the only one struggling to adapt to Swift3. |
I mean, it's been updated to Swift 3. How are you including the library? |
CocoaPods. All I did was launch xcode8. select stay with swift 2.3. |
Ah, that's why. You'll have to use the swift2.3 branch. v8.0.0 is Swift 3.0. 2.3 is only meant to be jumping point to Swift 3. |
@nuclearace is socket.io is fully ready for swift 3.0 ios 10.0 ? |
|
There is no swift3 branch now. Master is swift3 ready |
will it work with 1.1.0.rc.2 pod version?? |
That's what I used to push the update. It messed with my remotes though. |
I have the same problem, i updated Xcode to 8 and socket.io-client-swift do not work anymore. |
@HaraldBregu What Swift version is your project. v8.0.0 of the client is for Swift 3. Check the README for other versions of Swift. |
@nuclearace |
I'm just here to verify that it CAN work with xcode 8. I've imported this to my project, using cocoapod of course. At first, I also struggle with the module not found. I did a clean up:
After that, the "module not found" goes away. Not sure if I did anything more than that. In pod, I just declare Edit: Alright, I just remembered that I've updated pod repo to the newest (using git, not pod command) |
@wy358688217 I've seen that happen when you try and use Swift frameworks in command-line applications. It has to do with Swift frameworks aren't static, they have to be bundled with the app. |
@nuclearace But mine not command-line applications. So ,how to fixed? |
Make sure you're including the Framework properly. |
|
but now ,there comes a new problem . In swift 3 and Xcode 8.all these steps can't work. Now ,can somebody figure what is the point to fix my problem? thx. |
It can't work in the Xcode8 version.
The text was updated successfully, but these errors were encountered: