
[英]How to resolve error "command not found: pod" despite cocoapods successful install?
我已经运行sudo gem install cocoapods 。 安装了很多 gem 并且没有显示错误。 但尽管如此,当我运行pod setup时,我不断收到错误“找不到命令:pod”。 我尝试重新运行 cocoapods 安装。 而且pod命令还是跑不了。 如何解决这个问题? 我使用苹果操作系 ...
[英]How to resolve error "command not found: pod" despite cocoapods successful install?
我已经运行sudo gem install cocoapods 。 安装了很多 gem 并且没有显示错误。 但尽管如此,当我运行pod setup时,我不断收到错误“找不到命令:pod”。 我尝试重新运行 cocoapods 安装。 而且pod命令还是跑不了。 如何解决这个问题? 我使用苹果操作系 ...
[英]react-native ios Podfile issue with "use_native_modules!"
在 ios/ 目录中的 react-native 项目 (react-native@0.60) 中,我运行pod install并收到此错误: 我没有在这个 Podfile 中添加或更改任何内容——它都是 react-native 生成的。 (我没有 iOS 开发经验,所以这可能是一个简单的修复, ...
[英]Xcode 10.2.1 Command PhaseScriptExecution failed with a nonzero exit code
命令PhaseScriptExecution失败,退出代码nonzero 我删除了派生数据。 我努力了: 钥匙串访问 -> 右键单击登录 -> 再次锁定和解锁 -> 清除 Xcode 项目重启机器,没用尝试存档项目时,如何解决“ Command PhaseScriptExecut ...
[英]GTMSessionFetcher.h -Multiple Errors after Updating Pod
当我更新 Pod 时,我不断收到多个GTMSessionFetcher.h错误。 class 'GTMSessionFetcherUserDefaultsFactory' 的重复接口定义 “GTMSessionFetcherError”的重新定义 “GTMSessionFetcherStatus” ...
[英]How to fix multiple pod related issue for installing new pods in podlock when attempting to install datepicker pod?
目的:在我现有的旧项目 swift 中安装 pod 'DatePicker', '~> 1.3.0'。 场景:由于存在与默认(.inline)布局中的日期选择器相关的问题,我想从 pod 中实现新的库 Date-picker。 问题是什么:在 podlock 中实现新的 pod 时会出现多个 ...
[英]How to handle "header file not found" for a podfile library? ('XYZ.h' file not found) - In Xcode
我已经安装了我的 pod 文件并且它们工作正常,但是在从 orignin/main 中拉出后出现了这个错误。 而且我还将所有 pod 文件及其相关文件都放到了 .gitignore 中,所以我不确定拉动是否导致了这个问题...... 到目前为止,我已经删除了派生的数据并通过 pod update ...
[英]React Native - Error during post install hook for Podfile
我是 iOS React Native 应用程序的新手,所以这可能是一个超级简单的修复,但在 React Native 版本升级后,下面显示的 Podfile 崩溃并出现以下错误。 错误是undefined method 'real_path' for nil:NilClass Cocoapods ...
[英]Unable to Pod Install on a brand new React Native Project
问题标题解释了大部分问题。 我在 M1 Mac 上运行,按照此处的所有说明操作后,我无法运行任何形式的pod install 。 当我这样做时,出现以下错误... 我试过先运行bundle install ,然后运行bundle exec pod install ,但我遇到了同样的错误。 我使用 ...
[英]Specs satisfying the `Firebase/Functions` dependency were found, but they required a higher minimum deployment target
我试图安装pod 'Firebase/Functions'但失败并出现以下错误: `[:] CocoaPods 找不到 pod“Firebase/Functions”的兼容版本:在 Podfile:Firebase/Functions 找到了满足Firebase/Functions依赖性的规范,但 ...
[英]can't find gem cocoapods (>= 0.a) with executable pod (react-native pod install)
我刚开始一个 react-native 项目。 然而,这个问题困扰了我一天。 我尝试了所有可能的方法来解决它。 例如, 但是,我没有运气。 我想指出我可以在其他路径下pod --version但是当我尝试在我的项目路径下pod时出现问题。 我还尝试将 rvm 默认版本设置为 2.7.5,但问题仍然 ...
[英]Error: pathspec did not match any file(s) known to git
我在处理 Git 存储库、Cocoa Pod 和 Xcode 时遇到问题 9. 创建 Xcode 项目并添加 pod 框架后,我在尝试导入源代码管理和 Github 时遇到此错误: “ProjectX”的工作副本提交文件失败。 错误:pathspec 'path/to/pod/files' 与 g ...
[英]Cocoapods "Pod Update" - exception
我尝试执行 pod 更新,但出现以下错误: 追溯(最近一次通话最后一次):12:来自/usr/local/Cellar/cocoapods/1.9.3/libexec/bin/pod:23:in <main>' 11: from /System/Library/Frameworks/Ru ...
[英]Invalid `Podfile` file: 767: unexpected token at ''
我正在尝试使用 React Native 运行我的 IOS 应用程序,但我需要更新我的 Pod。 所以我在终端上运行: 但是我在标题上得到了这个错误 我应该怎么办? 我的 Podfile 如下 我的 package.json 文件使用了这个依赖项: 如果我从代码中取出 use_native_modu ...
[英]Flutter Could not build the application for the simulator. Error launching application on iPhone 14
我使用 flutter,它工作正常,没有任何问题,突然间突然出现“无法为模拟器构建应用程序。在 iPhone 14 上启动应用程序时出错。” 这也发生在我的朋友身上,他在同一个项目上工作注意我们使用的是 Mac 我尝试了 flutter clean 并再次运行它 pod update 并且我删除了 ...
[英]Unknown ruby interpreter version (do not know how to handle): File.readFile.join__dir__,.ruby-version.strip
我刚刚安装了一个新的 React react native项目 v 0.71.1。 一旦 cd 进入我的项目,我就会收到任何错误消息 一旦我 cd 到 iOS 目录以使用bundle install && RCT_NEW_ARCH_ENABLED=1 bundle exec pod ...
[英]Flutter: CocoaPods's specs repository is too out-of-date to satisfy dependencies
目前,我试图在我的 flutter 项目中添加firebase_core: ^0.5.0+1和firebase_crashlytics: ^0.2.1+1包,它的最新版本在 Android 中没有任何问题,但在 iOS 中,它不工作并且给出错误。 那么现在如何在iOS Flutter项目中用最新的p ...
[英]cocoapods intallation Errors in mac for flutter doctor
我安装自制软件。 然后我运行命令“brew install cocoapods”。 它安装成功但在 flutter 医生中我收到错误:cocoapods 安装但无法正常工作。 由于 ruby 版本不兼容而出错。 尝试了另一种方法“sudo gem install cocoapods”并出现错误: 执 ...
[英]ios - where to put s.static_framework = true
我在 CocoaPods 中是 0 级。当我使用pod install时,出现错误提示: 我尝试四处搜索并在第一个答案中查看解决方案。 Pranav Gupta 说我需要将s.static_framework = true添加到我的 podspec。 但是,我不知道具体在哪里。 如果您知道如何将s ...
[英]expo eas -p ios fails during fastlane
使用命令eas build -p ios 构建时,我的快速通道出现错误。 我在下面提供了一些快速通道信息。 我强调了错误。 我之前看到的最底部的错误,但通常我通过使用 xcode 清理构建来修复它。 如果没有 xcode,我不确定如何解决甚至调试这些错误。 编辑:我确实更新了我的 xcode 命令行 ...
[英]use_frameworks! for only some pods or swift pods
我的项目中有Objective C和Swift 。 由于 swift POD( XWebView 、红蜘蛛)只能作为框架添加,我必须使用use_frameworks! 但这使得所有 POD 作为框架,包括 Objective-C POD( WBWebViewConsole )。 但这会导致 Obj ...