ReferenceError: Can't find variable: LocalFileSystem

366 views
Skip to first unread message

Andrew McGregor

unread,
Feb 7, 2014, 6:10:40 AM2/7/14
to phon...@googlegroups.com
Hi,

When I use build to install my app on my iPhone for testing I get this error:

ReferenceError: Can't find variable: LocalFileSystem phonegap build

Any ideas?

Thanks

Andy



<?xml version='1.0' encoding='utf-8'?>
<widget id="uk.co.events.app"
        version="2.0.1" xmlns="http://www.w3.org/ns/widgets"
        xmlns:cdv="http://cordova.apache.org/ns/1.0">
    <name>Events</name>
    <description>
        Events
    </description>
    <author email="support@events" href="http://events">
        Events
    </author>
    <content src="index.html" />
    <access origin="*" />
    <preference name="phonegap-version" value="3.3.0" />
    <feature name="File">
        <param name="ios-package" value="CDVFile" />
    </feature>
    <feature name="FileTransfer">
        <param name="ios-package" value="CDVFileTransfer" />
    </feature>
<!--
    Malformed XML
    <gap:plugin name="org.apache.cordova.core.file" />
    <gap:plugin name="org.apache.cordova.core.filetransfer" />
    <gap:plugin name="org.apache.cordova.core.dialogs" />
-->
</widget>

Kelvin

unread,
Feb 11, 2014, 4:49:05 AM2/11/14
to phon...@googlegroups.com
What's your JavaScript code? I think it's localFileSystem - with a lower-case 'L'.
Reply all
Reply to author
Forward
0 new messages