Skip to content
This repository has been archived by the owner on Jun 2, 2019. It is now read-only.

Shared Schemes #13

Open
thejustinwalsh opened this issue Aug 11, 2015 · 2 comments · May be fixed by #25
Open

Shared Schemes #13

thejustinwalsh opened this issue Aug 11, 2015 · 2 comments · May be fixed by #25

Comments

@thejustinwalsh
Copy link

When using xcodebuild or xctool to build the generated workspace and projects one will be missing the schemes required to do the build.

If you open the xcworkspace file at least once in Xcode, it will automatically generate the schemes for you. If you do not open the xcworkspace with Xcode, you will be missing schemes required to build the workspace.

Requesting that premake generates the project schemes as shared schemes and places them in the xcshareddata/xcschemes folder within each xcodeproj in the workspace. Alternatively one could build a workspace scheme with project references as well.

The ruby gem Xcodeproj has a method Project#recreate_user_schemes that appears to generate schemes for you. Something like this but automated into premake upon the creation of the projects and workspaces would be legit!

@thejustinwalsh
Copy link
Author

For additional info, using this script for my travis CI builds works like a charm. However, who needs ruby when we can do this as a part of the premake process.

@starkos
Copy link
Member

starkos commented Aug 11, 2015

Thanks for the report! I think Blizzard may be about to land a bunch of new Xcode work, so I might hold off on this until I see what's coming.

tvandijck pushed a commit to Blizzard/premake-xcode that referenced this issue Mar 7, 2016
Updated fetchfiltered to match changes in configset.fetch.
@ratzlaff ratzlaff linked a pull request May 12, 2016 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants