Skip to content

Error installing appium_lib #78

@thuquynhpham

Description

@thuquynhpham

I have a trouble install appium_lib: gem install -n /usr/local/bin appium_lib

it returns errors:

Building native extensions. This could take a while...
ERROR:  Error installing appium_lib:
	ERROR: Failed to build gem native extension.

    current directory: /Library/Ruby/Gems/2.6.0/gems/websocket-driver-0.7.3/ext/websocket-driver
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby -I /Library/Ruby/Site/2.6.0 -r ./siteconf20210204-29857-kx6gbj.rb extconf.rb
creating Makefile

current directory: /Library/Ruby/Gems/2.6.0/gems/websocket-driver-0.7.3/ext/websocket-driver
make DESTDIR\= clean

current directory: /Library/Ruby/Gems/2.6.0/gems/websocket-driver-0.7.3/ext/websocket-driver
make DESTDIR\=
make: *** No rule to make target `/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/universal-darwin19/ruby/config.h', needed by `websocket_mask.o'.  Stop.

make failed, exit code 2

Gem files will remain installed in /Library/Ruby/Gems/2.6.0/gems/websocket-driver-0.7.3 for inspection.
Results logged to /Library/Ruby/Gems/2.6.0/extensions/universal-darwin-19/2.6.0/websocket-driver-0.7.3/gem_make.out

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions