Comments (17)
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.
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.
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.
seem that the trunk wasn't pushed?
from async.
@todaylover ??
from async.
the filename has been decided? ah. you can make a decision
from async.
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.
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.
@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.
@danthorpe Thanks! I followed your guide and it worked.
from async.
I might have misunderstood something, but why not just use pod 'Async', :git => 'https://github.com/duemunk/Async.git'
?
from async.
@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.
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.
Absolutely, the class name doesn't need to change. It's just a CocoaPods namespacing issue.
from async.
Renaming the pod to AsyncSwift would be really helpful. It would allow this project to be used as a podspec dependency.
from async.
I've changed the CocoaPods name to AsyncSwift now and pushed to the trunk. Hopefully this works.
from async.
That was quick. Thanks. ๐
from async.
Related Issues (20)
- ITMS-90056 This bundle is invalid. The Info.plist file is missing the required key: CFBundleVersion HOT 6
- CompileSwift normal arm64 HOT 4
- Error on installation HOT 20
- Linux support HOT 4
- iOS deployment target issue HOT 1
- Does not compile with Xcode 9 and Swift 4 HOT 11
- Chaining does not seem to be working HOT 3
- AsyncSwift.podspec is outdated HOT 14
- Does not support iOS8.0 HOT 1
- Error: This applicationโs bundle identifier does not match its code signing identifier
- Cannot load module 'async' as 'Async' HOT 1
- Does not support iOS 12 HOT 1
- update for version Swift 5 HOT 1
- Building from terminal as "xcodebuild build-for-testing -scheme <scheme>"
- SPM Compatibility HOT 7
- Lacking CocoaPods support HOT 3
- pass parameters through blocks HOT 1
- Escaping in a closure through blocks HOT 1
- Crash build on Linux HOT 1
- async swift libarclite error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from async.