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 add Lumina.framework into Embedded 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.
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:
Lumina.framework
from the built products directory in your framework project file to the sample project file.LuminaSample
project file, and addLumina.framework
intoEmbedded Binaries
.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:
BUILT_PRODUCTS_DIR
to something static that the sample project will recognize.DerivedData
where the built framework is placed.Neither of these worked, or rather I couldn't figure them out.
Help?