{"action":"created","issue":{"url":"https://api.github.com/repos/wuxudong/react-native-charts-wrapper/issues/218","repository_url":"https://api.github.com/repos/wuxudong/react-native-charts-wrapper","labels_url":"https://api.github.com/repos/wuxudong/react-native-charts-wrapper/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/wuxudong/react-native-charts-wrapper/issues/218/comments","events_url":"https://api.github.com/repos/wuxudong/react-native-charts-wrapper/issues/218/events","html_url":"https://github.com/wuxudong/react-native-charts-wrapper/issues/218","id":298193341,"number":218,"title":"Cannot build on iOS. Please help my problem","user":{"login":"zeddjeong","id":30224606,"avatar_url":"https://avatars3.githubusercontent.com/u/30224606?v=4","gravatar_id":"","url":"https://api.github.com/users/zeddjeong","html_url":"https://github.com/zeddjeong","followers_url":"https://api.github.com/users/zeddjeong/followers","following_url":"https://api.github.com/users/zeddjeong/following{/other_user}","gists_url":"https://api.github.com/users/zeddjeong/gists{/gist_id}","starred_url":"https://api.github.com/users/zeddjeong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeddjeong/subscriptions","organizations_url":"https://api.github.com/users/zeddjeong/orgs","repos_url":"https://api.github.com/users/zeddjeong/repos","events_url":"https://api.github.com/users/zeddjeong/events{/privacy}","received_events_url":"https://api.github.com/users/zeddjeong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-19T08:28:37Z","updated_at":"2018-02-20T12:08:03Z","closed_at":null,"author_association":"NONE","body":"**XCode version : 9.2\r\nReact native version : 0.53.0\r\nPlease reffer my setting : \r\n\r\n1. Podfile\r\n\r\nplatform :ios, '9.0'\r\nuse_frameworks!\r\ntarget 'drinkit' do\r\n  pod \"yoga\", :path => \"../node_modules/react-native/ReactCommon/yoga\"\r\n  pod 'React', :path => '../node_modules/react-native' , :subspecs => [\r\n    'BatchedBridge', # Required For React Native 0.45.0+\r\n    'Core',\r\n    'ART',\r\n    'RCTImage',\r\n    'RCTNetwork',\r\n    'RCTLinkingIOS',\r\n    'RCTActionSheet',\r\n    # 'RCTAdSupport',\r\n    'RCTGeolocation',\r\n    'RCTPushNotification',\r\n    'RCTSettings',\r\n    'RCTVibration',\r\n    'RCTText',\r\n    'RCTWebSocket',\r\n    'DevSupport',\r\n    'tvOS'\r\n    # Add any other subspecs you want to use in your project\r\n  ]\r\n  pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'\r\n  pod 'Firebase/Core'\r\n  pod 'Firebase/AdMob'\r\n  pod 'Firebase/Auth'\r\n  pod 'Firebase/Crash'\r\n  pod 'Firebase/Database' \r\n  pod 'Firebase/DynamicLinks'\r\n  pod 'Firebase/Firestore'\r\n  pod 'Firebase/Messaging'\r\n  #pod 'Firebase/RemoteConfig'\r\n  pod 'Firebase/Storage'\r\n\r\n  pod 'RNSVG', :path => '../node_modules/react-native-svg'\r\n  pod 'SwiftyJSON', git: 'https://github.com/SwiftyJSON/SwiftyJSON.git'\r\n  pod 'Charts', git: 'https://github.com/danielgindi/Charts.git'\r\n\r\n  post_install do |installer|\r\n    installer.pods_project.targets.each do |target|\r\n      target.build_configurations.each do |config|\r\n        config.build_settings['SWIFT_VERSION'] = '3.0'\r\n      end\r\n    end\r\n  end\r\n  #Chart-Wrapper Setting end\r\nend\r\n\r\n2. package.json\r\n\r\n\"dependencies\": {\r\n    \"firebase\": \"^4.9.0\",\r\n    \"immutability-helper\": \"^2.6.4\",\r\n    \"immutable\": \"^3.8.2\",\r\n    \"native-base\": \"^2.3.7\",\r\n    \"react\": \"16.2.0\",\r\n    \"react-addons-update\": \"^15.6.2\",\r\n    \"react-native\": \"0.53.0\",\r\n    \"react-native-action-button\": \"^2.8.4\",\r\n    \"react-native-charts-wrapper\": \"^0.4.1\",\r\n    \"react-native-code-push\": \"^5.2.1\",\r\n    \"react-native-elements\": \"^0.19.0\",\r\n    \"react-native-fbsdk\": \"^0.7.0\",\r\n    \"react-native-firebase\": \"^3.2.4\",\r\n    \"react-native-google-signin\": \"^0.12.0\",\r\n    \"react-native-navigation\": \"^1.1.381\",\r\n    \"react-native-pathjs-charts\": \"0.0.33\",\r\n    \"react-native-star-rating\": \"^1.0.8\",\r\n    \"react-native-vector-icons\": \"^4.5.0\",\r\n    \"react-redux\": \"^5.0.6\",\r\n    \"redux\": \"^3.7.2\",\r\n    \"redux-actions\": \"^2.2.1\",\r\n    \"redux-logger\": \"^3.0.6\",\r\n    \"redux-saga\": \"^0.16.0\"\r\n  } \r\n\r\n3. iOS Setting\r\n<img width=\"699\" alt=\"2018-02-19 5 10 17\" src=\"https://user-images.githubusercontent.com/30224606/36368193-7ae853e2-1599-11e8-80cb-9bd39221238c.png\">\r\n<img width=\"681\" alt=\"2018-02-19 5 22 59\" src=\"https://user-images.githubusercontent.com/30224606/36368221-948c40ba-1599-11e8-9d20-e532d3c35b51.png\">\r\n<img width=\"1045\" alt=\"2018-02-19 5 23 42\" src=\"https://user-images.githubusercontent.com/30224606/36368242-ad6ba09e-1599-11e8-83b9-66676c71ca0a.png\">\r\n\r\n4. Build Error\r\n<img width=\"835\" alt=\"2018-02-19 5 25 50\" src=\"https://user-images.githubusercontent.com/30224606/36368331-11d85a54-159a-11e8-8fa6-0848675b73ee.png\">\r\n<img width=\"1135\" alt=\"2018-02-19 5 26 06\" src=\"https://user-images.githubusercontent.com/30224606/36368342-1a9efba2-159a-11e8-96d8-6c207a45dcfe.png\">\r\n<img width=\"1138\" alt=\"2018-02-19 5 26 13\" src=\"https://user-images.githubusercontent.com/30224606/36368358-2df5db12-159a-11e8-9123-6397e1470a72.png\">\r\n<img width=\"1142\" alt=\"2018-02-19 5 26 33\" src=\"https://user-images.githubusercontent.com/30224606/36368368-37da46b8-159a-11e8-9b84-38bf5e37d094.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/wuxudong/react-native-charts-wrapper/issues/comments/366957696","html_url":"https://github.com/wuxudong/react-native-charts-wrapper/issues/218#issuecomment-366957696","issue_url":"https://api.github.com/repos/wuxudong/react-native-charts-wrapper/issues/218","id":366957696,"user":{"login":"wuxudong","id":1391101,"avatar_url":"https://avatars1.githubusercontent.com/u/1391101?v=4","gravatar_id":"","url":"https://api.github.com/users/wuxudong","html_url":"https://github.com/wuxudong","followers_url":"https://api.github.com/users/wuxudong/followers","following_url":"https://api.github.com/users/wuxudong/following{/other_user}","gists_url":"https://api.github.com/users/wuxudong/gists{/gist_id}","starred_url":"https://api.github.com/users/wuxudong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wuxudong/subscriptions","organizations_url":"https://api.github.com/users/wuxudong/orgs","repos_url":"https://api.github.com/users/wuxudong/repos","events_url":"https://api.github.com/users/wuxudong/events{/privacy}","received_events_url":"https://api.github.com/users/wuxudong/received_events","type":"User","site_admin":false},"created_at":"2018-02-20T12:08:03Z","updated_at":"2018-02-20T12:08:03Z","author_association":"OWNER","body":"I think it related to [this](https://github.com/danielgindi/Charts/issues/2816)\r\n\r\nCharts '3.0.3'  use swift 3,  and Chart  '3.0.4'  use swift 4.\r\n\r\nIn swift 3,  the api is  text.size(attributes: attributes),\r\nand in swift 4,  it is  text.size(withAttributes: attributes)"}}
{"actor":{"display_login":"wuxudong"}}