wuxudong / react-native-charts-wrapper

a react native charts wrapper (support android & iOS)
2.43k stars 657 forks source link

iOS build not working after adding library - XCode 14.0.1 #899

Open bavarnasivakumar opened 1 year ago

bavarnasivakumar commented 1 year ago

iOS build not working after adding library

Getting the following error while running pod install

The following build commands failed: SwiftEmitModule normal x86_64 Emitting\ module\ for\ Charts (in target 'Charts' from project 'Pods') (1 failure)

Specifications

harishgupta01 commented 1 year ago

@bavarnasivakumar Upgrading the library version to latest and changing the platform version in podfile should fix this issue.

hsheresd commented 1 year ago

@bavarnasivakumar Upgrading the library version to latest and changing the platform version in podfile should fix this issue.

Could you be more specific on what has to change for this to work? Can you post the exact change? Thanks

sanjeev-karat-zs0194 commented 1 year ago

Change this in podfile should fix the issue pod 'react-native-charts-wrapper', :path => '../node_modules/react-native-charts-wrapper'

bb-cuongnv commented 1 year ago
image

I have also tried but still get the same error as the picture above

RN: 0.70.2 Xcode: 14.0.1

showtan001 commented 1 year ago

+1

bavarnasivakumar commented 1 year ago

Suggested fix is not working for me as well.

showtan001 commented 1 year ago

platform :ios, '12.4' No error

wuxudong commented 1 year ago
image

I have also tried but still get the same error as the picture above

RN: 0.70.2 Xcode: 14.0.1 The error message hint no Charts found, have you tried the suggested command : pod install --repo-update ?

frisun commented 1 year ago

I have same error. How can I install Charts 4.1.0? Please somebody help me.

asterginete commented 11 months ago

platform :ios, '12.4' No error

This worked for me for version 0.5.11