Skip to content
This repository was archived by the owner on Jul 2, 2018. It is now read-only.

unexpectedly found nil of locale.mny_currencyCode #75

Open
BadReese opened this issue Feb 6, 2017 · 3 comments
Open

unexpectedly found nil of locale.mny_currencyCode #75

BadReese opened this issue Feb 6, 2017 · 3 comments

Comments

@BadReese
Copy link

BadReese commented Feb 6, 2017

swift 3 and iOS 10
use money 2.0.1

I just use
let money = Money(100)
print(money)

then it crash at Pods/Money/Currency.swift/ init(locale:)

could you please help me?

@BadReese BadReese closed this as completed Feb 6, 2017
@BadReese BadReese reopened this Feb 6, 2017
@BadReese
Copy link
Author

BadReese commented Feb 6, 2017

image

@dccarmo
Copy link

dccarmo commented Apr 22, 2017

Same thing is happening to me, but only when running an UI Test.

@abesmon
Copy link

abesmon commented May 23, 2017

Same thing here.

fatal error: unexpectedly found nil while unwrapping an Optional value
(lldb) po locale.mny_currencySymbol
▿ Optional<String>
  - some : "¤"


(lldb) po locale
<__NSCFLocale: 0x6000000c4a60> 'ru'}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants