Jpadilla1 / react-native-ios-charts

Bringing iOS Charts to React Native
MIT License
587 stars 66 forks source link

execute abbreviateNumber encounter error #77

Open L-Jovi opened 7 years ago

L-Jovi commented 7 years ago

I encounter error with below versions,

package.json

"react-native-ios-charts": "^0.3.0",

Podfile

platform :ios, '8.0'

use_frameworks!

target 'TapDB' do
  pod 'SwiftyJSON', git: 'https://github.com/SwiftyJSON/SwiftyJSON.git'
  pod 'Charts', git: 'https://github.com/liuxuan30/Charts.git', branch: 'Swift-3.0'
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['SWIFT_VERSION'] = '3.0'
    end
  end
end

my xcode version is 8.2.1 and use swift 3.0 with legacy set to no;

image

and always crash in below line,

image

how could I fix it?

thanks for your time,

regards.