Re: mobilespec problems with ios??
yes node issue, :-( On Wed, Mar 9, 2016 at 7:11 PM Shazron <shaz...@gmail.com> wrote: > Did you check your node version? It's probably the same issue. > > On Wed, Mar 9, 2016 at 4:08 PM, Carlos Santana <csantan...@gmail.com> > wrote: > > There are two problems I hit with mobilespec one is node but the other is > > ios@4 specific not handling schem:* for allow-navigation > > > > https://issues.apache.org/jira/browse/CB-10828 > > > > > > On Wed, Mar 9, 2016 at 6:27 PM Shazron <shaz...@gmail.com> wrote: > > > >> Off by one error, classic, we've all done it XD > >> > >> > https://github.com/nodejs/node/commit/8b16ba3bbf381249552c2a038233141e4abbe731 > >> > >> On Wed, Mar 9, 2016 at 3:04 PM, Nikhil Khandelwal > >> <nikhi...@microsoft.com> wrote: > >> > This is a regression in Node 5.7.0 that they fixed as part of Node > 5.7.1: > >> > > >> > https://issues.apache.org/jira/browse/CB-10675 > >> > https://github.com/nodejs/node/blob/v5.7.1/CHANGELOG.md > >> > > >> > Move to Node 5.7.1 > >> > > >> > -Nikhil > >> > > >> > -Original Message- > >> > From: Carlos Santana [mailto:csantan...@gmail.com] > >> > Sent: Wednesday, March 9, 2016 2:26 PM > >> > To: dev@cordova.apache.org > >> > Subject: Re: mobilespec problems with ios?? > >> > > >> > 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 <shaz...@gmail.com> wrote: > >> > > >> >> Not sure if this is related: > >> >> > https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fissue > >> >> s.apache.org > %2fjira%2fbrowse%2fCB-10718=01%7c01%7cnikhilkh%40micr > >> >> osoft.com > %7ccf4e3a7a448b48cc578908d34869df77%7c72f988bf86f141af91ab2d7 > >> >> cd011db47%7c1=wT0l9UPpAypXOm%2bturcbbkqgQZEWCiQfmDfYzYtILrQ%3d > >> >> > >> >> On Wed, Mar 9, 2016 at 2:00 PM, Carlos Santana <csantan...@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/cord > >> >> ova/lib/prepare.js:448:26) > >> >> > at > >> >> > > >> >> > /Users/csantana23/Documents/dev/cordova/mobilespec/pla
Re: mobilespec problems with ios??
Did you check your node version? It's probably the same issue. On Wed, Mar 9, 2016 at 4:08 PM, Carlos Santana <csantan...@gmail.com> wrote: > There are two problems I hit with mobilespec one is node but the other is > ios@4 specific not handling schem:* for allow-navigation > > https://issues.apache.org/jira/browse/CB-10828 > > > On Wed, Mar 9, 2016 at 6:27 PM Shazron <shaz...@gmail.com> wrote: > >> Off by one error, classic, we've all done it XD >> >> https://github.com/nodejs/node/commit/8b16ba3bbf381249552c2a038233141e4abbe731 >> >> On Wed, Mar 9, 2016 at 3:04 PM, Nikhil Khandelwal >> <nikhi...@microsoft.com> wrote: >> > This is a regression in Node 5.7.0 that they fixed as part of Node 5.7.1: >> > >> > https://issues.apache.org/jira/browse/CB-10675 >> > https://github.com/nodejs/node/blob/v5.7.1/CHANGELOG.md >> > >> > Move to Node 5.7.1 >> > >> > -Nikhil >> > >> > -Original Message- >> > From: Carlos Santana [mailto:csantan...@gmail.com] >> > Sent: Wednesday, March 9, 2016 2:26 PM >> > To: dev@cordova.apache.org >> > Subject: Re: mobilespec problems with ios?? >> > >> > 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 <shaz...@gmail.com> wrote: >> > >> >> Not sure if this is related: >> >> https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fissue >> >> s.apache.org%2fjira%2fbrowse%2fCB-10718=01%7c01%7cnikhilkh%40micr >> >> osoft.com%7ccf4e3a7a448b48cc578908d34869df77%7c72f988bf86f141af91ab2d7 >> >> cd011db47%7c1=wT0l9UPpAypXOm%2bturcbbkqgQZEWCiQfmDfYzYtILrQ%3d >> >> >> >> On Wed, Mar 9, 2016 at 2:00 PM, Carlos Santana <csantan...@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/cord >> >> ova/lib/prepare.js:448:26) >> >> > at >> >> > >> >> /Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cordo >> >> va/lib/prepare.js:400:19 >> >> > at Array.reduce (native) >> >> > at processAccessAndAllowNavigationEntries >> >> > >> >> (/Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cord >> >> ova/lib/prepare.js:399:6) >> >> > at writeATSEntries >> >> > >> >> (/Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cord >> >> ova/lib/prepare.js:488:14) >> >> > at updateProjec
Re: mobilespec problems with ios??
There are two problems I hit with mobilespec one is node but the other is ios@4 specific not handling schem:* for allow-navigation https://issues.apache.org/jira/browse/CB-10828 On Wed, Mar 9, 2016 at 6:27 PM Shazron <shaz...@gmail.com> wrote: > Off by one error, classic, we've all done it XD > > https://github.com/nodejs/node/commit/8b16ba3bbf381249552c2a038233141e4abbe731 > > On Wed, Mar 9, 2016 at 3:04 PM, Nikhil Khandelwal > <nikhi...@microsoft.com> wrote: > > This is a regression in Node 5.7.0 that they fixed as part of Node 5.7.1: > > > > https://issues.apache.org/jira/browse/CB-10675 > > https://github.com/nodejs/node/blob/v5.7.1/CHANGELOG.md > > > > Move to Node 5.7.1 > > > > -Nikhil > > > > -Original Message- > > From: Carlos Santana [mailto:csantan...@gmail.com] > > Sent: Wednesday, March 9, 2016 2:26 PM > > To: dev@cordova.apache.org > > Subject: Re: mobilespec problems with ios?? > > > > 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 <shaz...@gmail.com> wrote: > > > >> Not sure if this is related: > >> https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fissue > >> s.apache.org%2fjira%2fbrowse%2fCB-10718=01%7c01%7cnikhilkh%40micr > >> osoft.com%7ccf4e3a7a448b48cc578908d34869df77%7c72f988bf86f141af91ab2d7 > >> cd011db47%7c1=wT0l9UPpAypXOm%2bturcbbkqgQZEWCiQfmDfYzYtILrQ%3d > >> > >> On Wed, Mar 9, 2016 at 2:00 PM, Carlos Santana <csantan...@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/cord > >> ova/lib/prepare.js:448:26) > >> > at > >> > > >> /Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cordo > >> va/lib/prepare.js:400:19 > >> > at Array.reduce (native) > >> > at processAccessAndAllowNavigationEntries > >> > > >> (/Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cord > >> ova/lib/prepare.js:399:6) > >> > at writeATSEntries > >> > > >> (/Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cord > >> ova/lib/prepare.js:488:14) > >> > at updateProject > >> > > >> (/Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cord > >> ova/lib/prepare.js:148:15) > >> > at > >> > > >> /Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cordo > >> va/lib/prepare.js:47:16 > >> > at _fulfilled > >> > > >> (/Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cord > >> ova/node_modules/q/q.js:787:54) > >> > at self.promiseDispatch.done > >> > > >> (/Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cord > >> ova/node_modules/q/q.js:816:30) > >> > at Promise.promise.promiseDispatch > >> > > >> (/Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cord > >> ova/node_modules/q/q.js:749:13) > >> > >> - > >> To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org > >> For additional commands, e-mail: dev-h...@cordova.apache.org > >> > >> > > > > - > > To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org > > For additional commands, e-mail: dev-h...@cordova.apache.org > > - > To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org > For additional commands, e-mail: dev-h...@cordova.apache.org > >
Re: mobilespec problems with ios??
Off by one error, classic, we've all done it XD https://github.com/nodejs/node/commit/8b16ba3bbf381249552c2a038233141e4abbe731 On Wed, Mar 9, 2016 at 3:04 PM, Nikhil Khandelwal <nikhi...@microsoft.com> wrote: > This is a regression in Node 5.7.0 that they fixed as part of Node 5.7.1: > > https://issues.apache.org/jira/browse/CB-10675 > https://github.com/nodejs/node/blob/v5.7.1/CHANGELOG.md > > Move to Node 5.7.1 > > -Nikhil > > -Original Message- > From: Carlos Santana [mailto:csantan...@gmail.com] > Sent: Wednesday, March 9, 2016 2:26 PM > To: dev@cordova.apache.org > Subject: Re: mobilespec problems with ios?? > > 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 <shaz...@gmail.com> wrote: > >> Not sure if this is related: >> https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fissue >> s.apache.org%2fjira%2fbrowse%2fCB-10718=01%7c01%7cnikhilkh%40micr >> osoft.com%7ccf4e3a7a448b48cc578908d34869df77%7c72f988bf86f141af91ab2d7 >> cd011db47%7c1=wT0l9UPpAypXOm%2bturcbbkqgQZEWCiQfmDfYzYtILrQ%3d >> >> On Wed, Mar 9, 2016 at 2:00 PM, Carlos Santana <csantan...@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/cord >> ova/lib/prepare.js:448:26) >> > at >> > >> /Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cordo >> va/lib/prepare.js:400:19 >> > at Array.reduce (native) >> > at processAccessAndAllowNavigationEntries >> > >> (/Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cord >> ova/lib/prepare.js:399:6) >> > at writeATSEntries >> > >> (/Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cord >> ova/lib/prepare.js:488:14) >> > at updateProject >> > >> (/Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cord >> ova/lib/prepare.js:148:15) >> > at >> > >> /Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cordo >> va/lib/prepare.js:47:16 >> > at _fulfilled >> > >> (/Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cord >> ova/node_modules/q/q.js:787:54) >> > at self.promiseDispatch.done >> > >> (/Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cord >> ova/node_modules/q/q.js:816:30) >> > at Promise.promise.promiseDispatch >> > >> (/Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cord >> ova/node_modules/q/q.js:749:13) >> >> - >> To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org >> For additional commands, e-mail: dev-h...@cordova.apache.org >> >> > > - > To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org > For additional commands, e-mail: dev-h...@cordova.apache.org - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
RE: mobilespec problems with ios??
This is a regression in Node 5.7.0 that they fixed as part of Node 5.7.1: https://issues.apache.org/jira/browse/CB-10675 https://github.com/nodejs/node/blob/v5.7.1/CHANGELOG.md Move to Node 5.7.1 -Nikhil -Original Message- From: Carlos Santana [mailto:csantan...@gmail.com] Sent: Wednesday, March 9, 2016 2:26 PM To: dev@cordova.apache.org Subject: Re: mobilespec problems with ios?? 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 <shaz...@gmail.com> wrote: > Not sure if this is related: > https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fissue > s.apache.org%2fjira%2fbrowse%2fCB-10718=01%7c01%7cnikhilkh%40micr > osoft.com%7ccf4e3a7a448b48cc578908d34869df77%7c72f988bf86f141af91ab2d7 > cd011db47%7c1=wT0l9UPpAypXOm%2bturcbbkqgQZEWCiQfmDfYzYtILrQ%3d > > On Wed, Mar 9, 2016 at 2:00 PM, Carlos Santana <csantan...@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/cord > ova/lib/prepare.js:448:26) > > at > > > /Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cordo > va/lib/prepare.js:400:19 > > at Array.reduce (native) > > at processAccessAndAllowNavigationEntries > > > (/Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cord > ova/lib/prepare.js:399:6) > > at writeATSEntries > > > (/Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cord > ova/lib/prepare.js:488:14) > > at updateProject > > > (/Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cord > ova/lib/prepare.js:148:15) > > at > > > /Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cordo > va/lib/prepare.js:47:16 > > at _fulfilled > > > (/Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cord > ova/node_modules/q/q.js:787:54) > > at self.promiseDispatch.done > > > (/Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cord > ova/node_modules/q/q.js:816:30) > > at Promise.promise.promiseDispatch > > > (/Users/csantana23/Documents/dev/cordova/mobilespec/platforms/ios/cord > ova/node_modules/q/q.js:749:13) > > - > To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org > For additional commands, e-mail: dev-h...@cordova.apache.org > > - To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org
Re: mobilespec problems with ios??
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 Shazronwrote: > 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 > 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-unsubscr...@cordova.apache.org > For additional commands, e-mail: dev-h...@cordova.apache.org > >
Re: mobilespec problems with ios??
Not sure if this is related: https://issues.apache.org/jira/browse/CB-10718 On Wed, Mar 9, 2016 at 2:00 PM, Carlos Santanawrote: > 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-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org