我试图更新的反应本机应用程序从0.59到0.64,它是在0.59,它允许做pod安装。
当我用0.59版本执行pod安装时的结果
local@testxcode%pod deintegrate去集成测试。xcodeproj
删除了1个“Copy Pods Resources”构建阶段。删除了1'检查舱清单。锁定“构建阶段”。删除了1个“嵌入式吊舱框架”构建阶段。
Pods
目录。项目已被取消集成。项目中没有留下椰子的痕迹。注意:引用Pods项目的工作空间仍然存在。本地@测试xcode %
Pod安装
local@testios%pod为目标安装自动链接React Native模块test_app
:BVLinearGradient、RNDeviceInfo、RNFS、RNGestureHandler、RNPermissions、RNReanimated、RNScreens、React Native adjust、React Native dynatrace、React本机安全区域上下文和React national webview分析依赖项下载依赖项生成Pods项目
集成客户端项目Pod安装完成!Podfile中有60个依赖项,总共安装了52个pod。
[!]您的项目没有明确指定CocoaPods主规格报告。由于CDN现在被用作默认值,您可以通过< code>pod repo remove master安全地将其从您的回购目录中删除。要取消此警告,请添加< code > warn _ for _ unused _ master _ specs _ repo =
现在0.64版本生成下一个
Pod安装
local@testxcode%pod install正在分析依赖项正在从获取podspec for
Folly
。/Libraries/react native/third-party podspecs/Folly.podspec
―――降价模版――――…―――&―――—―――-―――Ⅰ―――Ⅳ―――Ⅲ―――Ⅱ―――---―――
/usr/local/Cellar/cocoapods/1.10.1_1/libexec/bin/pod install
>
你做了什么?
你希望会发生什么?
结果呢?
CocoaPods : 1.10.1
Ruby : ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]
RubyGems : 3.0.3
Host : Mac OS X 10.15.7 (19H15)
Xcode : 12.2 (12B45b)
Git : git version 2.24.3 (Apple Git-128)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
Repositories : cocoapods - git - https://github.com/CocoaPods/Specs.git @ 3d73ef307c2c254ec6e2548eacc35d461958bfa0
test.local-framework-pod-specs - git - http://test.local/framework/pod-specs.git @ 56f9f70f6160741426743b240f58847c105d6c78
trunk - CDN - https://cdn.cocoapods.org/
cocoapods-deintegrate : 1.0.4
cocoapods-plugins : 1.0.0
cocoapods-search : 1.0.0
cocoapods-stats : 1.1.0
cocoapods-trunk : 1.5.0
cocoapods-try : 1.2.0
Errno::ENOENT - No such file or directory @ rb_sysopen -
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/open-uri.rb:37:in `initialize'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/open-uri.rb:37:in `open'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/open-uri.rb:37:in `open'
/usr/local/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/external_sources/podspec_source.rb:19:in `block in fetch'
/usr/local/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:86:in `titled_section'
/usr/local/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/external_sources/podspec_source.rb:11:in `fetch'
/usr/local/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:989:in `fetch_external_source'
/usr/local/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:968:in `block (2 levels) in fetch_external_sources'
/usr/local/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:967:in `each'
/usr/local/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:967:in `block in fetch_external_sources'
/usr/local/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:64:in `section'
/usr/local/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:966:in `fetch_external_sources'
/usr/local/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:117:in `analyze'
/usr/local/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:414:in `analyze'
/usr/local/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:239:in `block in resolve_dependencies'
/usr/local/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:64:in `section'
/usr/local/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:238:in `resolve_dependencies'
/usr/local/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:160:in `install!'
/usr/local/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/command/install.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/usr/local/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/command.rb:52:in `run'
/usr/local/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/bin/pod:55:in `<top (required)>'
/usr/local/Cellar/cocoapods/1.10.1_1/libexec/bin/pod:23:in `load'
/usr/local/Cellar/cocoapods/1.10.1_1/libexec/bin/pod:23:in `<main>'
――模板结束 ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
[!]哦,不,发生了一个错误。
搜索与您的问题类似的现有 GitHub 问题:https://github.com/CocoaPods/CocoaPods/search?q=No 此类文件或目录 @ rb_sysopen -
如果不存在,使用上面显示的模板在https://github.com/CocoaPods/CocoaPods/issues/new创建一个票证
请务必首先阅读投稿指南,了解如何正确提交工单的详细信息:https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md
不要忘记匿名任何私人数据!
寻找cocoapods/cocoapods上的相关问题...未发现类似问题。要创建新的问题,请访问:https://github.com/cocoapods/cocoapods/issues/new
podfile
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'Test' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for Test
pod 'CardIO' #5.4.1 version
# dependences base react
pod 'React', :path => './Libraries/react-native', :subspecs => [
'Core',
'CxxBridge', # Include this for RN >= 0.47
'DevSupport', # Include this to enable In-App Devmenu if RN >= 0.43
'RCTText',
'RCTImage',
'RCTNetwork',
'RCTWebSocket',
'RCTLinkingIOS',
'RCTAnimation',
# needed for debugging
# Add any other subspecs you want to use in your project
]
pod 'yoga', :path => './Libraries/react-native/ReactCommon/yoga'
pod 'DoubleConversion', :podspec => './Libraries/react-native/third-party-podspecs/DoubleConversion.podspec'
pod 'glog', :podspec => './Libraries/react-native/third-party-podspecs/glog.podspec'
pod 'Folly', :podspec => './Libraries/react-native/third-party-podspecs/Folly.podspec'
# dependences react
pod 'RNGestureHandler', :path => './Libraries/react-native-gesture-handler'
pod 'BVLinearGradient', :path => './Libraries/react-native-linear-gradient'
pod 'RNDeviceInfo', :path => './Libraries/react-native-device-info'
pod 'RNFS', :path => './Libraries/react-native-fs'
pod 'RNPermissions', :path => './Libraries/react-native-permissions'
pod 'Permission-Camera', :path => './Libraries/react-native-permissions/ios/Camera.podspec'
pod 'react-native-webview', :path => './Libraries/react-native-webview'
# Adjust
pod 'react-native-adjust', :path => './Libraries/react-native-adjust'
target 'TestTests' do
inherit! :search_paths
# Pods for testing
end
target 'TestUITests' do
# Pods for testing
end
end
我修复了错误。
如果有人有问题,你应该做下一个
在0.59版本中使用下一个
pod 'Folly', :podspec => './Libraries/react-native/third-party-podspecs/Folly.podspec'
但它改变了下一个库
# The prefix to react-native
prefix = "./Libraries/react-native"
options={}
# Include DevSupport dependency
production = options[:production] ||= false
pod 'RCT-Folly', :podspec => "#{prefix}/third-party-podspecs/RCT-
Folly.podspec"
容器文件
The prefix to react-native
prefix = "./Libraries/react-native"
options={}
# dependences base react
pod 'FBLazyVector', :path => "#{prefix}/Libraries/FBLazyVector"
pod 'FBReactNativeSpec', :path => "#{prefix}/React/FBReactNativeSpec"
pod 'RCTRequired', :path => "#{prefix}/Libraries/RCTRequired"
pod 'RCTTypeSafety', :path => "#{prefix}/Libraries/TypeSafety"
pod 'React', :path => "#{prefix}/"
pod 'React-Core', :path => "#{prefix}/"
pod 'React-CoreModules', :path => "#{prefix}/React/CoreModules"
pod 'React-RCTActionSheet', :path => "#{prefix}/Libraries/ActionSheetIOS"
pod 'React-RCTAnimation', :path => "#{prefix}/Libraries/NativeAnimation"
pod 'React-RCTBlob', :path => "#{prefix}/Libraries/Blob"
pod 'React-RCTImage', :path => "#{prefix}/Libraries/Image"
pod 'React-RCTLinking', :path => "#{prefix}/Libraries/LinkingIOS"
pod 'React-RCTNetwork', :path => "#{prefix}/Libraries/Network"
pod 'React-RCTSettings', :path => "#{prefix}/Libraries/Settings"
pod 'React-RCTText', :path => "#{prefix}/Libraries/Text"
pod 'React-RCTVibration', :path => "#{prefix}/Libraries/Vibration"
pod 'React-Core/RCTWebSocket', :path => "#{prefix}/"
unless production
pod 'React-Core/DevSupport', :path => "#{prefix}/"
end
pod 'React-cxxreact', :path => "#{prefix}/ReactCommon/cxxreact"
pod 'React-jsi', :path => "#{prefix}/ReactCommon/jsi"
pod 'React-jsiexecutor', :path => "#{prefix}/ReactCommon/jsiexecutor"
pod 'React-jsinspector', :path => "#{prefix}/ReactCommon/jsinspector"
pod 'React-callinvoker', :path => "#{prefix}/ReactCommon/callinvoker"
pod 'React-runtimeexecutor', :path => "#{prefix}/ReactCommon/runtimeexecutor"
pod 'React-perflogger', :path => "#{prefix}/ReactCommon/reactperflogger"
pod 'ReactCommon/turbomodule/core', :path => "#{prefix}/ReactCommon"
pod 'Yoga', :path => "#{prefix}/ReactCommon/yoga", :modular_headers => true
pod 'DoubleConversion', :podspec => "#{prefix}/third-party-podspecs/DoubleConversion.podspec"
pod 'glog', :podspec => "#{prefix}/third-party-podspecs/glog.podspec"
pod 'RCT-Folly', :podspec => "#{prefix}/third-party-podspecs/RCT-Folly.podspec"
if fabric_enabled
pod 'React-Fabric', :path => "#{prefix}/ReactCommon"
pod 'React-graphics', :path => "#{prefix}/ReactCommon/react/renderer/graphics"
pod 'React-jsi/Fabric', :path => "#{prefix}/ReactCommon/jsi"
pod 'React-RCTFabric', :path => "#{prefix}/React"
pod 'RCT-Folly/Fabric', :podspec => "#{prefix}/third-party-podspecs/RCT-Folly.podspec"
end
if hermes_enabled
pod 'React-Core/Hermes', :path => "#{prefix}/"
pod 'hermes-engine', '~> 0.7.2'
pod 'libevent', '~> 2.1.12'
end
我正试图使用MacBook上的scp将本地文件复制到远程服务器。 当我知道文件存在(我已经检查并重新检查了路径)时,我不断地得到错误“没有这样的文件或目录”。该文件具有u、g和O的文件rwx权限。文件不是符号链接。 文件a2.pdf位于本地计算机的根目录中。我还复制了路径,就像我使用pwd时所显示的那样,它包含在目录中,如下所示: 我正在登录到远程服务器时启动此命令。给出了本地路径的错误。
问题内容: 我在Windows中使用Code :: Blocks。 我创建了一个dll项目,试图获得一些JNI实践。 在javah生成的.h文件中,有#include jni.h,但是当我尝试对其进行编译时,它总是说jni.h:没有这样的文件或目录。 我认为这与classpath有关,但我不知道它是什么!可能是我必须更改Code :: Blocks的设置 有人可以帮我解决这个问题吗?非常感谢 编辑
问题内容: 我从节点应用程序收到此错误: 我知道文件在那里,因为当我尝试使用确切的复制和粘贴路径打开文件时,它可以工作。我也知道应用程序使用的是正确的目录,因为它会在错误中输出它。 问题答案: 波浪形扩展是一件空壳的事情。编写正确的路径名(可能是yourusername )或使用
问题内容: 我最近在运行Ubuntu 12.04 LTS的Macbook Pro上安装了用于C ++开发的KDevelop 4。 我想在我的C ++代码中嵌入Python应用程序。为此,需要包含Python.h头文件。所以,我做到了。 但是,在运行时,我从IDE收到以下响应: 但是,我很快就发现了问题。我还没有下载python- dev软件包。所以,我做到了。我又跑了一次,但同样的错误又出现了。因
问题内容: 我在运行docker文件时收到来自docker的错误消息。就是说/ var / lib / docker / aufs / layers / xxxx:运行Docker build时没有这样的文件或目录。 我尝试了多种方法来删除容器和图像,因此我对此非常有兴趣。 任何 Docker文件为: 完整的控制台输出为: 编辑 @BMitchs的建议解决了该问题: rm -rf / var /
我想我没有从源代码正确安装pylint。这是学习python中包如何工作的好机会。 我从源代码中安装了,我可以在我的pip列表中看到它。 我想卸载它并从pypi安装。 但是,我的2个pip是空的,但是当我使用 我得到一个错误 有没有办法删除这个bash命令?Pylint可能是安装了,但我不知道在哪里,或如何删除它? 编辑:正如评论中建议的,我尝试了这个链接查找哪个版本的包安装了pip。这也给了我一