Git Product home page Git Product logo

Comments (17)

duemunk avatar duemunk commented on July 23, 2024

Hmm, bummer. It's kinda sad to need to change the filename to AsyncSwift.podspec.

Does anyone have any ideas that does require name change?

As a current workaround use pod 'Async', :git => 'https://github.com/duemunk/Async.git'

from async.

nanoxd avatar nanoxd commented on July 23, 2024

There is a claims form for CocoaPods but that's more for libraries that were submitted by other users that the developer wants to claim. In this case maybe talking to @johnwana to change his pod instead?

from async.

duemunk avatar duemunk commented on July 23, 2024

Yeah, no. @johnwana's repo is a pure valid use of CocoaPods. It's unfortunate that CocoaPods don't allow to push to trunk with a different name IMO.

from async.

landfound avatar landfound commented on July 23, 2024

seem that the trunk wasn't pushed?

from async.

duemunk avatar duemunk commented on July 23, 2024

@todaylover ??

from async.

landfound avatar landfound commented on July 23, 2024

the filename has been decided? ah. you can make a decision

from async.

danthorpe avatar danthorpe commented on July 23, 2024

I expect that most developers maintain their own Specs repo, and all that is required is to add an Async directory structure to that.

There is one issue at the moment, and that is a missing remote tag for 1.2.0 so the current podspec is not valid.

from async.

0angelic0 avatar 0angelic0 commented on July 23, 2024

So, How can I install this Async from CocoaPods?
I placed pod 'Async' in Podfile but then it installed https://github.com/johnwana/Async instead of this Async.

from async.

danthorpe avatar danthorpe commented on July 23, 2024

@0angelic0 you can great your own Specs repo, and put Async in it like this, for example: https://github.com/yakatak/Specs/tree/master/Async/1.2.0

Then add this repo to your Podfile e.g.

source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/<< your github name >>/Specs.git'

Then you can use:

pod 'Async'

And CocoaPods will "override" the Async which is in the Master repo. If you wanted to use both, then name changes need to happen. I guess this is what @duemunk will probably have to do in the long run if he wants to submit Async to the trunk.

n.b. Don't use someone else personal Specs repo - create and maintain your own.

from async.

0angelic0 avatar 0angelic0 commented on July 23, 2024

@danthorpe Thanks! I followed your guide and it worked.

from async.

duemunk avatar duemunk commented on July 23, 2024

I might have misunderstood something, but why not just use pod 'Async', :git => 'https://github.com/duemunk/Async.git' ?

from async.

danthorpe avatar danthorpe commented on July 23, 2024

@duemunk @0angelic0 yes, this will work if you want to use Async in an application. But it won't work if you want to use it inside an internal framework/dependency.

from async.

duemunk avatar duemunk commented on July 23, 2024

Ah, ok. That makes sense. I think the only solution is to call CocoaPods part of the project AsyncSwift.
It would be ok to keep class Async right?

from async.

danthorpe avatar danthorpe commented on July 23, 2024

Absolutely, the class name doesn't need to change. It's just a CocoaPods namespacing issue.

from async.

juzzin avatar juzzin commented on July 23, 2024

Renaming the pod to AsyncSwift would be really helpful. It would allow this project to be used as a podspec dependency.

from async.

duemunk avatar duemunk commented on July 23, 2024

I've changed the CocoaPods name to AsyncSwift now and pushed to the trunk. Hopefully this works.

from async.

juzzin avatar juzzin commented on July 23, 2024

That was quick. Thanks. ๐Ÿ‘

from async.

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.