ios-webkit-debug-proxy blank devtools - ios

I'm using ios-webkit-debug-proxy on Linux to try and debug an iOS Safari host using chrome.
The debug proxy runs and gives
Listing devices on :9221
Connected :9222 to Will's iPhone (8a48ac86edd4f299xxxxxxxxxxxxxxx)
The page localhost:9222
Opening the devtools though gives a whole lot of blank. Clicking on lots of things yields little.
Can someone with experience with these things give me a nudge? Cheers

What Chrome version are you using? This might happen as this feature is broken since chrome 38. Try downloading Chromium 37 to solve the issue.
Checkout this Bug Report for details:
https://github.com/google/ios-webkit-debug-proxy/issues/78
Old binaries can be obtained from here:
http://sourceforge.net/projects/osxportableapps/files/Chromium/

I followed this procedure from Ryan Ewen:
Comprehensive instructions for Windows:
Get files from https://github.com/fishbone1/remotedebug-ios-webkit-adapter
Install iTunes (https://www.microsoft.com/en-us/p/itunes/9pb2mz1zmb1s)
Install scoop (https://scoop.sh)
scoop install nodejs nvm
scoop bucket add extras
scoop install ios-webkit-debug-proxy
nvm install 11.15.0 (version 12 doesn't work for the final couple of steps)
nvm use 11.15.0 (might have to reopen PowerShell after this, it'll tell you)
npm install -g vs-libimobile cd to your download of remotedebug-ios-webkit-adapter
npm install
npm start
Continue onto Step 3 from the readme

make sure you installed latest ios_webkit_debug_proxy:
brew install ios-webkit-debug-proxy
and then launch ios_webkit_debug_proxyusing command:
ios_webkit_debug_proxy -f chrome-devtools://devtools/bundled/inspector.html
BTW you must use developer's certificate to build the app!

Install the adapter with :
npm install remotedebug-ios-webkit-adapter -g
Then, run remotedebug_ios_webkit_adapter --port=9000

Related

Error: yq#3 has been disabled because it is not maintained upstream! How to install a disabled brew Formulae?

I'm trying to install yq#3 on my Mac running brew install yq#3 and I get the error:
Error: yq#3 has been disabled because it is not maintained upstream!
I see that it's there on their website at https://formulae.brew.sh/formula/yq#3#default but it doesn't seem to be supported anymore.
I still need to install it since our projects at work are using this specific version.
The only way that I'm thinking about is downloading the source code, building it myself, and adding it to the path but I'm thinking that there might be a simpler solution.
Any suggestion?
Thanks!
From yq github, you can install a binary by running:
wget https://github.com/mikefarah/yq/releases/download/3.4.1/yq_darwin_amd64 -O /usr/local/bin/yq &&\
chmod +x /usr/local/bin/yq
3.4.1 is the latest 3 version, darwin_amd64 is the Mac package (don't worry about having an Intel machine and installing the package that says AMD, the name comes from something about AMD invented the 64-bit instruction set).

Is there anyone who help me to build iOS linphone on Yosemite 10.10.2?

I download the linphone SDK, installed MacPorts and then when writing following command in terminal, i got 'Xcode not installed properly....' and then I follow their rules to install left XCode's software, that are also done on my terminal screen.
sudo port install automake autoconf libtool pkgconfig intltool wget cunit \
antlr3 speex readline sqlite3 openldap libupnp \
ffmpeg-devel -gpl2
But here problem persists...
Please help me to get out from this problem.
Thanks in advance
Actually there's few Steps of compiling the Linphone SDK.
Install dependencies
Install Antlr 3
Install gas-preprosessor.pl
Symlink libtoolize to glibtoolize
Link host strings to simulator SDK
Link /opt/local/bin to /usr/local/bin
Then Build
git clone git://git.linphone.org/linphone-iphone.git --recursive
Set the SDK version
./prepare.py && make(The link below use "make" instead which is deprecated)
Detailed steps as:Building linphone SDK using Homebrew
I currently have to do the same thing and you don't have to get through this steps.....been there done that...
Instead you can download instead this the SDK by searching this on google liblinphone-iphone-sdk-2.2.5.zip
And, of course check the latest news from Linphone, to be updated.
Best Approach would be to clone and start this:
https://github.com/BelledonneCommunications/linphone-iphone
And very important use a Xcode 6 version. Xcode 7 gives you some errors as they introduced some new features and depracated old stuff.
If you don't know how to use git, please pause what you are doing and dedicate some time to do it because will have to do it multiple time during your career.
Hope this helps! Good luck

Cordova throws syntax error when trying to add platform

I'm trying to install Cordova and Ionic Framework on a Ubuntu server. I already used Node.js on it, so simply ran:
sudo npm install -g cordova
Then I cloned a sample project from GitHub
sudo git clone https://github.com/driftyco/ionic-weather.git
I entered the directory and tried to add the iOS platform library in order to build it:
cd ionic-weather
sudo cordova platform add ios
However it throws the following error:
Creating ios project...
/home/benedict/.cordova/lib/ios/cordova/3.4.0/bin/create: 33: /home/benedict/.cordova/lib/ios/cordova/3.4.0/bin/create: Syntax error: "(" unexpected
Error: /home/benedict/.cordova/lib/ios/cordova/3.4.0/bin/create: Command failed with exit code 2
at ChildProcess.whenDone (/usr/lib/node_modules/cordova/src/superspawn.js:112:23)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Process.ChildProcess._handle.onexit (child_process.js:810:5)
I've tried reinstalling Cordova in case something got corrupted, but no luck. I can't seem to find anyone else with this issue either so I'm kinda stuck. Any ideas?
This turned out to be a combination of several problems:
Ant is a required dependency, although it's not documented as a dependency as far as I can tell from any of the install guides the ionic guide or cordova guide point to. In fact I found this out by digging around SO and a few other dark corners of the internet
JDK must also be installed. (not just JRE)
2 folders have to be added to the path (for Android anyways).
Ant
This can be installed via sudo apt-get install ant.
jdk
sudo update-alternatives --config java
first, you can find out if you have jdk by running `sudo update-alternatives --get-selections | grep ^java
if you already have the jdk, you can update your jre to the jdk version using sudo update-alternatives --config java
if not, then install jdk (not just the jre), using sudo apt-get install openjdk-7-jdk
Path setting in ~/.bashrc
$ cd ~
$ sudo vi .bashrc
at the bottom, before the PATH= add the path to the bundle folders for both platform-tools folder and the tools folder under the sdk folder. Several of the guides only mention the platform-tools folder.
The guide specifically mentions ios can't be installed on Windows, but strangely leaves out Linux. This may be an oversight, but I can't be sure. There was some indication in the ionic guides that ios emulation could be done on linux, even though actual development could only be done on OSx.
the ios platform requires xcode 4.5 with cordova, which needs OSx 10.7 you basically can't add the ios platform tools on Windows or Linux. Unfortunately cordova and ionic both seem to forget Linux exists, and therefore the docs imply this will run on Linux when they note inoperability on Windows but say nothing about Linux.
Your problem is that your trying to build the app on a machine that doesnt have Mac OS installed. In order to add IOS platform you need to run this command on a mac.
Check the Prerequisites here:
http://docs.phonegap.com/en/3.0.0/guide_cli_index.md.html

Cucumber and Watir suddenly stopped working

I have been using Cucumber all day and even though I did not change any files, it just stopped working.
It gives me an error that reads:
Unable to either launch or connect to Chrome. Please check that ChromeDriver is up-to-date. Using Chrome binary at: /Applications/Google Chrome.app/Contents/MacOS/Google Chrome (Selenium::WebDriver::Error::UnknownError)
Any idea, what is going on?
Here is a simple step-by-step that should get everything working again on OS X:
Download the latest prebuilt chromedriver server for OS X here: http://code.google.com/p/chromedriver/downloads/list
Move the chromedriver executable to your PATH. If you saved (and unzipped) chromedriver to your Downloads folder in step 1, try this (subbing your username for <your_username>:
sudo cp /Users/<your_username>/Downloads/chromedriver /usr/bin
Profit!
/usr/bin should definitely work as your PATH, but you can double check all available PATHs by typing $PATH into Terminal.app and hitting enter.
Today Selenium stopped working for me in Mac Os. I am using python and I am getting:
"Unable to either launch or connect to Chrome. Please check that ChromeDriver is up-to-date. Using Chrome binary at: /Applications/Google Chrome.app/Contents/MacOS/Google Chrome'" error.
Solution: Please update your driver file.
My guess is that Chrome updated silently in the background. Make sure you have the latest selenium-webdriver gem and chromedriver.
Ċ½eljko Filipin is right, I fixed this issue by downloading the new binary. Apparently there was a silent update for chrome.
Replace the binary:
http://code.google.com/p/chromedriver/downloads/list
For all who installed using homebrew: it seems that there isn't the latest version available.
Download the zip file from http://code.google.com/p/chromedriver/downloads/list, unzip, and do sudo mv chromedriver /usr/local/Cellar/chromedriver/20.0.1133.0/bin to replace the current with the latest version (the version in the path won't reflect the actual chromedriver's version this way, but hey, it's working again until homebrew updates its recipe for chromedriver).
Homebrew now has the latest chromedriver, so if you're using homebrew, all you need to do is
$ brew unlink chromedriver
$ brew install chromedriver
Try doing a Update brew
brew update
brew upgrade
and you should be good

Terminal hangs when installing rb-rmagick

I'm trying to install rb-rmagick and running into some trouble. The installation stops at "Building rb-rmagick". I know it takes a while, so I let it run overnight, but still don't see any progress. I'm running it on a brand new MacBook Pro so speed/memory shouldn't be an issue.
From http://rb-rmagick.darwinports.com/, the instruction says to do cd /opt/local/bin/portslocation/dports/rb-rmagick before you run sudo port install rb-rmagick, but I don't have the portslocation directory in my bin.
I've installed macPort.
I found out there's actually an error after doing sudo port -v install rb-rmagick. A font file was missing. There are a couple of ways to solve this. trac.macports.org/ticket/19602 has some explanation.

Resources