pod安装失败,找不到动态库

nnsrf1az  于 2021-09-29  发布在  Java
关注(0)|答案(0)|浏览(201)

我的播客文件是这个。


# Uncomment the next line to define a global platform for your project

platform :ios, '13.0'

target 'Task Tracker' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  # Pods for Task Tracker
  pod 'RealmSwift', '~> 10'
end

我想跑 pod install 这给了我错误 LoadError - dlopen(/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.3/lib/ffi_c.bundle, 0x0009): dependent dylib '@rpath/libffi.7.dylib' not found for '/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.3/lib/ffi_c.bundle' - /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.3/lib/ffi_c.bundle 我试过的

gem install ffi
arch -x86_64 pod install

还是一样的错误。我错过了什么?

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题