PaoloCuscela / Cards

Awesome iOS 11 appstore cards in swift 5.
MIT License
4.2k stars 274 forks source link

Failed to build Objective-C #84

Closed thijsheijden closed 5 years ago

thijsheijden commented 5 years ago

When importing Cards it just says 'Failed to build objective-C library'. Im running the latest xcode and swift versions. Please help as I really want to use this awesome pod!

PaoloCuscela commented 5 years ago

Can you post a screenshot and an example project ? Are you using cocoapods or importing manually ?

thijsheijden commented 5 years ago

CardsTest.zip

screen shot 2018-10-08 at 7 25 54 pm

I am using Cocoapods to install the project.

SamuelBzn commented 5 years ago

Worked for me :

thijsheijden commented 5 years ago

Thanks for the help but that didn't work for me :(

BruunoMM commented 5 years ago

Hey @thijsheijden, I was having the same problem. Here's what I did, and solved it.

And then do the steps mentioned by @SamuelBzn. I think it has something to do with the Swift version compiler. And it doesn't seem to compile on Swift 4.2 :(

thijsheijden commented 5 years ago

Thanks that worked! Any words on when an update to support Swift 4.2 will come?

PaoloCuscela commented 5 years ago

Glad you solved your issue ! Now it fully supports 4.2 :D