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

3rd party frameworks headers #53

Open
colinamuzo opened this issue Jun 29, 2015 · 1 comment
Open

3rd party frameworks headers #53

colinamuzo opened this issue Jun 29, 2015 · 1 comment

Comments

@colinamuzo
Copy link

Hi

It is recommended that 3rd party frameworks are added to the "files" section rather than the "frameworks" section. Are entries in the files section handled differently to those in the frameworks section?

When I add my 3rd party frameworks to the files section, the headers in those frameworks are not always found (ie I get "header not found" build errors). The errors seem to come from angle-bracket include lines, rather than quotes.

I had trouble adding accurate folder paths to the "headerpaths" section, so I just added a high level folder with recursion (using "**"). This fixed some of the issues (ie some of the headers were then found), but some were still not found. The frameworks which contain the headers which are still not found use symlinks in their folder structure (which I believe is common in frameworks). Is the use of symlinks a problem?

If, instead of adding the 3rd party frameworks to the files section, I add them to the "frameworks" section, and I copy the frameworks into a folder already on the system search paths (eg "/Applications/Xcode.app/Contents/Developer/Platforms//Developer/SDKs//System/Libraries/Frameworks", then the frameworks are found and there are no such "file not found" errors. I'd rather not take this approach, because I'd like the frameworks to be kept with the project code, rather than polluting the build machine.

Can anyone help me get this working correctly?

The frameworks that I'm using are Google open source, Google plus, Google play games and Tapjoy.

@colinamuzo
Copy link
Author

From looking at the XUPorter scripts I can see that the frameworks and files sections are not handled significantly differently. Is it just to do with the location of the frameworks (ie system folders vs user folders), or something?

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

1 participant