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

pluginstall not copying files to directory #16

Open
Ayame opened this issue May 23, 2013 · 0 comments
Open

pluginstall not copying files to directory #16

Ayame opened this issue May 23, 2013 · 0 comments

Comments

@Ayame
Copy link

Ayame commented May 23, 2013

With the GAPlugin, the pluginstall command modifies the cordova.plist file etc, but does not copy the required files to the Plugins directory for ios project.

Plugins.xml file looks correct though:

<name>GAPlugin</name>

<asset src="www/GAPlugin.js" target="GAPlugin.js" />

<engines>
  <engine name="cordova" version=">=2.0.0" />
</engines>  

<!-- android -->
<platform name="android">
    <config-file target="res/xml/config.xml" parent="plugins">
        <plugin name="GAPlugin" value="com.adobe.plugins.GAPlugin"/>
    </config-file>

    <source-file src="src/android/GAPlugin.java"
            target-dir="src/com/adobe/plugins" />
    <source-file src="src/android/libGoogleAnalyticsV2.jar"
            target-dir="libs" />
</platform>

<!-- ios -->
<platform name="ios">
    <!-- Cordova < 2.3 -->
    <plugins-plist key="GAPlugin" string="GAPlugin" />

    <!-- Cordova >= 2.3 -->
    <config-file target="config.xml" parent="plugins">
        <plugin name="GAPlugin" value="GAPlugin"/>
    </config-file>  

    <source-file src="src/ios/GAPlugin.m" />
    <source-file src="src/ios/libGoogleAnalytics.a" />

    <header-file src="src/ios/GAITransactionItem.h" />
    <header-file src="src/ios/GAITransaction.h" />
    <header-file src="src/ios/GAITracker.h" />
    <header-file src="src/ios/GAITrackedViewController.h" />
    <header-file src="src/ios/GAI.h" />
    <header-file src="src/ios/GAPlugin.h" />

    <framework src="libGoogleAnalytics.a" />
    <framework src="CoreData.framework" />
    <framework src="SystemConfiguration.framework" />
</platform>

(so all header files are not copied)

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

No branches or pull requests

1 participant