Xcode: Embed Framework in React Native Module without modifying application projectWarning: The Copy Bundle Resources build phase contains this target's Info.plist fileXcode subproject dependency linker error with React NativeError Running React Native App From Terminal (iOS)can't find ios framework headers in react native module libraryHow to create native ios react-native module?Native Module cannot be null - when integrating react-native project inside another react-native projectTrying to embed a YouTube video using react-native-youtube moduleHow to write IOS framework for react native componentsReact Native xcode project “Header Search Path”Can't build react native ios project after having installed my native module (Undefined symbols)
What is the purpose of using a decision tree?
I keep switching characters, how do I stop?
How to split IPA spelling into syllables
How do you justify more code being written by following clean code practices?
How to preserve electronics (computers, ipads, phones) for hundreds of years?
What should be the ideal length of sentences in a blog post for ease of reading?
Why would five hundred and five same as one?
Is there a distance limit for minecart tracks?
Connection Between Knot Theory and Number Theory
Should a narrator ever describe things based on a character's view instead of facts?
Can you describe someone as luxurious? As in someone who likes luxurious things?
Why didn't Voldemort know what Grindelwald looked like?
Offset in split text content
How can I, as DM, avoid the Conga Line of Death occurring when implementing some form of flanking rule?
What is the tangent at a sharp point on a curve?
Sort with assumptions
Why is indicated airspeed rather than ground speed used during the takeoff roll?
Has the laser at Magurele, Romania reached the tenth of the Sun power?
Why does the frost depth increase when the surface temperature warms up?
Air travel with refrigerated insulin
"Marked down as someone wanting to sell shares." What does that mean?
What properties make a magic weapon befit a Rogue more than a DEX-based Fighter?
Not hide and seek
Why is "la Gestapo" feminine?
Xcode: Embed Framework in React Native Module without modifying application project
Warning: The Copy Bundle Resources build phase contains this target's Info.plist fileXcode subproject dependency linker error with React NativeError Running React Native App From Terminal (iOS)can't find ios framework headers in react native module libraryHow to create native ios react-native module?Native Module cannot be null - when integrating react-native project inside another react-native projectTrying to embed a YouTube video using react-native-youtube moduleHow to write IOS framework for react native componentsReact Native xcode project “Header Search Path”Can't build react native ios project after having installed my native module (Undefined symbols)
I am developing a React Native Module that includes our Framework 'AntaviSense'.
I am able to include the framework in the main project and by "embed framework" in the Project Settings, everything works fine.
React Native Module
Adding to main project works
My question though is: can I avoid changing the main project, and just include it into the React Native Module project (which is a subproject)? I tried various directories in "React-Module/Build Phases/Copy Files" without luck. This would make the inclusion into other projects much easier.
ios xcode react-native
add a comment |
I am developing a React Native Module that includes our Framework 'AntaviSense'.
I am able to include the framework in the main project and by "embed framework" in the Project Settings, everything works fine.
React Native Module
Adding to main project works
My question though is: can I avoid changing the main project, and just include it into the React Native Module project (which is a subproject)? I tried various directories in "React-Module/Build Phases/Copy Files" without luck. This would make the inclusion into other projects much easier.
ios xcode react-native
Did you try in your "React Native Module" target to includeAntaviSense
framework in "Embedded Binaries"?
– Aleksander Grzyb
May 29 '17 at 16:21
A library doesn't have an option to include framework in embedded binaries as it's not a "binary".
– manishg
May 30 '17 at 19:35
Having the same exact problem, I've tried to solve it following medium.com/@jverhoeven/… but without success. @ulf did you manage to find a solution to this?
– Andrea Cresta
May 3 '18 at 8:58
add a comment |
I am developing a React Native Module that includes our Framework 'AntaviSense'.
I am able to include the framework in the main project and by "embed framework" in the Project Settings, everything works fine.
React Native Module
Adding to main project works
My question though is: can I avoid changing the main project, and just include it into the React Native Module project (which is a subproject)? I tried various directories in "React-Module/Build Phases/Copy Files" without luck. This would make the inclusion into other projects much easier.
ios xcode react-native
I am developing a React Native Module that includes our Framework 'AntaviSense'.
I am able to include the framework in the main project and by "embed framework" in the Project Settings, everything works fine.
React Native Module
Adding to main project works
My question though is: can I avoid changing the main project, and just include it into the React Native Module project (which is a subproject)? I tried various directories in "React-Module/Build Phases/Copy Files" without luck. This would make the inclusion into other projects much easier.
ios xcode react-native
ios xcode react-native
edited Mar 7 at 1:11
Cœur
19k9112154
19k9112154
asked May 9 '17 at 14:56
UlfUlf
562
562
Did you try in your "React Native Module" target to includeAntaviSense
framework in "Embedded Binaries"?
– Aleksander Grzyb
May 29 '17 at 16:21
A library doesn't have an option to include framework in embedded binaries as it's not a "binary".
– manishg
May 30 '17 at 19:35
Having the same exact problem, I've tried to solve it following medium.com/@jverhoeven/… but without success. @ulf did you manage to find a solution to this?
– Andrea Cresta
May 3 '18 at 8:58
add a comment |
Did you try in your "React Native Module" target to includeAntaviSense
framework in "Embedded Binaries"?
– Aleksander Grzyb
May 29 '17 at 16:21
A library doesn't have an option to include framework in embedded binaries as it's not a "binary".
– manishg
May 30 '17 at 19:35
Having the same exact problem, I've tried to solve it following medium.com/@jverhoeven/… but without success. @ulf did you manage to find a solution to this?
– Andrea Cresta
May 3 '18 at 8:58
Did you try in your "React Native Module" target to include
AntaviSense
framework in "Embedded Binaries"?– Aleksander Grzyb
May 29 '17 at 16:21
Did you try in your "React Native Module" target to include
AntaviSense
framework in "Embedded Binaries"?– Aleksander Grzyb
May 29 '17 at 16:21
A library doesn't have an option to include framework in embedded binaries as it's not a "binary".
– manishg
May 30 '17 at 19:35
A library doesn't have an option to include framework in embedded binaries as it's not a "binary".
– manishg
May 30 '17 at 19:35
Having the same exact problem, I've tried to solve it following medium.com/@jverhoeven/… but without success. @ulf did you manage to find a solution to this?
– Andrea Cresta
May 3 '18 at 8:58
Having the same exact problem, I've tried to solve it following medium.com/@jverhoeven/… but without success. @ulf did you manage to find a solution to this?
– Andrea Cresta
May 3 '18 at 8:58
add a comment |
1 Answer
1
active
oldest
votes
node-xcode could be an option, it enables you to parse an modify XCode projects, I am not a React developer but you could create a node-script which modifies the project and adds the framework when you add the module (in cordova this would be a hook, maybe there is something similar in React).
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f43873214%2fxcode-embed-framework-in-react-native-module-without-modifying-application-proj%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
node-xcode could be an option, it enables you to parse an modify XCode projects, I am not a React developer but you could create a node-script which modifies the project and adds the framework when you add the module (in cordova this would be a hook, maybe there is something similar in React).
add a comment |
node-xcode could be an option, it enables you to parse an modify XCode projects, I am not a React developer but you could create a node-script which modifies the project and adds the framework when you add the module (in cordova this would be a hook, maybe there is something similar in React).
add a comment |
node-xcode could be an option, it enables you to parse an modify XCode projects, I am not a React developer but you could create a node-script which modifies the project and adds the framework when you add the module (in cordova this would be a hook, maybe there is something similar in React).
node-xcode could be an option, it enables you to parse an modify XCode projects, I am not a React developer but you could create a node-script which modifies the project and adds the framework when you add the module (in cordova this would be a hook, maybe there is something similar in React).
answered May 31 '17 at 21:06
DavidDavid
5,27431332
5,27431332
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f43873214%2fxcode-embed-framework-in-react-native-module-without-modifying-application-proj%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Did you try in your "React Native Module" target to include
AntaviSense
framework in "Embedded Binaries"?– Aleksander Grzyb
May 29 '17 at 16:21
A library doesn't have an option to include framework in embedded binaries as it's not a "binary".
– manishg
May 30 '17 at 19:35
Having the same exact problem, I've tried to solve it following medium.com/@jverhoeven/… but without success. @ulf did you manage to find a solution to this?
– Andrea Cresta
May 3 '18 at 8:58