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

AQGridView as Static Library #32

Closed
kfarst opened this issue Jan 13, 2011 · 6 comments
Closed

AQGridView as Static Library #32

kfarst opened this issue Jan 13, 2011 · 6 comments

Comments

@kfarst
Copy link

kfarst commented Jan 13, 2011

Added the project into the Frameworks folder, made it a Direct Dependency in the app, as well as added the path for AQGridView to the Header Search Paths and User Header Search Paths. Added '-ObjC' and '-all_load' to Other Linker Flags since it is a 4.0 project. What else am I missing?

@markph0204
Copy link

What error are you getting kfarst?

@kfarst
Copy link
Author

kfarst commented Jan 13, 2011

warning: skipping file '/Users/kfarst/projects/PivotPoint/Libraries/AQGridView.xcodeproj' (unexpected file type 'wrapper.pb-project' in Link Binary with Libraries build phase)

@AlanQuatermain
Copy link
Owner

I've never even bothered with that. All the classes are inside the root 'Classes' folder, so I just drag those files directly into the other projects and either copy or reference them. The example projects all just include the raw .m and .h files as references.

Alternatively you can simply build the static library separately and include that by reference along with just the header files from the AQGridView project.

@markph0204
Copy link

First, I did what Alan suggests, which works.
Next, I made a static library Framework. Alan would you be interested in adding that in? If so I can fork/request pull. Its a simple bash script that could be dropped into the scripts directory, plus an umbrella header for easy import of common headers.

@AlanQuatermain
Copy link
Owner

Sure, that sounds pretty useful.

@kfarst
Copy link
Author

kfarst commented Feb 1, 2011

Thank you both for your help!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants