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

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.

Related

What are the specific risks from Developer Mode on iOS?

Because iOS simulator no longer supports BLE (I think), I sometimes need to test my internal distribution app (using Expo development server) on a hardware device. But since iOS 16, in order to do this, it is necessary to enable "Developer Mode" on the device. According to the setting's instructions this results in "reduced" security.
Exactly what risks do I expose myself to when I turn on "Developer Mode" on my iOS (16+) device?

Xcode-Swift 5: Is it possible to turn off the GPS requirement when launching iOS app on a WiFi only device?

I have an app written in Swift 5 using Xcode 13.3.1 that has sensor reads but also a speedometer that works by using GPS which is set as a requirement in "Custom iOS Target Properties" to track speed which works great on an iOS Phone as there is cell service but I want to run the app in an iPad that is Wifi only- no cell service. When I try to run the app in Xcode using the iPad as a test device, it stops on install saying that it can not install because the iPad doesn't support GPS. I'm wondering if there is a way to disable the need for GPS in the Info Target Properties or in code, when a device that is WiFi only is attached? I'm fine with the fact that the Speedometer will not function as a result, but the sensor reads will still work.
GPS which is set as a requirement in "Custom iOS Target Properties"
That's the wrong approach. Basically using required hardware properties is frowned on. Just install anywhere, and then fail gracefully if the user tries to employ a feature that requires hardware that isn't there.

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.

How do you perform wireless debugging in Xcode 9 with iOS 11? without passcode

Is there any possibility to perform wireless debugging without using passcode, because i don't want to set passcode for my iPad due to some critical reasons.
I don't like to set a passcode on my test devices either, huge pain in the butt to unlock it every time I run an app from Xcode.
They make you install a passcode to turn on Wireless testing. Then it won't install wirelessly because it says the device is locked and you must unlock it first...Arghhhh
But what you can do is turn on a passcode, setup the wireless transferring in "Devices" and then remove your passcode from you device and viola! it automatically sends to my iPhone without any interruptions and without a passcode.

iOS App testing - Low Budget Solution

So I am currently building my first iOS iPhone App which I plan to launch in the coming months. I have now finished my app but I don't have a big budget so testing on multiple devices is difficult. I already have an iPad so I assume that could run an iPhone version just to check that all the code is working. If I know that the code can run on an actual iOS device (the iPad) will the simulator suffice for the rest of testing would you think? I do plan to use test flight later on in the project too.
you could launch your app on your iPad with iphone mode. Just select option 'iPohne' as on screenshot below
Using simulator gives you some restrictions. For examle, you can not test full process of in-app purchase, location, ads, etc. So, if you are using some of this features for your specific platoform, it's better to test it on the actual device

Resources