Giter VIP home page Giter VIP logo

Comments (11)

vtourraine avatar vtourraine commented on July 29, 2024 1

That’s interesting. So they must have used a new beta, or something like that. I’ll look into this as soon as I can, but in the meantime, you should be able to update your Podfile to request a specific commit, thus getting the Swift 5 version from master.

from acknowlist.

vtourraine avatar vtourraine commented on July 29, 2024 1

My bad, I misunderstood the error I was getting when trying to push to trunk. The pod tool uses xcodebuild (a.k.a. Xcode) to check the podspec file before pushing it (even with --skip-tests --skip-import-validation --allow-warnings), and like I mentioned, I don’t have the latest Xcode version with Swift 5 installed on my machine. So that's a bummer. 😞

I’m sure I’ll manage to update my machine to Mojave and Xcode 10.2 eventually, but in the meantime, I’m open to suggestions, and hopefully the trick of pointing to master from your Podfile (as mentioned previously) should help you avoid the issue.

from acknowlist.

vtourraine avatar vtourraine commented on July 29, 2024

Hello Oscar, and thank you for reaching out. Unfortunately I don’t have the latest Xcode version installed yet, so I can’t test this library with Swift 5.

If you do, feel free to open the workspace, migrate the code to Swift 5 (there’s probably very little change beyond the project settings), and send me a pull request. 🚀

from acknowlist.

OscarGorog avatar OscarGorog commented on July 29, 2024

Hi Vincent,

I have created a pull request for this update.

Thanks!

from acknowlist.

vtourraine avatar vtourraine commented on July 29, 2024

Implemented with #50

from acknowlist.

larsschwegmann avatar larsschwegmann commented on July 29, 2024

@vtourraine Could you update the cocoapods spec in the cocoapods trunk repo to use v. 1.9 please? 😄

from acknowlist.

vtourraine avatar vtourraine commented on July 29, 2024

@larsschwegmann I’ve tried to push the update earlier this week, but apparently Swift 5 isn’t supported by CocoaPods yet. Unless I’m missing something?

from acknowlist.

larsschwegmann avatar larsschwegmann commented on July 29, 2024

@vtourraine Hmm, I've actually never submitted/updated a pod to the cocoapods trunk myself, but other pods that I use already upgraded to Swift 5 and successfully submitted their updated version. Take Moya for example (v. 13.0.0) which uses Swift 5 and depends on Xcode 10.2

What happens exactly when you try to submit it using pod trunk push? ´Do you get an Error message? I would really like to get rid of these annoying warnings in Xcode 😄

from acknowlist.

OscarGorog avatar OscarGorog commented on July 29, 2024

from acknowlist.

vtourraine avatar vtourraine commented on July 29, 2024

@OkiRules That’s down to professional constraints, basically out of my control.

from acknowlist.

vtourraine avatar vtourraine commented on July 29, 2024

@OkiRules Good news: the Swift 5 version is finally available from CocoaPods (v1.9) 🎉

Sorry it took so long.

from acknowlist.

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.