javascript/react-native
[react-native] iOS 빌드 에러: Undefined symbols for architecture armv7
738
2018. 12. 9. 23:29
[react-native Trouble Shooting]
Problem
> iOS 빌드 에러: Undefined symbols for architecture armv7
Solution
> CxxBridge, DoubleConversion, Folly, GLog를 PodFile에 추가
예시)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # Uncomment the next line to define a global platform for your project platform :ios, '9.0' target 'reactTest' do #Uncomment the next line if you're using Swift or would like to use dynamic frameworks #use_frameworks! #Pod react-native react_native = "../node_modules/react-native" pod 'React', :path => react_native, :subspecies => [ 'Core', 'CxxBridge', 'DevSupport', # Include this to enable In-App Devmenu if RN >= 0.43 'RCTText', 'RCTNetwork', 'RCTWebSocket', # needed for debugging ] #Pod yoga support for react-native pod 'yoga', :path => "#{react_native}/ReactCommon/yoga" end | cs |