Last updated on : 21 Jan 2025
Inject Images on Real iOS Devices
Overview
Inject Images allows testers to add images directly to a real iOS device during a live session. This is useful for validating image upload, scanning, and document capture workflows. It enables realistic testing of photo-based features without manual device interaction.
Prerequisites
- User must be a registered Pcloudy user.
- Ensure that the Application is resigned, prior to injecting the image.
How Re-Signing Works?
On iOS, we replace the embedded provisioning profile with a wildcard profile and resign the app. Resigning the iOS app results in the removal of certain entitlements. This includes App Group, Associated Domains, Game Center, HealthKit, HomeKit, Wireless Accessory Configuration, In-App Purchase, Inter-App Audio, Apple Pay, Push Notifications, and VPN Configuration & Control.
To ensure the complete testing of your iOS application, we suggest you test the application on a physical iOS device before testing on our device cloud or ask dev team to add the UDID�s to developers profile and rebuild the ipa to test on pCloudy devices.
Tips while using Automated Signing:
- Follow Apple Guidelines while configuring build parameters.
- Build and Archive the application with Target as Generic Device.
- Make sure Archived IPA file name does not have spaces/special characters.
Resigning server will work only if the Bundle ID is 'com.*'. If you have any other Bundle ID, resigning will not work. You have to then resign using manual resign process using UDID approach given below or change the Bundle ID to 'com.
Steps
1. Resigning/Instrumenting the iOS Application
- Login to the Pcloudy platform.
- Click on Real Devices under the Functional Experience tab in the Left Panel of the Pcloudy platform.
- Click on the Three dots corresponding to the application you want to test.
- Click on Resign-Functional to Resign the app.
- Once the application is instrumented, the user will receive a success notification and the instrumented app will be placed in the All Apps section.
- Next the user can follow the Steps for Injecting the Image.
2. Injecting the Image
- Select an iOS Device and Click on Start Testing.
- Click on Start under the Logs section to start capturing the device logs.
- Click on Install under the Quick Actions in the middle panel.
- Select the App and click on Install.
- Follow the prompts on the application to initiate the image capture.
- Click on Image Injection on the Left Panel.
- Select the Image and Click on Inject.
- The Contents of the image will be made visible.
- Repeat the steps to inject another image.
Did this page help you?