當我嘗試在 Xcode 中構建我的 react-native 專案時,我從 RCT-Folly 收到此錯誤:
{path}/App/ios/Pods/RCT-Folly/folly/container/detail/F14Table.cpp:41:10:當前目標不支持執行緒本地存盤
{path}/App/ios/Pods/RCT-Folly/folly/container/detail/F14Table.cpp:56:10:當前目標不支持執行緒本地存盤
我不太確定發生了什么,所以我不確定我需要提供哪些資訊,但這是我的 Podfile:
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '11.0'
target 'Aware' do
config = use_native_modules!
use_react_native!(
:path => config[:reactNativePath],
# to enable hermes on iOS, change `false` to `true` and then install pods
:hermes_enabled => false
)
pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
pod 'Firebase/AnalyticsWithoutAdIdSupport'
# pod 'RCT-Folly', :podspec => '../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec'
# pod 'React-callinvoker"', :podspec => '../node_modules/react-native/ReactCommon/callinvoker.podspec'
target 'AwareTests' do
inherit! :complete
# Pods for testing
end
# Enables Flipper.
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable the next line.
#use_flipper!()
post_install do |installer|
react_native_post_install(installer)
end
end
我試過了:
- 重新安裝:Xcode、node_modules、pod 和專案
- 洗掉:構建檔案夾、DerivedData、package-lock.json、Podfile.lock
uj5u.com熱心網友回復:
我遇到了同樣的問題,這是我為解決它所做的
https://github.com/tanersener/react-native-ffmpeg/issues/148#issuecomment-633371018
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/361699.html
上一篇:本地網路權限對話框未顯示
