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-24198] Force include Foundation framework #114

Merged
merged 2 commits into from Feb 2, 2017

Conversation

janvennemann
Copy link
Contributor

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

Fixes a metabase parsing issue for headers that do not explicitly include the Foundation framework themselves.

@hansemannn
Copy link
Contributor

The backport #115 / 2.0.1 works, this one throws the following error:

[INFO]  [Hyperloop] generating WebKit WebKit/WebKit
[INFO]  [Hyperloop] generating WebKit WebKit/WebKit

/Users/hknoechel/Documents/Apps/hyperloop-examples/plugins/hyperloop/2.1.0/node_modules/hyperloop-metabase/lib/generate/custom.js:377
		state.getClassNames().forEach(function (name) {
                        ^
JSParseError: invalid protocol specified "WKNavigationDelegate" (/Users/hknoechel/Documents/Apps/hyperloop-examples/build/iphone/build/Products/Debug-iphonesimulator/Hyperloop_Sample.app/wkwebview.js:3:30)
    at /Users/hknoechel/Documents/Apps/hyperloop-examples/plugins/hyperloop/2.1.0/node_modules/hyperloop-metabase/lib/generate/custom.js:400:13
    at Array.forEach (native)
    at /Users/hknoechel/Documents/Apps/hyperloop-examples/plugins/hyperloop/2.1.0/node_modules/hyperloop-metabase/lib/generate/custom.js:398:15
    at Array.forEach (native)
    at Function.Parser.generate (/Users/hknoechel/Documents/Apps/hyperloop-examples/plugins/hyperloop/2.1.0/node_modules/hyperloop-metabase/lib/generate/custom.js:377:25)
    at /Users/hknoechel/Documents/Apps/hyperloop-examples/plugins/hyperloop/2.1.0/node_modules/hyperloop-metabase/lib/generate/index.js:227:13
    at /Users/hknoechel/Documents/Apps/hyperloop-examples/plugins/hyperloop/2.1.0/node_modules/hyperloop-metabase/node_modules/async/lib/async.js:52:16
    at /Users/hknoechel/Documents/Apps/hyperloop-examples/plugins/hyperloop/2.1.0/node_modules/hyperloop-metabase/node_modules/async/lib/async.js:269:32
    at /Users/hknoechel/Documents/Apps/hyperloop-examples/plugins/hyperloop/2.1.0/node_modules/hyperloop-metabase/node_modules/async/lib/async.js:44:16
    at module.exports (/Users/hknoechel/Documents/Apps/hyperloop-examples/plugins/hyperloop/2.1.0/node_modules/hyperloop-metabase/templates/builtins/titanium.js:243:2)

Copy link
Contributor

@hansemannn hansemannn left a comment

Choose a reason for hiding this comment

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

CR + FT passed, PR approved!

@hansemannn hansemannn merged commit 136d0ff into tidev:master Feb 2, 2017
@janvennemann janvennemann deleted the TIMOB-24198 branch March 23, 2017 13:59
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