Why am I getting "A development profile is required when building an iOS application"

  1. ‹ Older
  2. 3 years ago

    Chris O

    2 Jan 2015 Pre-Release Testers, Xojo Pro

    Thanks very much Syed and Michel for your response - No, it's allocated to the MacBook ok, but good suggestion. I also tried logging in and out of Xcode (couldn't quite figure out how to do this cleanly, so I deleted the account in Xcode and re-created it) - No luck though.

    Actually I have now gone back to the the Mac that the same Project built ok previously and it's showing up the same error.

  3. Michel B

    2 Jan 2015 Pre-Release Testers, Xojo Pro

    @Chris OBrien Thanks very much Syed and Michel for your response - No, it's allocated to the MacBook ok, but good suggestion. I also tried logging in and out of Xcode (couldn't quite figure out how to do this cleanly, so I deleted the account in Xcode and re-created it) - No luck though.

    Actually I have now gone back to the the Mac that the same Project built ok previously and it's showing up the same error.

    I had the same error, it worked fine until one day it popped that message.

    The only way I was able to solve it was to remove all profiles, delete them on the apple developer site, create new ones and install them.

  4. Jason T

    2 Jan 2015 Pre-Release Testers, Xojo Pro Sydney, Australia

    @Chris OBrien I setup my desktop mac (a bit hit and miss) and successfully deployed a simple app to the iPhone - I am now trying to get my MacBook working but I'm getting the error "A development profile is required when building an iOS application"when I try to build.

    I get this same issue moving between my iMac and MacBook. I wonder whether there's some issue with the way the profile is linked to the Xojo project that means it doesn't move well between different machines?

  5. Chris O

    3 Jan 2015 Pre-Release Testers, Xojo Pro
    Edited 3 years ago

    I'm in the process now of deleting all development certs and device profiles but I have one silly question as I do this:

    Once you have the development certs installed on your keychain and the team selected in Code signing in your project, should you be able to build without errors or do you need the device profile installed and the device connected to the mac?

    Once again thanks for your help

    Chris

    Update: After removing everything and starting again - following the instructions in I still had no joy - The exact same message

    A development profile is required when building an iOS application.

    It would be really helpful if more information was given in the dialog.

    I then went to Xcode and created a simple app to see if I could deploy that and it deployed and ran without a hitch. I feel I'm missing something simple, but it's very frustrating - I brings me right back to the frustrations trying to deploy Xojo web apps :-(

  6. 2 years ago

    Did you ever get a solution to this? I get the same error message and have tried everything, to no avail. If this is a bug I am going to ask for my money back.

    Larry

  7. Chris O

    2 Aug 2015 Pre-Release Testers, Xojo Pro

    Hi Larry

    Travis Hill sent me instructions privately on how to make this work. I can't figure out a way to send you this, but if you want to give me an email address I can send it that way.

    Chris

  8. Chris O

    2 Aug 2015 Pre-Release Testers, Xojo Pro

    Here's the main gist:

    I would try:

    Delete any profiles you have in Xcode
    Create a wildcard App ID without your com dot and company dot (just a *)
    Make a new iOS development profile using that wildcard app id
    Hit refresh on the Xcode account screen- so the only ios development profile that is there is the one using wildcard app is (*)
    Reload Xojo and try again
    This will set it up so no matter what Bundle ID you use in any ios app build settings, the profile will be valid.

    The only thing about this solution is I think you may have difficulties with wildcards if you are planning to submit to the app store.

  9. Jason T

    2 Aug 2015 Pre-Release Testers, Xojo Pro Sydney, Australia
    Edited 2 years ago

    @Chris OBrien The only thing about this solution is I think you may have difficulties with wildcards if you are planning to submit to the app store.

    You can still submit to the App Store, but you can't enable In App Purchase or Apple Push Notifications with a wildcard app ID.

    When I was having trouble with profiles I found that a wildcard app ID managed to get me past the issue and I was able to build and upload my app via iTunes Connect, etc. However as I need APN, I ultimately had to transition to a specific app ID but fortunately that was by then comparatively painless.

  10. C T

    3 Aug 2015 Pre-Release Testers, Xojo Pro Ontario, Canada

    One possibility is you need the provisioning profile on the MacBook. You may have to export the provisioning profile on the desktop Mac, put it on a memory device and install it on your MacBook.

  11. last year

    Aurelian N

    12 Nov 2016 Pre-Release Testers, Xojo Pro

    Any idea how to fix this ?

    I have OSX Sierra and Xojo 2016 R3 and whatever i do i will always give me this error so i cannot build for IOS.

    Thanks .

  12. Art G

    12 Nov 2016 Prescott AZ

    Haven't tried this yet with the latest OS and Xojo. In the past, I could never make a wildcard profile work at all, so I would avoid those.

  13. Michel B

    12 Nov 2016 Pre-Release Testers, Xojo Pro

    I never was able to use wildcard profiles on iOS. But it is not really an issue, since I am not making thousands of apps anyway.

  14. Jérémie L

    14 Nov 2016 Pre-Release Testers, Xojo Pro Europe (France)

    Did you download the "hidden" iOS update ?

    Xojo > Preferences > Updates > Check Now

  15. Aurelian N

    16 Nov 2016 Pre-Release Testers, Xojo Pro

    @Michel B I never was able to use wildcard profiles on iOS. But it is not really an issue, since I am not making thousands of apps anyway.

    Well i did created a test profile for that specific app as well and still not working , so i have no idea what else i could do .

  16. Aurelian N

    16 Nov 2016 Pre-Release Testers, Xojo Pro

    @Jérémie Leroy Did you download the "hidden" iOS update ?

    Xojo > Preferences > Updates > Check Now

    I guess i saw that update once i installed the app, so i presume that it is updated, is there a way to manually update that again ?

    Thanks

  17. 12 months ago

    Had this issue today. Had all my certificates created and installed, downloaded them in Xcode. I kept getting the "A development profile is needed" error in Xojo when building/signing. Eventually I created a test app in Xcode using my developer profile and deployed the app to the iPhone (just a blank iOS app). Went back to Xojo and tried to build/sign again and it all worked - ended up with a signed app which I could then upload to the iPhone using Xcode. So try creating an app in Xcode and deploying it, then go back to Xojo and build/sign your app, see if the error is gone.

  18. 9 months ago

    Just to confirm that deleting and recreating profiles and certificates did not work, but Jonathan Clark's solution worked perfectly for me. Thanks so much Jonathan!

  19. 7 months ago

    Dan B

    24 Apr 2017 Pre-Release Testers, Xojo Pro

    Confirming Rod with the addition that I changed my AppId from com.xxxx.* to just *

  20. James P

    28 Apr 2017 Pre-Release Testers, Xojo Pro Jamaica

    I had same problem today with building a new iOS App. Followed Jonathan Clark's suggestion. Opened a new Project in Xcode, added my profile to Build Settings/Signing/Development Team dropdown. Then Product/Build For/Testing - the build failed but now the app build's OK in Xojo.

  21. 4 months ago

    Matt P

    Jul 16 Pre-Release Testers, Xojo Pro

    Same problem, and building a new iOS project in Xcode worked for me:

    @Jonathan C Eventually I created a test app in Xcode using my developer profile and deployed the app to the iPhone (just a blank iOS app). Went back to Xojo and tried to build/sign again and it all worked

or Sign Up to reply!