Why Safari shows “No Inspectable Applications” during remote debugging with iOS 6 device?
When I connect my iOS 6 device for remote debugging for testing my mobile web application, The safari develop menu with my device name shows “No Inspectable Applications”.
I have enabled web inspector ON in my device safari device settings.
Why this is happening?
- The UIApplicationDelegate in the iPhone App never called reply
- Why do weak NSString properties not get released in iOS?
- UITextField input not working
- MPMoviePlayer done button issue
- How to play youtube video using URL in AVPlayer IOS?
- Is there a better way to save a custom class to NSUserDefaults than encoding and decoding everything with NSCoder?
9 Solutions Collect From Internet About “Why Safari shows “No Inspectable Applications” during remote debugging with iOS 6 device?”
I recently had problems debugging a UIWebView in desktop Safari – and it turns out the problem was with my Xcode configuration for the app. The most recent build had been provisioned for production, rather than for Testing. After re-building the app for Testing, it showed up once more in the Safari Debug menu 🙂
An update for iOS 9 (using OSX El Capitan):
On your mobile device under Settings -> Safari -> Fraudulent Website Warning = OFF [default = ON]
This solved it for me.
If you have private browsing enabled in
Settings > Safari, you will not be able to use remote debugging. If you turned off private browsing, it will work like a charm.
A few things to try:
On your iPhone/iPad, double-tap the Home button to bring up the list of running apps, close Safari (or appropriate Web App), then reopen
Quit/reopen Safari on the Mac
Unplug/plug back in iOS device
As a side note, I can attach to Safari with private browsing enabled on the iOS device.
I had the same issue eventually I understand that the problem is with the Xcode settings.
To solve this issue:
Enable Safari Debug
First of all verify that on the device you have enabled the Safari debugger (on the device go to:
Settings >> Safari >> Advanced >> Enable Debug; or iOS 9+ turn on:
Settings >> Safari >> Advanced >> Web Inspector). If you’ve done this you will see your device in Safari >> Develop. if you see your device but you don’t see your application under it, instead “
no inspectable application“, check your Xcode settings.
1. Change Build Configuration:
Right click on the project name (under the play/run button) and select ‘Edit Schema…’, in the ‘Edit Schema’ window under ‘Run’ tab change the ‘Build Configuration’ to ‘Debug’ (instead of ‘Release’)
2. Change the Code Signing:
Click on the project name in the files tree, to display the project settings.
Select the ‘Build Settings’ tab. Change the ‘Provision Profile’ to ‘Automatic’. Change the ‘Code Sign Identity’ to ‘iOS Developer’.
Note that changing the code signing will prevent you from release versions for production, however you will be able to debug your application.
In my case, I had Safari 10.0.2, running on El Capitan and when trying to run apps on the Simulator (iphone 7), I did not even have the Simulator option in the Safari’s Develop menu. Updating to Sierra, solved the problem.
I resolved the issue with rebuilding the app with new key – certificate (p12) and provisioning profile. My developer account and certificates expired, so it just stopped recognizing my PhoneGap app in Developer menu.
I got verything set up and then just restart your machine.
If you just installed XCode 9, do not forget to install Safari 11, or you will see “no inspecable applications”
- Protocol inheritance in Objective C
- How to show the progress of copying a large file in iOS?
- Swift and comparing C typedef enums
- Is force cast really bad and should always avoid it?
- post parameter to sever using dictionary swift
- How to get local time on iOS
- Detecting if headset are plugged into iOS device
- Swift and Cocoapods – Missing required module
- Pushing to a Detail View from a Table View Cell using Xcode Storyboard
- Trying to save image to Photo album with custom name in iOS
- Xcode 8 beta 6: main.swift won't compile
- Hiding Keyboard accessorybar in WKWebView
- get indexPath of UITableViewCell on click of Button from Cell
- xcode iOS compare strings
- NSObject subclass in Swift: hash vs hashValue, isEqual vs ==