Hi there
New to Ranorex and Test Automation. I have just downloaded the trial version of Ranorex (Need to prove to the bosses before they will consider buying) and have been trying to set up a iOS app and keep getting the below error:
System.Exception: Failed to install the iOS app 'C:\Users\TonyandHolly\Documents\Ranorex\InstrumentedIpa\APPNAME-instrumented.ipa' to device 'DEVICENUMBER'. Additional details: APPLICATION VERIFICATION FAILED: Bad code signing. Consider that you are using a valid IPA package with valid signing data (p12, mobileprovision).
at Ranorex.Plugin.Mobile.Tools.Ios.IosToolRunner.InstallApp(String udid, String archivePath)
at Ranorex.Plugin.Mobile.Device.MobileDevice.DeployApplication(String binaryPackagePath, String appId, DeployProcessChangedDelegate processChangedHandler)
at Ranorex.Controls.Instrumentation.Workers.IosWorker.Deploy(String targetIpaPath, Version appMinimumOsVersion, IList`1 supportedCpuTypes)
at Ranorex.Controls.Instrumentation.IosResultPage.bgw_DoWork(Object sender, DoWorkEventArgs e)
The developers here are saying it is because Ranorex doesn't support Swift? The app instruments fine, but fails upon deploying to the device (iPhone5s)
Checked:
1) The iOS version matches the devices OS version
2) IPA supports the device architecture
3) IPA is not already instrumented with static Ranorex.lib
4) Not using an IPA backup
Developers have insisted they have done everything possible...any help??
iOS application fails deploying to iOS device
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: iOS application fails deploying to iOS device
Hi TonyB,
In general, Ranorex should work with Swift apps, so this shouldn't be the problem.
Are you sure the iPhone you are using was added to the developer provision profile as well?
Did you instrument the IPA by using the instrumentation wizard or directly in XCode?
May I also ask you which Ranorex and iOS version you are using and if it would be possible to send us (to [email protected]) the IPA file of your app?
This would allow us to analyze the app directly on our machines and devices.
Thanks,
Markus
In general, Ranorex should work with Swift apps, so this shouldn't be the problem.
Are you sure the iPhone you are using was added to the developer provision profile as well?
Did you instrument the IPA by using the instrumentation wizard or directly in XCode?
May I also ask you which Ranorex and iOS version you are using and if it would be possible to send us (to [email protected]) the IPA file of your app?
This would allow us to analyze the app directly on our machines and devices.
Thanks,
Markus
Re: iOS application fails deploying to iOS device
Hi Markus
I have managed to get it working on my personal device (also an iPhone 5s) but just seems to be the work iphone playing up.
Used the Wizard.
IOS 8.3
Could it be that a device must have a SIM card inserted? As that was the only difference between the two devices.
I have managed to get it working on my personal device (also an iPhone 5s) but just seems to be the work iphone playing up.
Used the Wizard.
IOS 8.3
Could it be that a device must have a SIM card inserted? As that was the only difference between the two devices.
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: iOS application fails deploying to iOS device
Hi Tony,
No, a SIM is not required.
I would really say this has something to do with the provisioning file, are you really sure the working device was added to the provisioning file?
Could you maybe double check with your development team to make sure this is the case?
Thanks,
Markus
No, a SIM is not required.
I would really say this has something to do with the provisioning file, are you really sure the working device was added to the provisioning file?
Could you maybe double check with your development team to make sure this is the case?
Thanks,
Markus
-
- Posts: 1
- Joined: Fri Jun 26, 2015 2:01 pm
Re: iOS application fails deploying to iOS device
Hi, I have the same issue. I get the bad code signing issue. I tested with a company iPhone 5 with No SIM,then I used a personal iPhone 6 with SIM,but with the same result. Can you tell me what you mean by adding the device to the provisioning profile?
Cheers,Norbert
Cheers,Norbert
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: iOS application fails deploying to iOS device
Hi Norbert,
Please take a look at the following section of our User Guide, there you can see what is meant with the mobile provisioning profile: Instrumentation and Preparation.
Regards,
Markus
Please take a look at the following section of our User Guide, there you can see what is meant with the mobile provisioning profile: Instrumentation and Preparation.
Regards,
Markus