- Use desktop Safari 7.x (for both a device and the iOS Simulator): http://moduscreate.com/enable-remote-web-inspector-in-ios-6/
- Use Adobe Edge Inspect (formerly known as Shadow), available on the free tier of Adobe Creative Cloud: http://html.adobe.com/edge/inspect/
- Use Weinre (you must self host), which Adobe Edge Inspect is based on: https://github.com/apache/cordova-weinre
- Use http://debug.phonegap.com, a hosted version of Weinre, part of Adobe PhoneGap Build's service. Don't forget to choose a guid only you know, if not other people can inspect your device!
- https://github.com/google/ios-webkit-debug-proxy/ (this is only last since I haven't used it to form an opinion. This allows you to use the Chrome Web Inspector)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From d2378b8d4d3634bcfd29df9999dcc7d5ace77673 Mon Sep 17 00:00:00 2001 | |
| From: Connor Dunn <[email protected]> | |
| Date: Fri, 30 Aug 2013 09:55:46 +0100 | |
| Subject: [PATCH] Use LLDB rather than GDB. | |
| --- | |
| ios-deploy.c | 228 ++++++++++++++++++++++++++++++++++------------------------- | |
| 1 file changed, 130 insertions(+), 98 deletions(-) | |
| diff --git a/ios-deploy.c b/ios-deploy.c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Pre-requisites: | |
| // 1. Device core plugin | |
| // 2. Splashscreen core plugin (3.1.0) | |
| // 3. config.xml: <preference name="AutoHideSplashScreen" value="false" /> | |
| // 4. config.xml: <preference name="DisallowOverscroll" value="true" /> | |
| function onDeviceReady() { | |
| if (parseFloat(window.device.version) >= 7.0) { | |
| document.body.style.marginTop = "20px"; | |
| // OR do whatever layout you need here, to expand a navigation bar etc |
-
Make sure you have run this at least once in a created project to get the cordova-ios library:
cordova platform add ios
-
Run these commands to back up and patch the existing run script:
cp -f ~/.cordova/lib/ios/cordova/3.1.0/bin/templates/scripts/cordova/run ~/.cordova/lib/ios/cordova/3.1.0/bin/templates/scripts/cordova/run.orig curl https://raw.github.com/csantanapr/cordova-ios/fb5428d01b1469a783959ac5b251cf27d340102a/bin/templates/scripts/cordova/run > ~/.cordova/lib/ios/cordova/3.1.0/bin/templates/scripts/cordova/run
Now, when you create a new project, it will contain the updated script. If you want to just replace the existing script in an already created project, just replace the platforms/ios/cordova/run file with the ~/.cordova/lib/ios/cordova/3.1.0/bin/templates/scripts/cordova/run file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| system_profiler SPUSBDataType | sed -n -e '/iPad/,/Serial/p' -e '/iPhone/,/Serial/p' | grep "Serial Number:" | awk -F ": " '{print $2}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Subject: Your WWDC Ticket Status | |
| Dear Developer, | |
| Thank you for registering for the random selection process to attend WWDC 2014. | |
| Unfortunately, you were not selected to purchase a ticket. However, you can still take advantage of great WWDC content. We'll be posting session videos, slides, and sample code throughout the week for all Registered Apple Developers. | |
| We appreciate your support. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -----BEGIN PGP SIGNED MESSAGE----- | |
| Hash: SHA1 | |
| APPLE-SA-2014-09-17-1 iOS 8 | |
| iOS 8 is now available and addresses the following: | |
| 802.1X | |
| Available for: iPhone 4s and later, | |
| iPod touch (5th generation) and later, iPad 2 and later |
I hereby claim:
- I am shazron on github.
- I am shazron (https://keybase.io/shazron) on keybase.
- I have a public key whose fingerprint is 1C9F D65D 7D92 4C08 D504 3CB0 24C3 1ABC B01A AC82
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| source `xcode-select --print-path`/usr/share/git-core/git-completion.bash | |
| source `xcode-select --print-path`/usr/share/git-core/git-prompt.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <!-- | |
| Licensed to the Apache Software Foundation (ASF) under one | |
| or more contributor license agreements. See the NOTICE file | |
| distributed with this work for additional information | |
| regarding copyright ownership. The ASF licenses this file | |
| to you under the Apache License, Version 2.0 (the | |
| "License"); you may not use this file except in compliance | |
| with the License. You may obtain a copy of the License at |