SwiftDate icon indicating copy to clipboard operation
SwiftDate copied to clipboard

Command Ld failed with a nonzero exit code after added SwiftDate

Open MrEldin opened this issue 3 years ago • 4 comments
trafficstars

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?

MrEldin avatar Mar 02 '22 10:03 MrEldin

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

mlhw avatar Mar 03 '22 08:03 mlhw

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

MrEldin avatar Mar 03 '22 09:03 MrEldin

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

arbyruns avatar Mar 29 '22 15:03 arbyruns

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.

wonder2011 avatar Jun 29 '22 21:06 wonder2011