wincent / command-t

⌨️ Fast file navigation for Neovim and Vim
BSD 2-Clause "Simplified" License
2.74k stars 317 forks source link

The i386 architecture is deprecated for macOS #360

Closed cgunnels closed 5 years ago

cgunnels commented 5 years ago

How do I fix this error? When I run rake make from ~/.vim/bundle/command-t: I get this error:

ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS)

Running High Sierra 10.13.6 and Xcode version 10.1

$ ruby --version
ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin17]

While in VIM:

:ruby puts "#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}"
2.3.7-p456

Is there an update for 64 bit architecture?

wincent commented 5 years ago

No, there's no update, and it's a warning, not an error. Working fine for me here on 10.13.6 and system Ruby (presumably the same one as you're using: ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin17]).

wincent commented 5 years ago

Will deal with this once (if) Apple actually forces us to do anything about it. The Makefile is generated by mkmf from the Ruby standard library, the Ruby that Apple itself ships, and Command-T itself isn't asking for any particular ARCH_FLAG. You could always override it if you wanted to in any case (eg. with make ARCH_FLAG='-arch x86_64').

cgunnels commented 5 years ago

Yes you're correct. It's working...I just assumed it wasn't because of the warning which I thought was an error. Sometimes I should actually read the output :S