MatthewYork / DateTools

Dates and times made easy in iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Module compiled with Swift 4.0.3 cannot be imported in Swift 4.1:

thankmelater23 opened this issue · comments

Can't complile my project getting this error on the import statement

Xcode->Preferences->Locations and delete all Derived Data for your app. This worked form me. also check Command Line Tools to be Xcode 9.3

screen shot 2018-04-03 at 4 13 08 pm

issue with Xcode 9.3

@shaharukhs , it's fixed in version 4.0.0

pod 'DateToolsSwift', '~> 4.0.0'

Hello, I'm working with a framework, and when I Try to call it in my app, appears this error.
captura de pantalla 2018-04-03 a la s 6 36 21 p m

Caused by the latest xcode update. You must recompile that framework with 4.1 or download the fixed version of it.

commented

If you trying to update to 4.0.0 (pod 'DateToolsSwift', '~> 4.0.0') and issue for repo appeared, try to update the repo
pod repo update
then
pod install

@noxsicarius How do you recompile a framework? Am stuck on this issue with ARVideoKit.

@allenwixted If it's open source you can take the source and recompile it yourself. If you do not have access to the code, then you will need to either wait for them to release it for you, or you can download xcode 9.2 and that will let you work again.

to download 9.2 go to the apple developer portal or just google download old xcode version