iOS 8 Read console logs from user devices without installing Xcode - ios

Any ideas how to get console logs from a user device running iOS 8?
Previous methods, including the iPhone Configuration Utility, do not seem to work with iOS 8 - the latter just doesn't show anything for the console. The older related iOS apps stopped working since iOS 7.
Installing Xcode is not an option, since the user is most likely running Windows, and in any case will not tolerate a multi-GB download and install.

We have an other option, which is, by installing itools and follow the below navigation where you can see the console logs.
Connect Your device to Windows. click on itools->Under iPhone->>Advanced->System logs.
Install itools from this location http://itools-for-windows.en.softonic.com/

iTools
To get real time iOS system logs on windows machine.
Note: Based on iOS / Xcode / iTunes (overall Apple) updates, this information is subject to change. With current iOS version 8.1.3, the iTools software version 3.1.7.6 works great.
Open iTools.
Connect your iDevice.
In the left pane under your device, choose 'Advanced'.
Click on 'System Logs'.
You'll get real time system logs just as Console log in Xcode.

As of iOS8 update iPhone Configuration Utility cannot get the logs. from a tutorial in testflight website, they say specifically for iOS 8 devices use xCode. So I guess you are out of luck.

Related

Deploying a Qt Application to an iOS device

On Qt Creator, when I run my application on the iOS simulator everything works fine. However, when I try and run it to the connected device, the error message below shows up:
[xcodebuild-release-device] Error 70
When I go to preferences on Qt and then Devices, it says that my device is ready to use.
How do I get my application to show up on my connected device? I would appreciate it if I could get some detailed steps on how to get this to work.
Thank you.
*The version of Qt Creator is 4.5 and Xcode is 9.2

Instrument with iOS 9.3.1 [duplicate]

I have been trying unsuccessfully to profile my device (via Instruments) using the latest version of Xcode 7.0.1 (7A1001 released 9/28), as well as the previous version of Xcode 7 (7A218), as well as Xcode 7.1 Beta 2 (7B75).
My device is an iPhone 6+ with iOS 9.0.1 installed - the latest GM release of iOS9. I am able to run / debug applications on this device without issues.
In the screenshots below you can see that my device is disabled (greyed out) in all screenshots in all versions. I am able to profile other devices running iOS 8.4.1 without any issues.
Does the current version of Xcode not support profiling against iOS 9.0.1 or is there some kind of configuration setting or known work around for this?
Xcode 7.0.1:
Xcode 7.0:
Xcode 7.1 beta 2:
TL;DR - Perform a complete reboot of your device; restart Xcode & instruments; select "Open Xcode" if prompted to enable the device for development.
Update 3/31/2016: I haven't encountered any issues with the latest version(s) of Xcode (7.2.x, 7.3), so it seems that the stability here has been improved.
I believe I may have finally gotten this to work properly. Detailed steps:
Unplug the device from your Mac & power down the device completely (hold the power button for several seconds; slide to power off).
Close Xcode and Instruments.
Restart the device & once it has booted completely re-connect it to your Mac.
Re-launch Xcode. Here, my device showed as disabled and Xcode indicated that the device was not available for use.
Open your project; clean (Shift+Command+K), Build (Command+B), Profile (Command+I).
After Instruments launched I noticed that the device was enabled. Upon selecting it, a message was displayed with the title "Enable this device for development?" and message "This will open Xcode and enable this device for development." (Note that this only happened to me the first time I went through this process even though I had already been using the device for development - whereas some users have also reported that they are not presented with this dialogue.)
Click "Open Xcode". Here Xcode did not prompt me for anything nor was anything displayed - no additional messages indicating anything had been done or that the device was or was not available for development. Opening the Devices window, the device appeared to be available. (I have not been presented with this option for subsequent occurrences.)
Now I was able to select the device in Instruments and profile it.
As a side note, I was also again able to delete installed apps from the Devices window (I realized that this was not possible to do previously).
I'm unsure how my device ended up in this state however I will be on the lookout to see if this continues to occur.
Please note that this was done using Xcode 7.0.1.
Update: My device seems to lapse back into not being able to be used for profiling some time after performing these steps - I've had to reboot my device again in order for it to be available for profiling. Not sure what is triggering this behavior but I will file a Radar for this.
Close instruments -> reset your device by long pressing home and power button -> restart instruments. Works for Xcode 7.3.
According to Apple staff on the developer forums the behaviour of this issue is greatly improved in the Xcode 7.3 betas, so one easy solution is to try upgrading Xcode. I've upgraded and it seems to be behaving so far.
This issue still occurred with XCode 10.3 and iOS 12.4.2
I restarted the device only, and it worked.

