I have many iOS devices and someone showed me their Developer entry in Settings -> General.
None of my devices have this...
How do I enable it? Does the device have to be added to the portal through the IDE of my machine? I can't find a way to get the menu to show up.
Connect your device to your mac via USB, open Xcode → Organizer and select Use for Development.
They removed it with iOS 6 I think. You have to now go into Mobile Safari Settings and under advanced enable web inspector.
Related
Yesterday i updated my iphone5s to ios9.1 with help of ipsw file. Now I am not able to see Developer option in Setting menu. I want to check my application in Low Connectivity situation.
Please suggest.
Its very easy now,
You need to attach your iOS Device with Mac and select trust option in device.
Then open Xcode and select attached iOS Device . You will automatically get Developer options under Settings App.
I am using current Xcode 7.3
Download Hardware IO Tools for Xcode from here.
And there's Network Link Conditioner app, which can help to simulate low connectivity, so you can test your app in Simulator.
I have read these article
http://moduscreate.com/enable-remote-web-inspector-in-ios-6/
http://developer.telerik.com/featured/a-concise-guide-to-remote-debugging-on-ios-android-and-windows-phone/
but i cant to able to see my app under
Develop-->Device name-->myApp.
But i could able to debug blank safari browser.Could anyone suggest how to debug the iOS app in chrome or safari? Whether i have to change any app setting like in android android-debuggable:true?
Worklight is not based on Telerik, so following their tutorials is kinda moot.
If you have an application running in a device and you would like to debug is using the Inspector tool that Apple's Safari browser provides, follow these steps:
Make sure that the application you've installed on the device was built to the device from Xcode, and is not from a production build (i.e. the App Store) - otherwise it will not be available in the Safari Inspector. Also that it is connected via USB to the Mac...
Make sure you have enable the Inspector tool. In Safari > Preferences > Advanced > tick the checkbox for "Show Develop menu in menu bar"
Now that 1 & 2 have been verified, go to Safari > Develop > your-device > your-app
After switching to new versions of iOS, I've not been able to debug my web app from OS X Safari to my iPhone Safari browser. My iPhone shows up but I get no options.
On my iPhone, I have allowed the web inspector.
English: Developer -> Johans iPhone -> No inspectable applications.
If I, however save my web app to my home screen - I can get the developer tools for that app, but it's not what I want at this occasion. Unfortunately I have no other iOS / OS X devices to test with, so any help would be greatly appreciated.
Though this is an old question, it should be mentioned somewhere in the answer that you actually have to enable remote inspection on the iPhone first before anything will show up.
Go to:
Settings --> Safari --> Advanced --> Web Inspector
Debugging iOS 8 mobile Safari requires desktop Safari 7.1, which is only available with OS X 10.9.5 or greater.
What you need to do is:
Update (via Apple menu->Software Update) to OS X 10.9.5 (if you haven't already)
Once you've done that, you should see the Safari 7.1 in the list of pending updates
Once done, you should see be able to debug as usual via desktop Safari.
Also for iOS 9:
On your mobile device under Settings -> Safari -> Fraudulent Website Warning = OFF [default = ON]
Even with OS X 10.9.5 and Safari > 7.1 I wasn't able to debug mobile Safari on an iPad with iOS 8.
It turned out that I had previously rejected a dialog on the iPad that asked whether to "trust this computer". The following steps helped:
Power down device.
Open iTunes on computer.
Connect device to computer.
Respond to computer question to let device access iTunes.
Turn on device.
It will ask you to confirm to trust the computer again. Accept and you should be able to debug as usual.
I m having xcode 4.5,
I have connected my iTouch(registered in developer program) to Mac Machine. It is appearing in Organizer's Device list. But, it is not appearing in xcode's device list(where simulators are) in one of my project. It is also shown when i open my other proejects.
So, What may be the problem in my this project, in which device is not appearing. Is any settings should be changed??
See the image below and change the settings.
You might need to "trust" the computer - a device will not show up in the organizer if the computer is not trusted.
Restart the iPad while it is connected to the computer. When it restarts, it will ask if you want to "Trust" the computer or not. Do so, then the device will show up in the Xcode Organizer.
Restart XCode
Try Changing the USB Port.
Clean Project. Shift + command + K.
Clear Derive Data.
I tried everything and then found that my device was identified on a different Mac but not mine. Quit and Reopen XCode resolved it.
The deployment target for your project is probably too high (e.g. iOS 7 if you are using Xcode 5 DP). Change it to a minimum version compatible with your device and try again.
Go to organiser, select your device, click on remove button at bottom of organiser screen, unplug your device and connect it once again. That's it. your device should be appear in xcode.
Go to organiser and click your device in the left panel. On the right, see if it is registered for development or not. If not, click "Use for development".
Hope it helps !!
Got this problem too. I plug my phone to Apple Cinema Display. Turns out I forgot to plug in the display's USB cable to my MacBook Air, so only power goes to my device but no data transmission (/me facepalm big time).
My case, I was trying to run a sample app I just downloaded and didn't knew it was iPad only. And I had plugged-in an iPhone. :)
I’m using a MacBook Pro (13-inch, 2019, Two Thunderbolt 3 ports) and my iPhone was connected through a USB-C Digital AV Multiport Adapter. The iPhone was no longer shown as a connected device. Tried connecting the iPhone directly to the MacBook without the Adapter and now it IS a connected device. I’m going to consider using a wireless connection for development.
How can I simulate various network conditions directly on my iOS device? I know this is possible on a Mac thanks to the Network Link Conditioner. Is there something similar on iOS devices?
Yes, with iOS 6, it is now possible to use the Network Link Conditioner directly on your iOS device, if your device is set to be enabled for development.
Simply go to Settings > Developer > Network Link Conditioner to enable it.
If you don't see Settings > Developer, to enable it:
Connect your iPhone to your Mac.
Xcode > Organizer
Select your iPhone.
Click Use for Development.
I've noticed that sometimes the Developer menu item disappears. It reappears again when installing an app using Xcode.
Might also mention that the developer option doesn't show up in settings sometimes until you tether the device and launch Xcode.
Close Settings>tether device>launch Xcode> Open Settings
So strange thing happened for me and hopefully it'll save someone the hassle.
I had my phone set to developer mode as I've used to build multiple apps previously.
For some reason, searching "Network Link Conditioner" in Settings doesn't bring up anything. Searching "Developer" brings up the Apple Developer app (if you have it installed) that shows info about WWDC videos, news etc. about Apple development.
For a little while I thought my phone wasn't in developer mode but scrolling thru Settings to see the other "Developer" option for actual developer settings of the device, its still there.
As an update for iOS8, and for people confused about the next step, if you have already gotten to the step in which you deploy to your device, all you need to do is go to on the device > Settings > Developer > Network Link Conditioner.