You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2017/06/03 01:50:04 UTC
[jira] [Comment Edited] (CB-12821) [SDK DEV] cann't copy
*.framework to project
[ https://issues.apache.org/jira/browse/CB-12821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16011884#comment-16011884 ]
Shazron Abdullah edited comment on CB-12821 at 6/3/17 1:49 AM:
---------------------------------------------------------------
hello:
the problem is ,can copy *.framework to project , but the framework file is invalid. my plugin.xml:
{code}
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="Umeng"
version="3.0.0">
<name>Umeng</name>
<js-module src="www/Umeng.js" name="Umeng">
<clobbers target="MobclickAgent" />
</js-module>
<!-- ios -->
<platform name="ios">
<header-file src="src/ios/UMPlugin.h" />
<source-file src="src/ios/UMPlugin.m" />
<config-file target="config.xml" parent="/widget/plugins">
<feature name="Umeng">
<param name="ios-package" value="UMPlugin"/>
</feature>
</config-file>
<source-file src="src/ios/UMMobClick.framework" framework="true" />
<framework src="CoreTelephony.framework" />
<framework src="libsqlite3.tbd"/>
<framework src="libz.tbd"/>
</platform>
</plugin>
{code}
was (Author: sanbo):
hello:
the problem is ,can copy *.framework to project , but the framework file is invalid. my plugin.xml:
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="Umeng"
version="3.0.0">
<name>Umeng</name>
<js-module src="www/Umeng.js" name="Umeng">
<clobbers target="MobclickAgent" />
</js-module>
<!-- ios -->
<platform name="ios">
<header-file src="src/ios/UMPlugin.h" />
<source-file src="src/ios/UMPlugin.m" />
<config-file target="config.xml" parent="/widget/plugins">
<feature name="Umeng">
<param name="ios-package" value="UMPlugin"/>
</feature>
</config-file>
<source-file src="src/ios/UMMobClick.framework" framework="true" />
<framework src="CoreTelephony.framework" />
<framework src="libsqlite3.tbd"/>
<framework src="libz.tbd"/>
</platform>
</plugin>
> [SDK DEV] cann't copy *.framework to project
> --------------------------------------------
>
> Key: CB-12821
> URL: https://issues.apache.org/jira/browse/CB-12821
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-ios
> Affects Versions: 7.0.2
> Environment: mac 10.11.6
> Reporter: sanbo
>
> copy *.framework to project by plugin.xml .
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org