Hi all,
This is my first time to instrument an app on Mobile-iOS and tried several times the instrumentation Wizard .
1- I choose iOS as target technolofy to instrument --> Instrement & deploy custom IPA --> choose the APP --> click on next. Than i get the following Error.
System.NullReferenceException: Object reference not set to an instance of an object.
at Ranorex.Plugin.Mobile.Tools.Ios.Instrumentation.IosSigning.GetBerEncodedSignedCms(Byte[] codeDirDigest)
at Ranorex.Plugin.Mobile.Tools.Ios.Instrumentation.IosSigning.GetCmsBlob(Byte[] codeDirBlob)
at Ranorex.Plugin.Mobile.Tools.Ios.Instrumentation.IosSigning.Sign()
at Ranorex.Plugin.Mobile.Tools.Ios.Instrumentation.BaseSignUnit.Sign()
at Ranorex.Plugin.Mobile.Tools.Ios.Instrumentation.FrameworkSignUnit.Sign()
at Ranorex.Plugin.Mobile.Tools.Ios.Instrumentation.IosSigningService.Sign()
at Ranorex.Plugin.Mobile.Tools.Ios.Instrumentation.IosInstrumentation.StartInstrumentation()
at Ranorex.Plugin.Mobile.Tools.Ios.IosToolRunner.Instrument(IIosOptions options, Action`2 progressCallback, String& instrumentedIpaPath)
at Ranorex.Plugin.Mobile.Tools.Ios.IosToolRunner.Instrument(IOptions options, Action`2 progressCallback, Action`1 msgCallback)
at Ranorex.Plugin.Mobile.RxIntegration.Instrumentation.IosWorker.Run()
at Ranorex.Controls.Instrumentation.IosResultPage.bgw_DoWork(Object sender, DoWorkEventArgs e)
Are there anyone who can help me?
instrumenting and deploying iOS with Instrementation Wizard failed
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: instrumenting and deploying iOS with Instrementation Wizard failed
hi h.bouroum,
It appears code signing is failing and this is likely a result of a bad/wrong p12 file, mobileprovision file, or password. Please confirm with your iOS devs your files are correct. If you are able to provide the *.ipa file here or privately, I will be happy to test this with my own code signing files and device to confirm this is the root issue.
I hope this helps!
Regards,
Ned
It appears code signing is failing and this is likely a result of a bad/wrong p12 file, mobileprovision file, or password. Please confirm with your iOS devs your files are correct. If you are able to provide the *.ipa file here or privately, I will be happy to test this with my own code signing files and device to confirm this is the root issue.
I hope this helps!
Regards,
Ned
Re: instrumenting and deploying iOS with Instrementation Wizard failed
we work for the first time with Ranorex and our developement team dosent understand why Ranorex decompiles and compiles the app again. However this worked know.
we had deployed the IPA via Appstore and not directly of our devices.
we had deployed the IPA via Appstore and not directly of our devices.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: instrumenting and deploying iOS with Instrementation Wizard failed
Hi h.bouroum,
I am happy to hear you were able to instrument and deploy your iOS application.
To answer your developers question, we decompile and recompile the application to automatically insert our small automation library which Ranorex uses to communicate with the application, get object recognition, and perform actions (touch, type, validation, et cetera...). Without this, Ranorex would not be able to do any automation in your application due to iOS restrictions.
Alternatively, your iOS developers can manually add the Ranorex libraries to the iOS application themselves if they do not want to use the automatic instrumentation method.
Please let me know if you need any more assistance!
Cheers,
Ned
I am happy to hear you were able to instrument and deploy your iOS application.
To answer your developers question, we decompile and recompile the application to automatically insert our small automation library which Ranorex uses to communicate with the application, get object recognition, and perform actions (touch, type, validation, et cetera...). Without this, Ranorex would not be able to do any automation in your application due to iOS restrictions.
Alternatively, your iOS developers can manually add the Ranorex libraries to the iOS application themselves if they do not want to use the automatic instrumentation method.
Please let me know if you need any more assistance!
Cheers,
Ned