Search code examples
titaniumappceleratorappcelerator-titanium

Appcelerator Studio 4.4 and XCode 6.1.1 - Cannot import provisioning Profile


I created a new provisioning profile with new app ID for an application. I have created them in Apple Developer portal and when I do a reference in the accounts page in XCode 6, I can see the provisioning profiles.

But when I launch Appcelerator Studio and try to export it in AdHoc mode, I can see only the list of provisioning profiles prior to upgrade of Appcelerator Studio. The new provisioning profile is not displayed. If I try to browse and add it, then it given an error as it is either not correct or not proper.

Has anyone faced such issue and know how to resolve it?


Solution

  • Titanium looks in the ~/Library/MobileDevice/Provisioning Profiles directory for all your provisioning profiles. This is where Xcode should be saving new provisioning profiles. You can manually downloading the provisioning profiles one-by-one and when you double click them in Finder, it will open them with Xcode in which Xcode will copy them into this directory.

    I would go to that directory and sort by date modified and make sure your new provisioning profiles are in there. Second, I would verify the permissions of each provisioning profile file.

    Lastly, open the Terminal and run appc ti info -t ios or ti info -t ios and verify that Titanium can see the provisioning profiles. Perhaps your provisioning profiles are expired? "ti info" will tell you if a provisioning profile is expired.

    Hope this helps.