我正在尝试更新我的pod使用pod install并发现它没有正确更新,除非我删除原始pod.
是否需要一些额外步骤,或者是否存在导致更新失败的常见错误?
关闭MagicalRecord注销需要在项目首次包含之前进行#define,但是对于由Cocoapods管理的项目,我无权在Pods项目中添加#define.在这种情况下如何完全关闭注销?
花了几个小时找出办法,在这里张贴,希望它能帮助别人.
编辑:这不是重复,因为它讨论了在Cocoapods下关闭日志
错误信息:
验证校验和不正确,预期为 6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e,得到 5e89103d9b70bba5c91a794126b169cb67654be2051f90cf7c22ba6893ede 0 关闭
重现步骤
cd ios & pod install
Run Code Online (Sandbox Code Playgroud)
输出:
React Native Version
0.73.1
Affected Platforms
Build - MacOS
Run Code Online (Sandbox Code Playgroud)
React Native pod 安装期间发生错误。
我正在整合我的一个github repos(这里有完整的代码,如果它有帮助)和Cocopods,我跑的时候会收到这个错误pod spec lint.
-> DropDownMenu (0.0.1)
- ERROR | [iOS] The `source_files` pattern did not match any file.
Run Code Online (Sandbox Code Playgroud)
这是.podspec我认为导致问题的相关代码.
s.source_files = 'Classes/*.{h,m}'
s.source_files = 'Classes/DropDownMenu.{h,m}'
s.source_files = 'Classes'
s.source_files = 'Classes/**/*.{h,m}'
Run Code Online (Sandbox Code Playgroud)
我的s.source_files领域不正确吗?或者我做错了.podspec什么?我该怎么做才能解决这个问题?
我的问题类似于这个问题,但解决方案对我不起作用(我的代码在Github上更新).
我正在做Ray Wenderlich教程,名为SimpleWeather.
podfile与项目位于同一文件夹中.这是podfile中的代码:
platform :ios, '7.0'
xcodeproj 'SimpleWeather'
pod 'Mantle'
pod 'LBBlurredImage'
pod 'TSMessages'
pod 'ReactiveCocoa'
Run Code Online (Sandbox Code Playgroud)
错误消息是这样的:[!]无法找到/Users/myName/Developer/SimpleWeather.xcodeproj目标的Xcode项目Pods.
该项目的名称是SimpleWeather.
我在 Xcode 12 上收到此警告:
iOS Simulator 部署目标
IPHONEOS_DEPLOYMENT_TARGET设置为 8.0,但支持的部署目标版本范围为 9.0 到 14.0.99
如何支持这个版本?
我正在尝试从pod规范上的存储库分支安装代码,并且基于文档,这应该工作:
s.dependency 'repository_name',
:git => 'https://github.com/account_name/repository_name.git',
:branch => 'experimental_branch'
Run Code Online (Sandbox Code Playgroud)
但是我收到了类似[!]不支持的版本要求的错误.更新CocoaPods可能会解决问题.
它直接从pod文件安装时有效:
pod 'ObjectiveRecord', :git => 'https://github.com/supermarin/ObjectiveRecord.git', :branch => '2-0-experimental'
Run Code Online (Sandbox Code Playgroud)
有人知道吗?谢谢!
我刚刚使用“pod update”命令更新了我的 pod,我使用了 Firebase pod。我添加了新的 pod,然后当我编译我的项目时,出现了几个错误,如下所示:
- Umbrella header for module 'GoogleDataTransport' does not include header 'GDTEventDataObject.h'
- Umbrella header for module 'GoogleDataTransport' does not include header 'GDTClock.h'
...
...
Run Code Online (Sandbox Code Playgroud)
我 - 使用 swift5 - Xcode 11.0 - macOS 10.15