JimKueneman 1 Posted January 13, 2023 It has been a long time since I have created an iOS app. I created a certificate on my new machine with Keychain Access Went to the Apple Developer site and created a new Certificate and uploaded the CertificateSigningRequest.certSigningRequest file selecting the Apple Development choice. Downloaded that file and double clicked it. Looked in the Keychain and I now have a Apple Development: Jim Kueneman (42729xxxxx) certificate that says is valid. Created a new App ID for the app. Selected new App ID and typed in this for the bundle ID net.mustangpeak.LccThrottleApp Created a new device for my iPhone 12 mini using it UUID Created a new profile using the AppID and Device I just created and downloaded it. I double clicked it and it was converted to a file that was put in the ~/Library/MobileDevice/Provisioning Files/ folder. If I look at the contents of that file it has the App ID and Phone UUID in it. I open Delphi and my application. In my project options and go to Project Options -> Application -> Version Info -> CFBundleIdentifier I have it set to net.mustangpeak.$(ModuleName). My application name is LccThrottleApp so it resolves to net.mustangpeak.LccThrottleApp. I plug in my iPhone and see it in the IDE in toolbar. Now I go to Project Options - > Deployment -> Provisioning and I see "No provisioning file found for the selected build configuration and the selected device" What else is the IDE looking for that I missed? Jim Share this post Link to post
Rollo62 536 Posted January 13, 2023 (edited) You can try to create a new, empty app in XCode, with same bundleId net.mustangpeak.LccThrottleApp, and try to set up the provisioning profiles for debug and release from there. Usually XCode is able to set up the provisioning right and at least can give some more useful hints if not. Sometimes older or several, duplicated certificates were in the KeyChain Access, which need a clean up before installing the new ones. If XCode can build and run an app then usually its OK for Delphi too. Edited January 13, 2023 by Rollo62 Share this post Link to post
JimKueneman 1 Posted January 13, 2023 Ok I have no idea why this mattered... I moved to the Android problem and fixed that and now it is reading the provisioning files... It says the file is not right to load on my phone, but at least it is recognizing the files. https://dannywind.nl/delphi/android-sdk-for-delphi-11-2-alexandria/ Share this post Link to post