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

[TIMOB-24242] Pass extra header search paths to metabase parser #118

Merged
merged 3 commits into from Mar 2, 2017

Conversation

janvennemann
Copy link
Contributor

JIRA: https://jira.appcelerator.org/browse/TIMOB-24242

This passes additional header search paths from CocoaPods to the
metabase parser so internal includes to other headers within a Pod can
be properly resolved.

This passes additional header search paths from CocoaPods to the
metabase parser so internal includes to other headers within a Pod can
be properly resolved.
if (frameworks.size() > 0) {
for (auto i = 0; i < frameworks.size(); i++) {
auto each = frameworks[i];
if (each.at(0) == (int)'"') {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you give me an example of the frameworks array? We should try to avoid doing those string-compares - people can also use ' for the iOS includes

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's copied from the include step above. It has nothing to do with the import statements but will be generated in https://github.com/appcelerator/hyperloop.next/pull/118/files#diff-ab30ce96af74b6522ec0cbb3a275fc14R227 and is a path. These lines will trim leading and trailing " from that path. For example "/Users/jvennemann/Development/appc/hyperloop-examples/src"

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks, I were at the Framework includes, not the Framework search paths..

@hansemannn
Copy link
Contributor

Approved!

@hansemannn hansemannn merged commit d3c40e2 into tidev:master Mar 2, 2017
@janvennemann janvennemann deleted the TIMOB-24242 branch March 23, 2017 14:00
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

Successfully merging this pull request may close these issues.

None yet

2 participants