Unable to profile app on device with iOS 9.0.1 using Xcode 7, 7.0.1 or 7.1 beta

I have been trying unsuccessfully to profile my device (via Instruments) using the latest version of Xcode 7.0.1 (7A1001 released 9/28), as well as the previous version of Xcode 7 (7A218), as well as Xcode 7.1 Beta 2 (7B75).
My device is an iPhone 6+ with iOS 9.0.1 installed - the latest GM release of iOS9. I am able to run / debug applications on this device without issues.
In the screenshots below you can see that my device is disabled (greyed out) in all screenshots in all versions. I am able to profile other devices running iOS 8.4.1 without any issues.
Does the current version of Xcode not support profiling against iOS 9.0.1 or is there some kind of configuration setting or known work around for this?
Xcode 7.0.1:
Xcode 7.0:
Xcode 7.1 beta 2:
TL;DR - Perform a complete reboot of your device; restart Xcode & instruments; select "Open Xcode" if prompted to enable the device for development.
Update 3/31/2016: I haven't encountered any issues with the latest version(s) of Xcode (7.2.x, 7.3), so it seems that the stability here has been improved.
I believe I may have finally gotten this to work properly. Detailed steps:
Unplug the device from your Mac & power down the device completely (hold the power button for several seconds; slide to power off).
Close Xcode and Instruments.
Restart the device & once it has booted completely re-connect it to your Mac.
Re-launch Xcode. Here, my device showed as disabled and Xcode indicated that the device was not available for use.
Open your project; clean (Shift+Command+K), Build (Command+B), Profile (Command+I).
After Instruments launched I noticed that the device was enabled. Upon selecting it, a message was displayed with the title "Enable this device for development?" and message "This will open Xcode and enable this device for development." (Note that this only happened to me the first time I went through this process even though I had already been using the device for development - whereas some users have also reported that they are not presented with this dialogue.)
Click "Open Xcode". Here Xcode did not prompt me for anything nor was anything displayed - no additional messages indicating anything had been done or that the device was or was not available for development. Opening the Devices window, the device appeared to be available. (I have not been presented with this option for subsequent occurrences.)
Now I was able to select the device in Instruments and profile it.
As a side note, I was also again able to delete installed apps from the Devices window (I realized that this was not possible to do previously).
I'm unsure how my device ended up in this state however I will be on the lookout to see if this continues to occur.
Please note that this was done using Xcode 7.0.1.
Update: My device seems to lapse back into not being able to be used for profiling some time after performing these steps - I've had to reboot my device again in order for it to be available for profiling. Not sure what is triggering this behavior but I will file a Radar for this.
Close instruments -> reset your device by long pressing home and power button -> restart instruments. Works for Xcode 7.3.
According to Apple staff on the developer forums the behaviour of this issue is greatly improved in the Xcode 7.3 betas, so one easy solution is to try upgrading Xcode. I've upgraded and it seems to be behaving so far.
This issue still occurred with XCode 10.3 and iOS 12.4.2
I restarted the device only, and it worked.

TestFlight error: User gets "Unable to Download Application" message when trying to download a beta test from TestFlight

I am beta testing my app, and a few users are getting the error "Unable to Download Application. "Okasio" could not be downloaded at this time". So far 30 users have downloaded the beta of the app, and only 2 are getting the error, so it seems user- rather than app-specific. Does anyone have a suggestion?
The message is identical to the one from this post, but with current iOS 8 formatting:
TestFlight fails to install app and cannot delete partially installed app
The most likely reason is that their iOS OS version is below the app's minimum OS version.
As strange as it might sound the official Apple TestFlight/iTunes Connect beta system does not test the OS version at all at the moment. We faced this issue while we were working on our integration with the new TestFlight system (Bitrise.io, iOS CI/CD service - CTO here).
For example one of our test apps was built with iOS 8.2 as the minimum OS version. It's even listed on the app's card in TestFlight (Compatibility: Requires iOS 8.2 or later) but you can still click on the install button and it starts to download&install it. Then of course you get the helpful error message with Unable to Download App.
Note: Tested on two different iPads, both with iOS 8.1.3.
Another, less likely issue might be the lack of storage on the device but as far as I remember that presents a different error message.

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.

Resources