Localize-Swift icon indicating copy to clipboard operation
Localize-Swift copied to clipboard

No such module 'Localize_Swift'

Open jacprada opened this issue 8 years ago • 7 comments

I would like to use the framework, but even following all the instructions I am still unable to build my app because of the No such module 'Localize_Swift' error. I did my research and tried the most common solutions for when a module is not found and none of them worked.

I have downloaded your example app fro GitHub and I am getting the same error when trying to build the app, which makes me think there is probably something broken or missing in the framework itself. Are you aware of any issue using the framework with Xcode 8 and Swift 3?

jacprada avatar Oct 27 '16 10:10 jacprada

are you install using Cocoapods? Maybe you can delete deriveddata and build again

the example code need to do pod install first

wanewang avatar Oct 30 '16 09:10 wanewang

I experienced the same issue (with Carthage)

francoisduchemin avatar Oct 31 '16 21:10 francoisduchemin

Same here with cocoapods and XCode 8 with Swift 2. Also, like a workaround for now, i've just used strict 1.0 version in my podfile.

This is working for me now:

...
pod 'Localize-Swift', '1.0'
...

gate8team avatar Nov 06 '16 12:11 gate8team

@gate8team you can try 1.5, because 1.6 is Swift 3

wanewang avatar Nov 10 '16 05:11 wanewang

@jhihguan is it Swift 3? Because I got warning to convert it to Swift 3 syntax and it causes me a lot of problems.

mozeb avatar Nov 10 '16 08:11 mozeb

I'm experiencing the same issue using cocoapods. Have you found a permanent solution for this issue ?

OussamaHaff avatar Jan 30 '18 14:01 OussamaHaff

I dont remember exactly how i solved this issue. But I think I converted it to swift 3 by myself..

mozeb avatar Jan 31 '18 06:01 mozeb