公司网站建设的视频,网站做可信认证多少钱,技术馆网站建设,为什么自己做的网站老是404错误当我们修改了一个Pod Library中的代码时#xff0c;如何让依赖该库的项目能更新到最新代码#xff0c;步骤如下#xff1a; 假设现在修改了SamplePod#xff08;Pod名称#xff09;的代码#xff0c;希望将最新版本更新到1.0.1#xff0c;目前版本是1.0.0
修改SamplePo…当我们修改了一个Pod Library中的代码时如何让依赖该库的项目能更新到最新代码步骤如下 假设现在修改了SamplePodPod名称的代码希望将最新版本更新到1.0.1目前版本是1.0.0
修改SamplePod.podspec文件将version由1.0.0修改为1.0.1将源码修改和podspec文件修改一并提交到git仓库中push到远端仓库增加tagtag名称需要和podspec文件中的version名称一致push tag到远端仓库发布最新版本 pod trunk push SamplePod.podspec --allow-warnings
可能碰到的问题 m1 m2版本mac在arm版本的Terminal终端碰到如下问题 LoadError - dlopen(/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/lib/ffi_c.bundle, 0x0009): tried: /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/lib/ffi_c.bundle (mach-o file, but is an incompatible architecture (have x86_64, need arm64)) 解决方案使用rosetta模式来运行Terminal即可。 [!] You need to run pod trunk register to register a session first. 说明在Pod仓库源本机未注册执行pod trunk register按照要求注册即可。 [!] The spec did not pass validation, due to 3 warnings (but you can use –allow-warnings to ignore them). 表示podspec文件lint检查未通过直接按照说明添加--allow-warnings即可。