Install error (traced to No such file or directory when trying to find the developer profile)

You must Login before you can answer or comment on any questions.

I have been using Titanium for quite some time now, so I know my way around certificates/profiles and the process of deploying the app on the phone. With 1.4.1.1 (on SDK 4.1), I get the 'Install error' message when trying to run on the iPhone. I traced the error in the build.log to:

Exception detected in script: Traceback (most recent call last): File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.1.1/iphone/builder.py", line 524, in main provisioning_profile = read_provisioning_profile(pp,o) File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.1.1/iphone/builder.py", line 171, in read_provisioning_profile f = open(f,'rb').read() IOError: [Errno 2] No such file or directory: u'/Users/jace/Library/MobileDevice/Provisioning Profiles/D142A6D3-5CC4-4F39-8B93-7CCF687F63A3.mobileprovision'

I had a look in that directory, and of course the file it's looking for is not there. Why is this happening?

thanks

4 Answers

Me and most of my friends have the same problem. I solved it by copying the .mobileprovision file and renaming it to the name specified in the error log. So, in this case, copy your .mobileprovision file, put it in Users/jace/Library/MobileDevice/Provisioning Profiles/ and rename it to D142A6D3-5CC4-4F39-8B93-7CCF687F63A3.mobileprovision. This works.

If the folder doesn't exist, create it manually.

Is there an easier way to solve this problem? Anyone? :P

Thanks!

EDIT: Drag your mobileprovision file to Xcode, or double-click it before installing to iTunes.

— answered 1 year ago by Nils D
answer permalink
1 Comment
  • This worked for me. I just copied the .mobileprovision file in the directory and renamed it as shown in the console error.

    — commented 6 months ago by Claudio Carlenzoli

Yes, I managed to get around it. All you have to do is go to: HOMEDIR/Library/MobileDevice/Provisioning Profiles and delete all profiles. Then, simply reimport your provisioning file in Titanium (after deleting it from the Titanium GUI as well) and build for the device. If you keep the finder window open you will see that a new copy of the provisioning file will be created. It happens to me from time to time and this solution always works!

— answered 1 year ago by Jason Kritikos
answer permalink
2 Comments
  • Cheers, works for me... In my case I deleted the entire folder (maybe didn't need to) and made sure to press the (X) in Titanium "build for iphone" to remove the profile, then went and selected it again..

    As you say, it then shows up in that folder..

    — commented 7 months ago by Chris Moore

  • Thanks Jason! This worked for me.

    — commented 4 months ago by Tim Shayakhmetov

I am getting this same error. None of the things suggested above are helping.. Thoughts?

Your Answer

Think you can help? Login to answer this question!