How to take iOS log through Appium? - appium-ios

I tried --show-IOS-logs command which is available in appium terminal and started the session. It started working normally but I couldn't find where the logs will be saved. Can someone explain me how to take logs for iOS using appium and how to retrieve it in detail?

you can try with -g or --log option
appium -p 4723 -g appium.log #This will create a appium log file and will save the logging there

Related

Having an Npx issue while executing npx firestore-algolia-search

I want to sync my old firestore data of a collection to algolia. I have followed the documentation provided and face issues with npx. If anyone could help me would mean a lot.
Here's the output I get if I use a PowerShell terminal
/bin/bash: C:/Program Files/nodejs/npx: No such file or directory
I receive this error when using bash in wsl even when providing the full path to npx and the script file.
Any help would mean a lot
I have tried and tested all the solutions I could find on the internet from using git bash to execute the script to using wsl to execute the bash script without any luck
Use npx firestore-algolia-search#0.5.14. Something is broken in 0.5.15.
EDIT: I created a github ticket for this issue.

unable to install firebase tools cli on macOS

I've tried to install firebase tools on my macOS several times .
I used npm , the auto install script and standalone binary, but nothing have worked .
When I write on my terminal commands like firebase login it shows me
"killed : 9"
None of the firebase commands work . Even if I tried commands like firebase help or firebase -v , the terminal always show me the same "killed : 9" message .
What can I do?
This error is typically caused by another process that has a memory leak, check the usage of your device and look for any apps that have extremely high usages and end the process. This should allow you to run a fresh command window for CLI commands.
Similar:
https://apple.stackexchange.com/questions/258623/how-to-fix-killed-9-error-in-mac-os
What is Killed:9 and how to fix in macOS Terminal?

How to install JSHint

I get this popup in VSCode: Failed to load jshint library. Please install jshint in your workspace folder using 'npm install jshint' or globally using 'npm install -g jshint' and the press Retry
Tried using Command Prompt in Win10
Can I get a literal step by step process Please.
(Please Note I am absolutely New to all of this, Currently Learning HTML/CSS & the above is popped up)
Thanks in Advance
QB
just follow the prompt given.
open Command Prompt in Win10.
and for all future work. do this.
npm install -g jshint
and
-g is for adding it globally.
For future reference - always try to copy and paste the error/prompt in Google first and you will be able to find answers yourself and will be able to find more and learn more stuff related to issues after seeing how many people get same thing in start and how they fixed it.
For future reference - BOOKMARK THIS - https://www.w3schools.com/whatis/whatis_npm.asp there's a lot for a beginner in simple words. hope this helped you.

No Bundle URL Present

I am running 5.1.0 of react-native-firebase-starter (https://github.com/invertase/react-native-firebase-starter/blob/master/package.json)
I have triple checked that I have followed the Getting Started instructions (from the readme) exactly. However, when I run the project I get "No Bundle URL Present".
I have searched for this error elsewhere and seen rm -rf ios/build/; kill $(lsof -t -i:8081); as the answer. I've tried this, and variations, several times but I cannot get the project to run.
I fixed it by adding 127.0.0.1 localhost to my /etc/hosts file
This worked for me:
Open a terminal window
cd into YOUR_PROJECT/ios
Remove the build folder with rm -r build
Run react-native run-ios again
I know its an old question but in Future if someone face this issue i have found a work around to this problem.
after running "react-native run-ios" command
Run another command "npm start"
after running above command you will "Loading dependency graph" wait
for 2 or three seconds and you will see thisLoading dependency
graph, done.
now press cmd+R OR you may tap on reload on screen if problem not
solved do step 4, 2 to 3 times

How to make devstack persist changes after reboot of system in ubuntu 16.10?

I created a debian image which is of QCOW2 type and launched a instance using the same image.
instance was successfully running and image creation was succesful too.
I want to persist this and all other changes i will make into devstack even after host reboot.
I tried running:
screen -c stack-screenrc
but running that script shows the following results....
enter image description here
I referred following link
https://ask.openstack.org/en/question/5423/rebooting-with-devstack/
but rejoin-stack.sh script doesn't exists in my devstack.
any alternative suggestions?
You only have to write the next:
script /dev/null
screen -c stack-screenrc

Resources