How to check iOS application log on a jailbroken device? - ios

Is there a way to ready the iOS application log of a specific app or the entire system through SSH, similarly to Androids logcat function.?

Related

Reading previous app logs from installed App via TestFlight without Xcode

I have developed an App and distributed it via TestFlight, I am just wondering if it is possible to retrieve older app logs using some utility. I am aware of using Xcode/ Console to stream live device logs - but I have no interest in seeing live logs. The logging function I am using in my app is NSLog.
Thanks.

Connect iOS Device to Mac and Log App Errors

Goal:
Connect iOS device (physical device) to macbook
Use Appium / IntelliJ / or any other software to capture app errors from the device
I run automation tests using simulated devices, however, it's proving to not be as affective as manual testing for I'm getting different results. What I want is to simply connect my device to my macbook, run something to log app errors as I interact with my test device.
My current set up to run automated tests:
Appium
IntelliJ - Using simulated devices (No longer wanting to do)
To view what's going on in the device, you'll need to use Xcode. The easiest way to obtain that is to use the Mac App Store application.
If you're able to build your app there is a lot more debugging you can do, but I'm assuming you're not able to do that based on what you've written and won't provide instruction on that.
Attach device
Launch Xcode
Click Window menu
Click Devices and Simulators
Unlock device
Click Open Console if you're looking to see live activity of the system (this is very noisy and unlikely to be of much use) or View Device Logs to see any crash reports.

Is possible start a iOS App on device boot?

I am developing iOS App (iPhone/iPad) that needs be started when the device is turned on.
The app should be started on device boot.
Is this possible on iOS using Swift?
It's not possible to start your app whenever the device boots. Depending on what you need, there may be other alternatives such as running some code in the background when the app receives a Push Notification or turning on Background Fetch, though in the latter case, the system still has control on when to launch your app.

How to open deeplink of iOS application on real iOS device via Command Line?

As it is possible to open deep-link of .apk app on Android real device via command line with help ABD Shell how can we do the same action for iOS ?
Condition: The iOS device is connected to MAC, the app is installed and I have a list of deeplinks of current app.

Can an iPhone device passcode be enabled in Xamarin Test Cloud?

I have an iPhone application that requires the user to have a device passcode enabled in order to use the application (for HIPAA compliance reasons). I want to test this application on the Xamarin Test Cloud. I've used the Xamarin Test Recorder to build a test that executes successfully on my local iPhone device (which has a passcode enabled). When I upload the test to the Test Cloud and run it on the same iPhone device and same OS, I see my test fail because the test cloud device does not have a passcode enabled.
Is there a way to enable a passcode on a Test Cloud iPhone device? Or a way to simulate having one enabled?
To be clear, by passcode, I mean the 4-6 number code that you would enter in order to gain access to the device after waking it from sleep (e.g. by pressing the home button).
Unfortunately you cannot enable the passcode on iOS devices with Xamarin Test Cloud.

Resources