2

I'm trying to create a React Native iOS build in MS AppCenter and getting the following error:

No scheme found for project.xcworkspace

No scheme found error in App Center

It's probably an issue related to my git repository structure. My git root and project root isn't the same directory. It looks like this: git_root > react_native_project_root > ios > project.xcworkspace

Any ideas how can I resolve this situation?

Tamás Sengel
  • 55,884
  • 29
  • 169
  • 223
Dima Portenko
  • 3,443
  • 5
  • 35
  • 48

3 Answers3

0

My assumption was correct after I've changed git structure from git_root > react_native_project_root > ios > project.xcworkspace to git_root > ios > project.xcworkspace, issue was resolved.

Dima Portenko
  • 3,443
  • 5
  • 35
  • 48
0

I faced the same issue, described it in AppCenter: build React-Native project which is 2 levels deep in Git. From official AppCenter docs:

For best performance, the analysis is currently limited to four directory levels including the root of your repository.

So, your xcode project happens to be too deep in the hierarchy. I used the same workaround as you did - I changed the folder structure.

Shaddix
  • 5,901
  • 8
  • 45
  • 86
0

Make sure the .xcscheme files are not tracked by Git LFS.

Tamás Sengel
  • 55,884
  • 29
  • 169
  • 223