Code Monkey home page Code Monkey logo

Comments (11)

Jeraimee avatar Jeraimee commented on July 17, 2024 5

I'll start looking at this tonight.

from cocoamqtt.

adad184 avatar adad184 commented on July 17, 2024 5

looking for 3.0 support too.

from cocoamqtt.

PatrickKaalund avatar PatrickKaalund commented on July 17, 2024 3

Could be really nice with swift 3 support! Thank you

from cocoamqtt.

troyibm avatar troyibm commented on July 17, 2024

How about making it compile with Swift 2.3 first?
When using Xcode 8 and carthage, I get this error when it starts to build CocoaMQTT.

=== BUILD TARGET CocoaMQTT iOS OF PROJECT CocoaMQTT WITH CONFIGURATION Release ===

Check dependencies
“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.

from cocoamqtt.

Jeraimee avatar Jeraimee commented on July 17, 2024

Compiles fine in Swift 2.3 @troyibm You have to set Use Legacy Swift Language Version to "Yes" in your build settings. I'm using it in a Swift 2.3 project right now.

from cocoamqtt.

Jeraimee avatar Jeraimee commented on July 17, 2024

Won't get to look at this until tomorrow. I forgot that AHS starts back up tonight ... you know, priorities and all ;)

from cocoamqtt.

troyibm avatar troyibm commented on July 17, 2024

thanks @Jeraimee is there a way to put that setting on carthage command? do you know?

from cocoamqtt.

Jeraimee avatar Jeraimee commented on July 17, 2024

No, it's specific to your Xcode project.

from cocoamqtt.

troyibm avatar troyibm commented on July 17, 2024

I think it would help if the project.pbxproj file had the line
SWIFT_VERSION = 2.3;
in it, then carthage build would work with Xcode 8.

from cocoamqtt.

netgfx avatar netgfx commented on July 17, 2024

yes carthage still fails on master

from cocoamqtt.

CrazyWisdom avatar CrazyWisdom commented on July 17, 2024

https://github.com/emqtt/CocoaMQTT/releases/tag/1.0.10
Cocoapods pushed.

from cocoamqtt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.