ios - pod install 正在安装在不同的文件夹中

标签 ios react-native cocoapods

我有一个 pod 文件,例如:

platform :ios, '9.0'

target 'Project' do

  pod 'AppAuth', '>= 0.94'

  pod 'RNAWSCognito', :path => '../node_modules/amazon-cognito-identity-js'

  pod 'react-native-sqlite-storage', :path => '../node_modules/react-native-sqlite-storage'

end

我执行了 pod install ,但某些 pod 直接安装到 Pods 文件夹内的我的 Target Support File 文件夹。

directory

因此,当我尝试使用这些 pod 时,它给出了错误:

errer enter image description here

最佳答案

试试这个: pod install --project-directory=/path/to/root/with/Podfile

关于ios - pod install 正在安装在不同的文件夹中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55864172/

相关文章:

iphone - 以编程方式在按钮上添加图像和文本

ios - CoreData 堆栈 [child(background)/parent(thread 1)] setup mergeChangesFromContextDidSaveNotification 不更新 UI(tableview)

javascript - React-native:除非状态更改,否则绝对定位的组件不会完全渲染

reactjs - React js给出错误传播运算符

objective-c - "ld: library not found for -lPods"仅在真机运行时

ios - 我的本地人在构建tvOS时遇到问题,但iOS成功

iOS - 使用 NSNotificationCenter 的生命周期

ios - 单元格宽度对于表格 View 宽度来说太大

javascript - 如何修复您应该只在 IOS 的应用程序中显式渲染一个导航器

ruby - 安装 Pod 时出错 - 0x00000001045b8000 处的总线错误