我有一个 reactNative 项目,我试图在最新的 xcode 10.1 中运行。但是在我构建时它抛出了两个错误。
错误 :
Users/ios/Pods/Target Support Files/React/React.xcconfig: unable to open file (in target "React" in project "Pods") (in target 'React')
Users/ios/Pods/Target Support Files/React/React.xcconfig: unable to open file (in target "React" in project "Pods") (in target 'React')
Run Code Online (Sandbox Code Playgroud)
我的 pod 文件如下所示:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
EXPO_CPP_HEADER_DIR = 'ExpoKit'
target 'commonalityre' do
pod 'ExpoKit',
:git => "http://github.com/expo/expo.git",
:tag => "ios/2.6.8",
:subspecs => [
"Core",
"CPP",
"GL"
],
:inhibit_warnings => true
pod 'React',
:path => "../node_modules/react-native",
:inhibit_warnings => true, …Run Code Online (Sandbox Code Playgroud)