Trying to install appium-xcuitest-driver
I am getting the following error:
stderr: xcode-select: error: tool 'xcodebuild' requires Xcode, but
active developer directory '/Library/Developer/CommandLineTools'
is a command line tools instance
I have xcode installed and up and running and every solution that I am coming across says to install Xcode, so I am not sure about what to do.
Simply run sudo xcode-select -r which should automatically reset the path.
then run the following command npm install -g ios-deploy
Related
I had a hard time installing farm-haystack with FAISS on Mac. So, I decided to document the solution here for others.
When trying to install pip install 'farm-haystack[docstores,faiss]' it failed with the following error
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
The solution was to run xcode-select --install and re-install haystack and it solved the problem.
Then when importing the haystack and running the program I got the following error -Error #15: Initializing libiomp5.dylib, but found libiomp5.dylib already initialized
To solve this, I needed to tell Conda to not use MKL conda install nomkl. But installing nomkl after installing farm-haystack doesn't solve the problem. I need to start with a new environment.
To summarize, here are the steps.
xcode-select --install
Create new conda environment
conda install nomkl
pip install 'farm-haystack[docstores,faiss]'
In my swift application we are aws amplify so I need install in my system.
After installing node modules,I installed typescript after that I installed amplify using following command (sudo npm install -g #aws-amplify/cli --unsafe-perm=true) and its was success but when give amplify -v it throws command not found error.
Note - In bin folder I can see npm,tsc but I cant see amplify.
If I run the application I am getting the following error.
warning: AmplifyTools has been deprecated. More info: https://github.com/aws-amplify/amplify-ios/blob/main/AmplifyTools/README.md
(not in PATH env variable)
npm WARN exec The following package was not found and will be installed: amplify-app
error: Minimum version required of Amplify CLI is not installed.
Min required version: (4.22.0)
Found Version: ([0m5.0.0[0m)
To install the latest version, please run the following command:
npm install -g #aws-amplify/cli#latest
I don't know what went wrong, everything was working fine until terminal showed me Popup and my default terminal which used to open with nileshjha#Nileshs-MacBook-Air $ changed to nileshjha#Nileshs-MacBook-Air ~ % .. And after that pod stopped working. I tried all ways to change it back to previous . But didn't succeed.
Now when i am doing pod init , I am getting this error.
zsh: /usr/local/bin/pod: bad interpreter: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: no such file or directory
Can you please help me out of this.
I have MacOS Catalina, and am trying to update cocoa pods.
I received an error when I tried running pod update
Here is the error message:
-bash: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: bad interpreter: No such file or directory
Next, I ran sudo gem install cocoapods
That was all that was needed. pod update worked fine after that
The same initial issue occurred when attempting to setup GoogleMaps in a Flutter app after running pod install on the iOS directory.
Running pod install the following error appeared:
zsh: /usr/local/bin/pod: bad interpreter: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: no such file or directory
Next, after running sudo gem install cocoapods, that resulted in another error:
ERROR: Error installing cocoapods:
ERROR: Failed to build gem native extension.
kevin recommends installing Xcode Developer Tools running:
xcode-select --install
and while highlighting the need to install the tools, the system again produced the same error as before when running the pod install command.
Refresing the tools by removing and reinstalling them became the next target. The tools are removed with the following command:
rm -rf /Library/Developer/CommandLineTools
And again installing the xcode developer tools using:
xcode-select --install
Then, sudo gem install cocoapods and pod install ran successfully.
I have tried to run a project
So, I download a files and run a build instructions.
When I run a
bundle exec pod install
is showing error. I can't able to understand. Please help me.
After that I have run below commands
brew update
brew install cmake
Now error was showing like
I found a solution for this question and now workspace was created.
Before I run this command bundle exec have to run Xcode-select
Like
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
bundle exec pod install
I tried to use the following command:
curl -R -O http://www.lua.org/ftp/lua-5.2.0.tar.gz
tar zxf lua-5.2.0.tar.gz
cd lua-5.2.0
make macosx test install
(But with 5.2.1 obviously)
But it says it doesn't know the command make.
You need to install XCode in order to have the make command.
Then go to: Preferences and then Downloads and install a component named "Command Line Tools".
Finally run Install Xcode.app from your Applications folder.