-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run pod install on an M1 Mac #62
Comments
@kevinchau did you manage to resolve this issue? It's been 5 months and this issue is still present. I tried running terminal under Rosetta but it didn't help. |
I’m able to get it to run with ‘arch -x86_64’, but running with Rosetta and native do not work.
…On Jun 1, 2021, 3:02 AM -0700, Michał Cichecki ***@***.***>, wrote:
@kevinchau did you manage to resolve this issue? It's been 5 months and this issue is still present. I tried running terminal under Rosetta but it didn't help.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@kevinchau so you just open the Terminal not running Rosetta (arm64 arch) and run |
Yes. What errors are you getting?
…On Jun 1, 2021, 6:07 AM -0700, Michał Cichecki ***@***.***>, wrote:
@kevinchau so you just open the Terminal not running Rosetta (arm64 arch) and run arch -x86_64 pod install with plugin 'cocoapods-acknowledgments' in your Podfile and it works? I tried this setting as well but error still persists.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Of course I've already installed the |
I don’t remember what I did exactly, but there was a lot of uninstalling cocoa pods and reinstalling, with combinations of using the arch flag and running native.
…On Jun 1, 2021, 6:12 AM -0700, Michał Cichecki ***@***.***>, wrote:
Error loading the plugin and info about the wrong architecture for redcarpet. Full log:
~/dev/iOS/other/acknowledgments-test ❯ arch -x86_64 pod install 15:02:47
---------------------------------------------
Error loading the plugin `cocoapods-acknowledgements-1.3.0`.
LoadError - dlopen(/Users/test/.gems/gems/redcarpet-3.5.1/lib/redcarpet.bundle, 9): no suitable image found. Did find:
/Users/test/.gems/gems/redcarpet-3.5.1/lib/redcarpet.bundle: mach-o, but wrong architecture
/Users/test/.gems/gems/redcarpet-3.5.1/lib/redcarpet.bundle: mach-o, but wrong architecture - /Users/test/.gems/gems/redcarpet-3.5.1/lib/redcarpet.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'
/Users/test/.gems/gems/redcarpet-3.5.1/lib/redcarpet.rb:1: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'
/Users/test/.gems/gems/cocoapods-acknowledgements-1.3.0/lib/cocoapods_acknowledgements/plist_generator.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'
/Users/test/.gems/gems/cocoapods-acknowledgements-1.3.0/lib/cocoapods_acknowledgements.rb:2:in `<module:CocoaPodsAcknowledgements>'
/Users/test/.gems/gems/cocoapods-acknowledgements-1.3.0/lib/cocoapods_acknowledgements.rb:1: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'
/Users/test/.gems/gems/cocoapods-acknowledgements-1.3.0/lib/cocoapods_plugin.rb:1: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'
/Users/test/.gem/ruby/2.6.0/gems/claide-1.0.3/lib/claide/command/plugin_manager.rb:94:in `block in safe_activate_and_require'
/Users/test/.gem/ruby/2.6.0/gems/claide-1.0.3/lib/claide/command/plugin_manager.rb:94:in `each'
/Users/test/.gem/ruby/2.6.0/gems/claide-1.0.3/lib/claide/command/plugin_manager.rb:94:in `safe_activate_and_require'
/Users/test/.gem/ruby/2.6.0/gems/claide-1.0.3/lib/claide/command/plugin_manager.rb:31:in `block in load_plugins'
/Users/test/.gem/ruby/2.6.0/gems/claide-1.0.3/lib/claide/command/plugin_manager.rb:30:in `map'
/Users/test/.gem/ruby/2.6.0/gems/claide-1.0.3/lib/claide/command/plugin_manager.rb:30:in `load_plugins'
/Users/test/.gem/ruby/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:326:in `block in run'
/Users/test/.gem/ruby/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:325:in `each'
/Users/test/.gem/ruby/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:325: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>'
---------------------------------------------
[!] Your Podfile requires that the plugin `cocoapods-acknowledgments` be installed. Please install it and try installation again.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I'm getting the same error as @mcichecki |
I was able to solve this issue using below solution Solution: hope it helps someone. |
I was able to work around the whole problem by removing dependency to |
have tried various permutations of running rosetta terminal and with the
arch-x86_64
flag.Always comes down to this:
The text was updated successfully, but these errors were encountered: