Money icon indicating copy to clipboard operation
Money copied to clipboard

unexpectedly found nil of locale.mny_currencyCode

Open BadReese opened this issue 8 years ago • 3 comments

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 avatar Feb 06 '17 09:02 BadReese

image

BadReese avatar Feb 06 '17 09:02 BadReese

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

dccarmo avatar Apr 22 '17 19:04 dccarmo

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'}

abesmon avatar May 23 '17 15:05 abesmon