Forum Discussion

larolsen's avatar
larolsen
Contributor
8 years ago
Solved

iOS: Unable to instrument application

Hi

 

I am having problems instrumenting my iOS application. I have the required certificates, provisioning profile and PEM files. When I try to instrument the .ipa file, I get an error message saying: "Unable to instrument the XYZ.ipa application. The application's archive file has an invalid format."

 

Does anyone have any clues to what is causing this error?

 

The same .ipa can be installed on an iDevice and runs as expected.

 

Best regards

Lars Lund Olsen

  • Hi

     

    It was an out-of-date certificate that caused it. But thanks for the tip about bundleID, I will keep it in mind if I get the samme error in the future :-)

     

    Best regards

    Lars Lund Olsen

2 Replies

  • baxatob's avatar
    baxatob
    Community Hero

    Hi,

     

    Please check that you archived your app with the same Bundle Identifier value, that you have assigned in the provisioning profile. Bundle Id in Xcode should be equal to App Id in Prov.profile.

    • larolsen's avatar
      larolsen
      Contributor

      Hi

       

      It was an out-of-date certificate that caused it. But thanks for the tip about bundleID, I will keep it in mind if I get the samme error in the future :-)

       

      Best regards

      Lars Lund Olsen