ChartsOrg / Charts

Beautiful charts for iOS/tvOS/OSX! The Apple side of the crossplatform MPAndroidChart.
Apache License 2.0
27.51k stars 5.99k forks source link

pod install on terminal fails on mac #4701

Closed Stay-in-Touch closed 2 years ago

Stay-in-Touch commented 3 years ago

What did you do?

I tried to make a cocoa pod to replace the charts folder in my app

What did you expect to happen?

Pod should install and app should run like cream on peaches as before .

What happened instead?

the terminal command pod install crashed after a lot of installing action

Charts Environment

Charts version/Branch/Commit Number:v4.0.1 Release Xcode version: 12.5 Swift version:5 Platform(s) running Charts:mac mini macOS version running Xcode:Big Sur 11.3

Demo Project

ℹ Please link to or upload a project we can download that reproduces the issue. johnbrohan@johns-mac-mini TeleSonoUroflow % sudo gem install cocoapods Password: Fetching cocoapods-core-1.10.2.gem Fetching cocoapods-1.10.2.gem Successfully installed cocoapods-core-1.10.2 Successfully installed cocoapods-1.10.2 Parsing documentation for cocoapods-core-1.10.2 Installing ri documentation for cocoapods-core-1.10.2 Parsing documentation for cocoapods-1.10.2 Installing ri documentation for cocoapods-1.10.2 Done installing documentation for cocoapods-core, cocoapods after 1 seconds 2 gems installed johnbrohan@johns-mac-mini TeleSonoUroflow % pod install Analyzing dependencies /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.1/lib/ffi/library.rb:275: [BUG] Bus Error at 0x0000000100ab4000 ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.arm64e-darwin20]

-- Crash Report log information -------------------------------------------- See Crash Report log file under the one of following:

-- Control frame information ----------------------------------------------- c:0035 p:---- s:0231 e:000230 CFUNC :attach c:0034 p:0258 s:0225 e:000224 METHOD /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.1/lib/ffi/library.rb:275 c:0033 p:0050 s:0205 e:000204 CLASS /Library/Ruby/Gems/2.6.0/gems/ethon-0.14.0/lib/ethon/libc.rb:17 c:0032 p:0007 s:0202 e:000201 CLASS /Library/Ruby/Gems/2.6.0/gems/ethon-0.14.0/lib/ethon/libc.rb:7 c:0031 p:0007 s:0199 e:000198 TOP /Library/Ruby/Gems/2.6.0/gems/ethon-0.14.0/lib/ethon/libc.rb:2 [FINISH] c:0030 p:---- s:0196 e:000195 CFUNC :require c:0029 p:0110 s:0191 e:000190 METHOD /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54 c:0028 p:0042 s:0179 e:000178 TOP /Library/Ruby/Gems/2.6.0/gems/ethon-0.14.0/lib/ethon.rb:15 [FINISH] c:0027 p:---- s:0176 e:000175 CFUNC :require c:0026 p:0110 s:0171 e:000170 METHOD /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54 c:0025 p:0013 s:0159 e:000158 TOP /Library/Ruby/Gems/2.6.0/gems/typhoeus-1.4.0/lib/typhoeus.rb:2 [FINISH] c:0024 p:---- s:0156 e:000155 CFUNC :require c:0023 p:0110 s:0151 e:000150 METHOD /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54 c:0022 p:0015 s:0139 e:000138 METHOD /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/sources_manager.rb:74 c:0021 p:0014 s:0131 e:000130 METHOD /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/sources_manager.rb:36 c:0020 p:0016 s:0120 e:000119 METHOD /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/sources_manager.rb:21 c:0019 p:0010 s:0115 e:000114 BLOCK /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer/analyzer.rb:178 [FINISH] c:0018 p:---- s:0111 e:000110 CFUNC :map c:0017 p:0136 s:0107 e:000106 METHOD /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer/analyzer.rb:177 c:0016 p:0024 s:0098 e:000093 BLOCK /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer/analyzer.rb:1073 c:0015 p:0081 s:0090 e:000089 METHOD /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/user_interface.rb:64 c:0014 p:0078 s:0083 e:000082 METHOD /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer/analyzer.rb:1072 c:0013 p:0161 s:0076 e:000075 METHOD /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer/analyzer.rb:124 c:0012 p:0011 s:0061 e:000060 METHOD /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer.rb:414 c:0011 p:0007 s:0056 e:000055 BLOCK /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer.rb:239 c:0010 p:0081 s:0053 e:000052 METHOD /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/user_interface.rb:64 c:0009 p:0048 s:0046 e:000045 METHOD /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer.rb:238 c:0008 p:0009 s:0040 e:000039 METHOD /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer.rb:160 c:0007 p:0054 s:0036 e:000035 METHOD /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/command/install.rb:52 c:0006 p:0078 s:0031 e:000030 METHOD /Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334 c:0005 p:0024 s:0024 e:000023 METHOD /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/command.rb:52 c:0004 p:0378 s:0019 e:000018 TOP /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/bin/pod:55 [FINISH] c:0003 p:---- s:0013 e:000012 CFUNC :load c:0002 p:0109 s:0008 E:001990 EVAL /usr/local/bin/pod:23 [FINISH] c:0001 p:0000 s:0003 E:001a80 (none) [FINISH]

-- Ruby level backtrace information ---------------------------------------- /usr/local/bin/pod:23:in <main>' /usr/local/bin/pod:23:inload' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/bin/pod:55:in <top (required)>' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/command.rb:52:inrun' /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.2/lib/cocoapods/command/install.rb:52:inrun' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer.rb:160:in install!' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer.rb:238:inresolve_dependencies' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/user_interface.rb:64:in section' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer.rb:239:inblock in resolve_dependencies' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer.rb:414:in analyze' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer/analyzer.rb:124:inanalyze' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer/analyzer.rb:1072:in resolve_dependencies' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/user_interface.rb:64:insection' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer/analyzer.rb:1073:in block in resolve_dependencies' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer/analyzer.rb:177:insources' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer/analyzer.rb:177:in map' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer/analyzer.rb:178:inblock in sources' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/sources_manager.rb:21:in find_or_create_source_with_url' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/sources_manager.rb:36:increate_source_with_url' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/sources_manager.rb:74:in cdn_url?' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:inrequire' /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:inrequire' /Library/Ruby/Gems/2.6.0/gems/ethon-0.14.0/lib/ethon.rb:15:in <top (required)>' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:inrequire' /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.14.0/lib/ethon/libc.rb:2:in<top (required)>' /Library/Ruby/Gems/2.6.0/gems/ethon-0.14.0/lib/ethon/libc.rb:7:in <module:Ethon>' /Library/Ruby/Gems/2.6.0/gems/ethon-0.14.0/lib/ethon/libc.rb:17:in' /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.1/lib/ffi/library.rb:275:in attach_function' /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.1/lib/ffi/library.rb:275:inattach'

-- Other runtime information -----------------------------------------------

[NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: https://www.ruby-lang.org/bugreport.html

[IMPORTANT] Don't forget to include the Crash Report log file under DiagnosticReports directory in bug reports.

zsh: abort pod install johnbrohan@johns-mac-mini TeleSonoUroflow % https://www.ruby-lang.org/bugreport.htmlhttps://www.ruby-lang.org/bugreport.htmlhttps://www.ruby-lang.org/bugreport.htmlhttps://www.ruby-lang.org/bugreport.htmlhttps://www.ruby-lang.org/bugreport.htmlhttps://www.ruby-lang.org/bugreport.html

pmairoldi commented 2 years ago

This seems to be unrelated to our library if you are still having issues please contact cocoapods.