.xcworkspace doesn't work on download
Closed this issue · 2 comments
dokun1 commented
When you clone the project, the workspace doesn't compile the sample app out of the box. In order to get this working on your machine, you currently need to:
- Clone the project.
- Open the .xcworkspace file.
- Delete the red-text framework file reference in the sample app folder "Frameworks".
- Build the framework scheme.
- Drag
Lumina.framework
from the built products directory in your framework project file to the sample project file. - Go to the
LuminaSample
project file, and addLumina.framework
intoEmbedded Binaries
. - Run the
LuminaSample
app.
This works, and is normal to an extent for working with these kinds of projects, but it's not a happy path for those who want to try the framework for the first time.
It would be good if the .xcworkspace file worked out of the box when the project is cloned. I have experimented with two things:
- Changing the
BUILT_PRODUCTS_DIR
to something static that the sample project will recognize. - Hardcoding the path to
DerivedData
where the built framework is placed.
Neither of these worked, or rather I couldn't figure them out.
Help?
dokun1 commented
Belated thank you to @nathangitter for reporting this issue!