Jump to content
FabDev

Delphi 12.2 and MacOS Sequoia (15.0) : No provisioning profile

Recommended Posts

Posted (edited)

Hello,

 

I have a problem since I have my migrated  MacMini to MacOS Sequoia (15.0).

There is no Provisioning profile in Delphi project (In project/Option/Provisioning).

 

On the Mac PAServer terminal I see the command :

command_line: "/usr/bin/security" find-identity -v

But nothing append. And Delphi say "No provisioning profil has been found in the build configuration and device selected...".

 

I have no problem using XCode 15 in the same MacMini. In Xcode / Settings / Accounts all my Certificates seems to be here...

 

All worked fine in MacOS 14

 

 

PS : This doesn't help :

 

Edited by FabDev

Share this post


Link to post
3 hours ago, FabDev said:

Delphi say "No provisioning profil has been found in the build configuration and device selected...".

 

In macOS 15, the location for provisioning profiles is in another folder. One solution to fix this is:

  1. In Xcode menu, click Xcode > Settings, and select Accounts
  2. Select the relevant Apple ID (or add yours if none exists in the list)
  3. Click "Download Manual Profiles"

Then PAServer should find the profile

  • Thanks 1

Share this post


Link to post

As @Dave Nottage says this is a change introduced on macOS 15, most specifically a "fix" for XCode 16. Alternatively to Dave's solution, if there is no Apple ID linked to Xcode and you can't/don't want to link it you could also copy all the profiles from the old location to the new one:

cp -R ~/Library/MobileDevice/Provisioning\ Profiles ~/Library/Developer/Xcode/UserData

This was tested on a Mac with no profiles installed on the new folder whatsoever.

 

4 hours ago, FabDev said:

On the Mac PAServer terminal I see the command :


command_line: "/usr/bin/security" find-identity -v

But nothing append.

This command shows on the PAServer terminal with verbose mode enabled, but its output is consumed internally by PAServer and not printed. You can always run the same command on another Terminal to explore the output.

  • Like 1
  • Thanks 1

Share this post


Link to post
Posted (edited)
12 hours ago, Dave Nottage said:

In macOS 15, the location for provisioning profiles is in another folder. One solution to fix this is:

  1. In Xcode menu, click Xcode > Settings, and select Accounts
  2. Select the relevant Apple ID (or add yours if none exists in the list)
  3. Click "Download Manual Profiles"

Then PAServer should find the profile

One again Dave, Thank you, it's work !

However, it didn't work the first time; After done it, I had to open a project in Xcode and manually select a profile...

 

Thank you Alejandro too. But I have an Apple ID linked to Xcode.

Edited by FabDev
  • Like 2

Share this post


Link to post

This doesn't work for me.  I have re-downloaded the manual profiles and things look ok.  Am I missing a step?

1990419980_Screenshot2024-10-16at9_16_15AM.thumb.png.9c6090017ece73a3ed7a6d1baeadfba8.png

1189703945_Screenshot2024-10-16at9_16_37AM.thumb.png.6bb20ff57e089d8b161e62e38cb3e8db.png

566545512_Screenshot2024-10-16at10_29_14AM.thumb.png.e4a629cd2ece47b1e0fc1cac20611eeb.png

Edited by zburns

Share this post


Link to post

Hi, @zburns

I managed to solve the issue using Delphi 12.2, macOS Sequoia 15.2, by following these steps:

  1. Download the Xcode versions:

    • Download Xcode 16.2 directly from the App Store.
    • You’ll also need an older version of Xcode (15.4 in this case) to access a compatible SDK.
    • Older versions of Xcode are available here (you might need to log in).
  2. Set up the older Xcode version:

    • After downloading Xcode 15.4, extract it to a location different from the "Applications" folder (where the current version is installed).
    • Open the Terminal on your Mac (/Applications/Utilities/Terminal) and run the following command:
      sudo xcode-select -s [path]/Xcode.app
      Replace [path] with the location where you extracted Xcode 15.4.
  3. Import the SDK in Delphi:

    • In Delphi, you should now be able to import the iOS 17.5 SDK, and the required profiles should appear.
  4. Switch back to the default Xcode (optional):

    • If you want to revert to the default Xcode version, run this command in the Terminal:
      sudo xcode-select -r

I hope this helps! 😊

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×