Reputation: 1334
According to this bug report, custom iOS Frameworks are added automatically to Xcode's 'Embed Binaries' section.
The 'offending' code linked to from that bug report (the code I actually need) is also present in the version of Cordova I'm using (version 6.0.0, via Meteor), but the framework is still added is a non-embedded binary, making my app fail on startup.
So I'm wondering how I can ensure my custom frameworks get embedded?
The code in question looks like this (in my plugin.xml):
<platform name="ios">
<framework src="build/MyFramework.framework" custom="true" />
</platform>
Upvotes: 3
Views: 909
Reputation: 1
Try to use the new 'embed' option that is mentioned in the jira ticket to see if they are available in your cordova version.
<platform name="ios">
<framework src="build/MyFramework.framework" custom="true" embed="true"/>
</platform>
Maybe the default value for embed is false.
Upvotes: 0