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-23665] Make sure custom classes will be added to Xcode Project #43

Merged
merged 5 commits into from Jul 29, 2016

Conversation

janvennemann
Copy link
Contributor

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

This PR contains two fixes for issues where using custom classes without any other system framework would result in exceptions. See the commit messages for detailed explanation for each issue.

The metabase.classes property will be undefined when not using
system frameworks like UIKit. This will result in an exception during
the metabase generation of custom swift source files. To prevent this
exception, this fix initializes the property to an empty object if it
is not already set.
Third party libraries or custom classes won't have an entry in the
nativeModules variable. To still update the Xcode project when no
other system frameworks are used, we need to explicitly check for
them before opting out of updating the project.
@cheekiatng
Copy link
Contributor

CR AND FT PASSED. APPROVED!

@cheekiatng cheekiatng merged commit 6dc6f51 into tidev:master Jul 29, 2016
@janvennemann janvennemann deleted the TIMOB-23665 branch March 23, 2017 14:07
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