ExSwift icon indicating copy to clipboard operation
ExSwift copied to clipboard

How do I use these in a project with CocoaPods

Open edasque opened this issue 11 years ago • 11 comments

I've created the Podfile and installed ExSwift. I see it in my xcworkspace.

It's probably not enough but I can't figure out what to do next.

anagram_xcodeproj

edasque avatar Jul 29 '14 01:07 edasque

Due to a bug (#23) in the current Swift compiler (Beta 4), ExSwift can't be used as a pod.

pNre avatar Jul 29 '14 17:07 pNre

Looks like it's not working in Beta 5 either. I'm incredibly excited to try this project out so I hope Apple resolves this issue soon!

vincentjames501 avatar Aug 05 '14 13:08 vincentjames501

Still an issue in 6.0 final?

edasque avatar Sep 23 '14 19:09 edasque

Sadly, yes. Right know you get an error:

Extension of generic type '...' from a different module cannot provide public declarations

Anyway, Apple is still working to support generic type extensions as soon the bug is fixed.

pNre avatar Sep 24 '14 11:09 pNre

The error that I get with Xcode 6.0.1 is this: ../libtool: unknown option character `X' in: -Xlinker

evermeer avatar Oct 04 '14 14:10 evermeer

Check out my fork. I've added installation instructions. I haven't managed to install it with Cocoapods but I did it other way https://github.com/konstantinkoval/ExSwift

kostiakoval avatar Oct 17 '14 09:10 kostiakoval

Unfortunately still a problem in Xcode 6.2 beta.

panzerdp avatar Nov 28 '14 14:11 panzerdp

Still a problem?

edasque avatar Jan 24 '15 19:01 edasque

Yes, nothing changed. I don't think we'll se any change until the next Xcode version (6.3 - 7).

pNre avatar Jan 26 '15 18:01 pNre

@pNre Has the new Xcode beta (6.3) fixed this problem? I'd looove if this library was Carthage compatible, but if it still can't be compiled as a framework then it isn't even possible, let alone compatible.

truppelito avatar Feb 15 '15 21:02 truppelito

I did a quick test with CocoaPods and it seems to be working!

pNre avatar Feb 17 '15 17:02 pNre