简体   繁体   English

安装 pod 'CLTypingLabel' 时出错。 我不知道如何解决它。 我已经尝试了很多次。 请有人帮助我

[英]An error occured while installing pod 'CLTypingLabel'. I don't know how to fix it. I have tried many time. Please someone help me

――― MARKDOWN TEMPLATE ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ―――― MARKDOWN 模板 ――――――――――――――――――――――――――――――――――――――――――― ――――――――――――――

Command命令

/usr/local/bin/pod install

Report报告

  • What did you do?你做了什么?

  • What did you expect to happen?你期望会发生什么?

  • What happened instead?反而发生了什么?

Stack

   CocoaPods : 1.10.1
        Ruby : ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.arm64e-darwin20]
    RubyGems : 3.0.3
        Host : macOS 11.2.1 (20D74)
       Xcode : 12.4 (12D4e)
         Git : git version 2.24.3 (Apple Git-128)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
Repositories : 

Plugins插件

cocoapods-deintegrate : 1.0.4
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-trunk       : 1.5.0
cocoapods-try         : 1.2.0

Podfile播客文件

# Uncomment the next line to define a global platform for your project
 platform :ios, '9.0'

target 'Flash Chat iOS13' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  # Pods for Flash Chat iOS13
  pod 'CLTypingLabel'

end

Error错误

LoadError - dlopen(/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/lib/ffi_c.bundle, 0x0009): missing compatible arch in /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/lib/ffi_c.bundle - /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/lib/ffi_c.bundle
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/lib/ffi.rb:6:in `rescue in <top (required)>'
/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/lib/ffi.rb:3:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/Library/Ruby/Gems/2.6.0/gems/ethon-0.12.0/lib/ethon.rb:2:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/Library/Ruby/Gems/2.6.0/gems/typhoeus-1.4.0/lib/typhoeus.rb:2:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/sources_manager.rb:74:in `cdn_url?'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/sources_manager.rb:36:in `create_source_with_url'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/sources_manager.rb:21:in `find_or_create_source_with_url'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:178:in `block in sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:177:in `map'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:177:in `sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:1073:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:1072:in `resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:124:in `analyze'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:414:in `analyze'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:239:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:238:in `resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:160:in `install!'
/Library/Ruby/Gems/2.6.0/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'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'

――― TEMPLATE END ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ―――模板结束 ――――――――――――――――――――――――――――――――――――――――――― ――――――――――――――――――――

[,] Oh no. [,] 不好了。 an error occurred.发生错误。

Search for existing GitHub issues similar to yours: https://github.com/CocoaPods/CocoaPods/search?q=dlopen%28%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fffi-1.15.0%2Flib%2Fffi_c.bundle%2C+0x0009%29%3A+missing+compatible+arch+in+%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fffi-1.15.0%2Flib%2Fffi_c.bundle+-+%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fffi-1.15.0%2Flib%2Fffi_c.bundle&type=Issues搜索与您类似的现有 GitHub 问题: https://github.com/CocoaPods/CocoaPods/search?q=dlopen%28%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2F%ffi.15.ffi0%2F%ffi.5 .bundle%2C+0x0009%29%3A+missing+compatible+arch+in+%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fffi-1.15.0%2Flib%2Fffi_c.bundle+-+%2FLibrary%2FRuby%2FGems %2F2.6.0%2Fgems%2Fffi-1.15.0%2Flib%2Fffi_c.bundle&type=问题

If none exists, create a ticket, with the template displayed above, on: https://github.com/CocoaPods/CocoaPods/issues/new如果不存在,请使用上面显示的模板创建票证,在: https://github.com/CocoaPods/CocoaPods/issues/new

Be sure to first read the contributing guide for details on how to properly submit a ticket: https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md请务必先阅读贡献指南,了解如何正确提交工单的详细信息: https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md

Don't forget to anonymize any private data!不要忘记匿名任何私人数据!

Looking for related issues on cocoapods/cocoapods... Found no similar issues.在 cocoapods/cocoapods 上寻找相关问题... 没有发现类似问题。 To create a new issue, please visit: https://github.com/cocoapods/cocoapods/issues/new arunodhaiv@Arunodhais-MacBook-Air Flash-Chat-iOS13 %要创建新问题,请访问: https://github.com/cocoapods/cocoapods/issues/new arunodhaiv@Arunodhais-MacBook-Air Flash-Chat-iOS13 %

I had the same problem.我有同样的问题。 It might something to do with my M1 MacBook.这可能与我的 M1 MacBook 有关。 So I use this solution, and problem solved.所以我使用这个解决方案,问题解决了。

Running Cocoapods on Apple Silicon (M1) 在 Apple Silicon (M1) 上运行 Cocoapods

Install this first,先安装这个,

sudo gem install ffi须藤宝石安装 ffi

Then repeat the pod init and install.然后重复 pod init 并安装。

I had the same issue in my previous MacBook M1 which has an ARM processor so we have to specify in the XCode.我以前的 MacBook M1 也有同样的问题,它有一个 ARM 处理器,所以我们必须在 XCode 中指定。

Select the project > Select the Target > Build Settings > Excluded Architecture > Add arm64 in the list. Select 项目 > Select 目标 > 构建设置 > 排除架构 > 在列表中添加arm64

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Xcode中的致命错误-我知道原因,但不知道如何解决 - Fatal error in Xcode - I know the cause but don't know how to fix it 如果在使用cocoapods时必须修理某些东西,如何更换吊舱 - How to change the pod if I have to fix something while using cocoapods 我需要日期/时间标签中没有日期。 有人知道IOS如何吗? - I need my date/time label to not have the date in it. Anyone know how for IOS? 有人可以帮我解决这个错误吗 - can someone help me to fix this error 有人可以帮我修复这个 Xcode 的 UICollection 吗? - Can someone please help me fix this Xcode for a UICollection? 我在下面的AdMob代码中收到Mach-O链接器错误。 有人可以通过简单的iPhone Admob帮助我吗? - I am getting a Mach-O linker error in the below AdMob Code. Can someone please help me with simple Admob for iPhone? 我必须在哪里声明 MPMoviePlayer 的通知功能。 请帮我 - Where i have to declare the notification functions of MPMoviePlayer . Please help me 有人可以帮我解决这个警告:冗余一致性约束 &#39;T&#39;:&#39;ReusableView&#39;? 我到处搜索,但没有发现任何帮助 - Can someone help me to fix this warning: Redundant conformance constraint 'T': 'ReusableView'? I search everywhere and I found nothing helpful 我不了解并且不知道如何解决的ImagePicker IOS错误 - ImagePicker IOS errors i don't understand and don't know how to fix 我用 forEach 创建了一个 Circle,但我不知道如何检查其中的数据。 /SwiftUI - I created a Circle with forEach but I don't know the way to check the data in it. /SwiftUi
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM