"A distribution profile is required when building for the app store." - Headache

I got an Apple developer subscription yesterday.
I created an iOS Distribution profile and downloaded it in Xcode.

But I still get that message each time I try to build for the App Store.
I tried restarting my Mac, restarting Xojo, installing Xcode 8.0 (had v7.x)

And the issue persists. Please help :slight_smile:

OSX or iOS?

OSX requires a 3rd party app (AppWrapper etc) to sign you app after the fact.
iOS should sign it via Xcode

iOS Dave.

I thought Xojo was responsible for code-signing.
How to code-sign within Xcode ?
And in this case do I have to select “Code-Signing -> No Team” in Xojo ?

Xojo IDE does code signing for iOS apps.

Have you also created a development profile for your app? Does the bundle ID match the profiles?

I don’t know the specifics as I use another tool for my iOS work, but I know that “no team” is NOT the right answer

In Xcode I have the option of “None”, “”, “add new account”
but somewhere you need to connect your new Apple Dev account

[quote=287851:@Dave S]I don’t know the specifics as I use another tool for my iOS work, but I know that “no team” is NOT the right answer

In Xcode I have the option of “None”, “”, “add new account”
but somewhere you need to connect your new Apple Dev account[/quote]
Dave, since you don’t use Xojo for iOS, please refrain from answering. You are confusing the issue.

Hi Greg,

Thank you for pointing out that a development profile is also needed.
I have now created a new development and deployment profile using an explicit Bundle identifier (previous one was com.company.*)

And for the first time I saw a popup asking to access Keychaing.

Problem solved!

Nothing I said was wrong, but if you feel so strongly, please delete my “offending” posts

I also discovered that I couldn’t get the * bundle identifier to work but an explicit one solved my problem.

I never succeeded with generic identifiers either.

I feel your pain.

@dave duke you can’t use generic identifiers. I don’t know why but it hasn’t worked for me, and I know others here have had similar issues.

There are really very few reasons to use generic identifiers anyway, just save yourself the pain and make unique identifiers.