You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ xcodebuild -list
Information about workspace "WorkspaceWithProjectInGroup":
Schemes:
DummyProject
DummyProject-NEW
DummyRootProject
DummyRootProject-WORKS
It really looks to me like FileReference.absolute_path is wrong for type=group -- it doesn't take the group location into account. Here is the relevant Group/FileRef node from the workspace
If I have a workspace with a project that is inside a group, the schemes in that project are not found with workspace.load_schemes()
This is causing problems in fastlane, which cannot access these schemes.
This zip has a workspace with 2 projects, one in a group, and one at root.
WorkspaceWIthProjectInGroup.zip
I have the following script (using xcodeproj 1.7.0)
This prints
But DummyProject has another shared scheme (DummyProject-NEW). Here is the result of a find for xcscheme files
And here is xcodebuild -list
It really looks to me like
FileReference.absolute_path
is wrong fortype=group
-- it doesn't take the group location into account. Here is the relevant Group/FileRef node from the workspaceThe path to the project is
./DummyProject/DummyProject/DummyProject.xcodeproj
This is called from
Workspace.load_schemes
The text was updated successfully, but these errors were encountered: