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

Change RealmReact to be a dynamic framework #61

Merged
merged 1 commit into from
Oct 14, 2015
Merged

Conversation

appden
Copy link
Contributor

@appden appden commented Oct 14, 2015

It embeds RealmJS and GCDWebServers frameworks. This fixes #58, where there were issues with building for devices rather than just the simulator.

Some changes were made so that RealmReact.m didn't need to be weakly linked to libReact.a since that would actually cause any executable that uses this framework from being able to compile with bitcode.

It embeds RealmJS and GCDWebServers frameworks. This fixes #58, where there were issues with building for devices rather than just the simulator.

Some changes were made so that RealmReact.m didn't need to be weakly linked to libReact.a since that would actually cause any executable that uses this framework from being able to compile with bitcode.
@@ -77,22 +87,26 @@ -(void)setBridge:(RCTBridge *)bridge {
}

[contextExecutor executeBlockOnJavaScriptQueue:^{
RCTJavaScriptContext *rctJSContext = object_getIvar(contextExecutor, contextIvar);
Copy link
Contributor

Choose a reason for hiding this comment

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

why did you change this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because I wanted to avoid weak linking libReact.a, which would mean nobody could build with bitcode using this framework. Strongly linking libReact.a wouldn't really work either.

@alazier
Copy link
Contributor

alazier commented Oct 14, 2015

👍 errors are with CI

@appden appden merged commit 9916fe1 into master Oct 14, 2015
@appden appden deleted the sk-react-framework branch October 14, 2015 20:22
alazier pushed a commit that referenced this pull request May 23, 2016
Add fine-grained notification stuff
alazier pushed a commit that referenced this pull request Sep 14, 2016
Release 0.14.0-5 with sync 0.26.3
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

React Example Loading
2 participants