malcommac / SwiftDate

🐔 Toolkit to parse, validate, manipulate, compare and display dates, time & timezones in Swift.
MIT License
7.64k stars 770 forks source link

Command Ld failed with a nonzero exit code after added SwiftDate #795

Open MrEldin opened 2 years ago

MrEldin commented 2 years ago

After I added SwiftDate with Xcode and started to build a project I got an error:

Command Ld failed with a nonzero exit code 

And the build wasn't successful. I had to remove the package, any help for this one?

mlhw commented 2 years ago

I have the same issue. I've read that if your app is for iOS 11 or higher, one of the libraries should be modified to target iOS 11 or higher (e.g., my app is for iOS 12 or higher). https://stackoverflow.com/a/69299432/1421829

MrEldin commented 2 years ago

My app is for IOS 12 or higher, I had to use another library because this one has this problem.

arbyruns commented 2 years ago

@MrEldin which library did you end up using? I'm having the same issue?

wonder2011 commented 2 years ago

I'm using this library in Apple MacBook Pro M1 chip, targeting iOS >= 14, with Xcode 13.3. I don't have any issue with this lib. You can make a pod script to modify pod targets to iOS 11 for example or for Swift 4.2.