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

Add an xcworkspace, move RAC reference into it #52

Merged
merged 7 commits into from Jan 29, 2013
Merged

Conversation

jspahrsummers
Copy link
Member

This allows an application project to use two different libraries with RAC dependencies.

  • When working on RCL directly, it should be built and tested from the xcworkspace file.
  • To add RCL to an application, set up a workspace for your app, and add the RAC and RCL project files to it. Then link RAC and RCL into your application target and Xcode will figure out the dependencies automatically.

FRAMEWORK_SEARCH_PATHS = "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"";
FRAMEWORK_SEARCH_PATHS = (
"\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"",
"\"/Users/justin/Library/Developer/Xcode/DerivedData/ReactiveCocoaLayout-hagzauzqgqzpvraojalyjhjcqhqx/Build/Products/Debug\"",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whaaaat is this? Surely you didn't mean to reference this directory specifically?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sigh, thought I cleaned up all the auto-added search paths. I'll fix that up.

@@ -274,6 +225,8 @@
/* End PBXContainerItemProxy section */

/* Begin PBXFileReference section */
D02A902016B717AC000DC2DA /* ReactiveCocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ReactiveCocoa.framework; path = "../../../../ReactiveCocoaLayout-hagzauzqgqzpvraojalyjhjcqhqx/Build/Products/Debug/ReactiveCocoa.framework"; sourceTree = BUILT_PRODUCTS_DIR; };
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wat (dat path)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't actually matter, honestly. CI works, and it works including it in a parent project. Not sure how to even rewrite the path in a sane way.

@ghost ghost assigned joshaber Jan 29, 2013
@joshaber
Copy link
Member

🏧

@jspahrsummers
Copy link
Member Author

🚾

@joshaber
Copy link
Member

‼️

joshaber added a commit that referenced this pull request Jan 29, 2013
Add an xcworkspace, move RAC reference into it
@joshaber joshaber merged commit 78f9f3c into master Jan 29, 2013
@joshaber joshaber deleted the workspace branch January 29, 2013 19:07
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 this pull request may close these issues.

None yet

3 participants