Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.xcworkspace doesn't work on download #74

Closed
dokun1 opened this issue Mar 9, 2018 · 2 comments
Closed

.xcworkspace doesn't work on download #74

dokun1 opened this issue Mar 9, 2018 · 2 comments

Comments

@dokun1
Copy link
Owner

dokun1 commented Mar 9, 2018

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:

  1. Clone the project.
  2. Open the .xcworkspace file.
  3. Delete the red-text framework file reference in the sample app folder "Frameworks".
  4. Build the framework scheme.
  5. Drag Lumina.framework from the built products directory in your framework project file to the sample project file.
  6. Go to the LuminaSample project file, and add Lumina.framework into Embedded Binaries.
  7. 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:

  1. Changing the BUILT_PRODUCTS_DIR to something static that the sample project will recognize.
  2. 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
Copy link
Owner Author

dokun1 commented Mar 11, 2018

Belated thank you to @nathangitter for reporting this issue!

@dokun1 dokun1 added this to the Post v1.0 milestone Mar 11, 2018
@dokun1
Copy link
Owner Author

dokun1 commented Mar 11, 2018

Fixed by @gregheo

@dokun1 dokun1 closed this as completed Mar 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant