Ios-auto-provision not able to find scheme in workspace

I’m trying to use the ios-auto-provision to sign and upload my app to App Store Connect.

Unfortunately, it fails with this error:

Analyzing project

Error:

project (<Something>.xcworkspace) does not contain scheme: <Something>

If I run xcodebuild -list after a fresh clone of the repo (without opening xcode) it does indeed show the scheme in question.

Any idea what I might be doing wrong?

Thanks!

Build link: https://app.bitrise.io/build/074483a47dfa54c4

Hi @gps!

Sorry to hear about it. Can you please also enable Support Access on the Settings tab of the app ( https://devcenter.bitrise.io/troubleshooting/enabling-bitrise-support-user/ ) so that we can take a more in-depth look at it?

Hi @bitce,

Can you please also enable Support Access on the Settings tab of the app ( https://devcenter.bitrise.io/troubleshooting/enabling-bitrise-support-user/ ) so that we can take a more in-depth look at it?

Done.

Thanks! Was the scheme certainly shared / is it committed to the master branch? I’ve added a simple Recreate User Schemes step and it seems to be working: https://app.bitrise.io/build/beac8a400ac14e35

I believe it is, but perhaps I’m wrong. We use xcodegen to generate the xcodeproj and schemes, and when I run it locally, the scheme is indeed shared. xcodebuild -list also finds it.

In any event, as you said, adding the recreate user schemes step works, so we’ll use that.

Thanks so much for your help, you’ve been incredibly helpful!

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.