小编Sai*_*mar的帖子

无法打开文件(在项目“Pods”中的目标“React”中)(在目标“React”中)

我有一个 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)

iphone xcode ios react-native

4
推荐指数
1
解决办法
5809
查看次数

标签 统计

ios ×1

iphone ×1

react-native ×1

xcode ×1