Recreate-user-schemes failed


#1

Bitrise Build Issue Report template

Description of the issue

I just setup my build and recreate-user-schemes fails with:
Issue with input: ProjectPath - path not exist at: Link iOS/Link.xcworkspace

It looks the same as Issue with input: ProjectPath but I haven’t modified anything.

Environment:

Where did the issue happen?

Bitrise.io, iOS build

Which build Step causes the issue and which version of the step?

recreate-user-schemes@1.0.2

Reproducibility

  • Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
  • Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app. : NO
  • Does the issue happen sporadically, or every time? : EVERY TIME
  • Does upgrading the build Step to the latest version help? : NO
  • When did the issue start? : FIRST TIME

Local reproduction

Local build works fine.

Build log

Please copy paste the build’s bitrise.io URL here (or if the issue happens somewhere else then the full logs), or if you can’t share the url / log here then send the url or full log through a private channel (e.g. email - https://www.bitrise.io/contact ), with a link to the related Discuss issue.


#2

Hi @tom.isaacson!

Sorry to hear about the issue. Could you please enable Support Access on the Settings of the app?


#3

Change made.


#4

Thanks! Are you absolutely certain that the path here is provided correctly? Initially I’d assume that there’s no folder like that or the workspace isn’t there.


#5

There’s no such file as Link iOS/Link.xcworkspace but I didn’t set this, I don’t know where it’s come from.


#6

Seems like a default path the website sets for a hybrid project, but can you set it the to right path anyhow?


#7

Set what? This was all setup automatically when I created the build. I can’t find any documentation on your website that explains what recreate-user-schemes is trying to do so I don’t know what path you’re talking about or where I might change it.


#8

Sorry if this wasn’t clear!

Recreate-user-schemes will try to recreate your already existing schemes which aren’t shared to be shared like Xcode would.

So this problem isn’t really specific to the step in anyway, any other Xcode related step would fail since the problem is that the project path the site automatically provided for you isn’t correct, as detailed by the error. The step has this one input only:

Which is taken from the environment variable in your project I referenced earlier.

This is what you have to modify/provide an accurate path in order for things to work.

Hope this helps, please let me know if you have any more questions!