Я использую xcode 10 и получаю следующую ошибку при попытке собрать:
Undefined symbols for architecture x86_64: "YGConfig::YGConfig(int ()(YGConfig, YGNode*, YGLogLevel, char const*, __va_list_tag*))", referenced from: _YGConfigNew in libyoga.a(Yoga.o)
Мой подфайл выглядит так:
target 'CrisisApp' do
# Uncomment the next line if you're using Swift or would like to use
dynamic frameworks
# use_frameworks!
# Pods for CrisisApp
pod 'React', :path => '../node_modules/react-native', :subspecs => [
'Core',
'CxxBridge'
]
pod 'Interactable', :path => '../node_modules/react-native-interactable'
pod 'Folly', :podspec => '../node_modules/react-native/third-party-
podspecs/Folly.podspec'
pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
pod 'ReactNativePermissions', :path => '../node_modules/react-native-permissions'
pod 'react-native-image-picker', :path => '../node_modules/react-native-image-picker'
pod 'rn-fetch-blob', :path => '../node_modules/rn-fetch-blob'
pod 'react-native-pdf', :path => '../node_modules/react-native-pdf'
pod 'lottie-ios', :path => '../node_modules/lottie-ios'
pod 'lottie-react-native', :path => '../node_modules/lottie-react-native'
pod 'RNDeviceInfo', :path => '../node_modules/react-native-device-info'
target 'CrisisApp-tvOSTests' do
inherit! :search_paths
# Pods for testing
pod 'ReactNativePermissions', :path => '../node_modules/react-native-permissions'
pod 'react-native-image-picker', :path => '../node_modules/react-native-image-picker'
pod 'rn-fetch-blob', :path => '../node_modules/rn-fetch-blob'
pod 'react-native-pdf', :path => '../node_modules/react-native-pdf'
pod 'lottie-ios', :path => '../node_modules/lottie-ios'
pod 'lottie-react-native', :path => '../node_modules/lottie-react-native'
pod 'RNDeviceInfo', :path => '../node_modules/react-native-device-info'
end
target 'CrisisAppTests' do
inherit! :search_paths
# Pods for testing
end
end
target 'CrisisApp-tvOS' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
# Pods for CrisisApp-tvOS
end
Я видел еще два похожихвопросы, подобные этим на SO, но пока нет ответа, поэтому, пожалуйста, помогите
Ссылки на другие вопросы: Неопределенные символы для архитектуры x86_64: ссылка с: _YGConfigNew in libyoga.a (Yoga.o)
Реакция встроенной сборки iOS не удалась из-за следующей ошибки: символы не найдены для архитектуры arm64