How to get developer console for Ipad - ipad

How to get developer console for Ipad. I am getting UI issues.

Follow the steps :
1. Connect IPad to Mac
2. Open Safari
3. Go to Developer Tab
4. You should see your device under it
5. Click on index.html
For more information click here

Related

iOS app cannot be deployed on device

I am developing an iOS app for iPads. I have two projects inside one workspace. When I try to deploy it on the iPad, I get absolutely no error or warning and I receive the "build succeeded" message. However, the app is not deployed on the iPad. The app works just fine on the simulator without any issues.
When I first connected my iPad to my computer, I set the "trust to this computer".
I set the code signing identity to iOS developer and I selected my paid developer account in the identity section in Xcode, which made no difference.
I don't know if these are relevant but cannot think of any other solution. I would appreciate any suggestion.
I am on Xcode 7.3 and the iPad is on iOS 9.3.1, which are both the latest versions as of today.
You can see my project navigator below if it helps.
So after you hit build, try going into your settings on your iPad. Go to General -> Device Management (almost to the bottom) -> click your email that shows up -> and see if the app is trusted in there.
After Some time, even the simulator stopped showing up. So I had to remove the existing scheme and add a new one. This resolved both the "simulator not launching" and "not being able to deploy to iPad" issues right away.
Never thought it would be this easy.

How can i enable remote debugging iOS webapp?

I'm trying to use safari inspector for debugging web app on iOS device.
and I have referenced this way: enable remote web-inspector
It works when I try with iphone application developed by me (build & run by xcode to device).
but If I try to debug webapp installed using ipa,
I can't find app in safari > Develop > iPhone menu. (this menu shows just 'No Inspectable Applications')
for example, in Android Webview,
there is an api SetWebContentsDebuggingEnabled
If developer write webview.SetWebContentsDebuggingEnabled(true) everyone installed this app using apk can debug webview in Chrome.
is there any option like SetWebContentsDebuggingEnabled in iOS?
help-!
Resolved!
you should check all below conditions.
Build for testing.
When you export your archive, choose "Save for Development Deployment." (available in XCode 7.0!)
you can 'remote debug' using only devices that you've registered to your apple developer account. So if you want to publish ipa to testers, you should get their test device's udid first.
can check application logs also in this way.
lee!
Xcode 7.0 provides some build options.
Check the Build Settings.
You can select release or debug mode, maybe debug mode is able to connect to safari inspector.
For your web developer!
thanks.

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?
An update for iOS 9 (using OSX El Capitan):
On your mobile device under Settings -> Safari -> Fraudulent Website
Warning = OFF [default = ON]
I also needed to re-connect the iPhone after changing this setting
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.
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 :-)
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.
Xcode
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.
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 went to Settings > Safari > Advanced and toggled the Web Inspector switch from on to off to on again. That did it for me!
If you just installed XCode 9, do not forget to install Safari 11, or you will see "no inspecable applications"
I had the same problem with Safari 11.0.3 on High Sierra. The only think that worked for me is installing Safari Technology Preview from here.
Make sure you aren't connected to a VPN.
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.
After all the answers here failed to resolve the issue for me, I figured out that installing the Safari Technology Preview version worked well.
Install this beta of Safari, launch it, enable developer tools in advanced preferences, and your phone will appear in the develop bar (provided a page in mobile Safari is open).
I was trying to get this working via the iOS simulator and none of the previously stated answers worked, even though I tried them all.
Instead, running the following worked:
npm install -g ios-sim
After that, once I started the application, the simulator appeared under the Develop menu on Safari.

iOS developer build does not install on one iphone 4S

I have a developer build, made using iOS 6 library, targeting iOS 4+ devices, and it installs and runs on 4 different iphones, and 2 ipads. But for some reason, on one of the iPhones 4S with iOS 5.1.1, the app starts installing and get stuck at about 50% of the progress bar.
The carrier is Verizon, the phone has been bought this year.
Anyone has any insight?
The UDID of the device might not be present in the provisioning profile you signed with.
I suggest watching the Device Console in the XCode Organizer screen. You'll be able to see any error messages during the install and determine what the issue is. You can watch the console even if you're installing via TestFlight or some other mechansism.
If the device is thousands of miles away :) then you can have the user collect the console logs for you via the iPhone Configuration Utility. Per Apple Docs:
Getting Console Output Without Xcode Sometimes you may have to debug a
problem "in the field", or tell a tester how to gather more
information and send it to you. When installing Xcode isn't an option,
download the iPhone Configuration Utility to save Console output. It
is available for both Mac OS X and Windows.
1) Plug in the device and open iPhone Configuration Utility
2) Select the device under DEVICES in the left-hand column
3) Select the Console tab
4) Press the "Save Console As..." button in the lower right of the
window to export the Console log.

iPhone 4 - no provisioned iphone os is connected

I'm trying to install an app onto an iPhone 4 and I get:
no provisioned iphone os is connected
I am using:
Xcode 3.2.3
iTunes 9.2
iPhone 4.0 with iOS 4.0 (8A293)
I have the development provisioning profile in XCode and in the phone.
The Organizer window shows the iPhone 4 with a green circle next to it. I have the correct App ID in the bundle identifier in Info.plist.
I've tried powering on/off phone, stopping/re-starting Xcode and iTunes with no luck.
Any ideas what is wrong?
If the profile is installed, you are probably trying to install the app on the device with the build configuration set to "Distribution"... you need to set it to "Debug" or "Release" in the drop-down menu in XCode on the main window.
So, build options should be "Debug" and "Device"
Did you check the status of the Organizer? From Xcode, go under Window->Organizer, and look under the DEVICES section on the left pane. It should show the connected devices, and provide a more detailed explanation (e.g., device is not enabled for development, OS installed on phone is not supported by SDK, etc).
One possibility is that you are running 4.0.1 on your phone, but only have the 4.0 SDK installed.
Double check the provisioning profile is tied to the build you are doing: Right click-> Info on the project icon in Groups & Files then Build and scroll down to Code Signing.
There seem to be a million different things that can go wrong with getting the app to the iPhone, I never get it right the first time.
I've followed this before: http://adeem.me/blog/2009/04/24/tutorial-list-guideline-for-building-ad-hoc-application-for-iphone/
It's for Ad Hoc but most of the steps are the same.
I figured out what the problem was. I had the build set to iPad and I was trying to download to an iPhone! I hope this helps someone else.

Resources