cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Santana <csantan...@gmail.com>
Subject Re: mobilespec problems with ios??
Date Wed, 09 Mar 2016 22:26:21 GMT
Don't think so because it works on android

I think is related on processing the confit.xml during prepare to do add
the ATS white list to Info.plist

On Wed, Mar 9, 2016 at 5:19 PM Shazron <shazron@gmail.com> wrote:

> Not sure if this is related:
> https://issues.apache.org/jira/browse/CB-10718
>
> On Wed, Mar 9, 2016 at 2:00 PM, Carlos Santana <csantana23@gmail.com>
> wrote:
> > I'm having problems creating a mobilespec app using ios platform, anyone
> > else have tried latetly
> >
> >  $ node cordova-mobile-spec/createmobilespec/createmobilespec.js --ios
> > --global --globalplugins -d
> > Creating project. Using globally installed tools, downloadable platforms
> > and plugins, and local mobile-spec.
> > To clone needed repositories:
> >   ./cordova-coho/coho repo-clone -r mobile-spec
> > To update all repositories:
> >   ./cordova-coho/coho repo-update -r mobile-spec
> > Creating project mobilespec...
> > Creating a new cordova project.
> > Adding platforms...
> > Adding Platform: ios
> > platformArg: cordova ios
> > Executing "before_platform_add"  hook for all plugins.
> > No version supplied. Retrieving version from config.xml...
> > Platform files for "ios" previously downloaded not from npm. Using that
> > copy.
> > Adding ios project...
> > PlatformApi successfully found for platform ios
> > iOS project created with cordova-ios@4.0.1
> > Executing "before_prepare"  hook for all plugins.
> > Searching PlatformJson files for differences between project vs. platform
> > installed plugins
> > No differences found between project and ios platform. Continuing...
> > Generating config.xml from defaults for platform "ios"
> > Error: TypeError: Cannot read property 'indexOf' of null
> >     at parseWhitelistUrlForATS
> >
> (/Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cordova/lib/prepare.js:448:26)
> >     at
> >
> /Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cordova/lib/prepare.js:400:19
> >     at Array.reduce (native)
> >     at processAccessAndAllowNavigationEntries
> >
> (/Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cordova/lib/prepare.js:399:6)
> >     at writeATSEntries
> >
> (/Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cordova/lib/prepare.js:488:14)
> >     at updateProject
> >
> (/Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cordova/lib/prepare.js:148:15)
> >     at
> >
> /Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cordova/lib/prepare.js:47:16
> >     at _fulfilled
> >
> (/Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cordova/node_modules/q/q.js:787:54)
> >     at self.promiseDispatch.done
> >
> (/Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cordova/node_modules/q/q.js:816:30)
> >     at Promise.promise.promiseDispatch
> >
> (/Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cordova/node_modules/q/q.js:749:13)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> For additional commands, e-mail: dev-help@cordova.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message