Apple articles

zipalign command not found for Android APK publishing

Posted: Monday 18th April, 2016 - 7:39pm
Author: James Griffiths

Developing Ionic Apps for Android solely from the command line? Receiving the following error when trying to run the zipalign utility?

-bash: zipalign: command not found

Assuming you're using a unix based OS here's how to fix this...


Resolving permissions error for Apache Cordova command line usage

Posted: Tuesday 29th March, 2016 - 7:12pm
Author: James Griffiths

We found, after a recent Apache Cordova upgrade, that every time we tried to run Cordova commands in the Terminal we'd receive the following error message:

				throw err;
Error: EACCES, permission denied '/Users/name-here/.config/configstore/update-notifier-cordova.json'
You don't have access to this file.

    at Error (native)
    at Object.fs.openSync (fs.js:502:18)
    at Object.fs.readFileSync (fs.js:354:15)
    at Object.create.all.get (/usr/local/lib/node_modules/cordova/node_modules/update-notifier/node_modules/configstore/index.js:34:26)
    at Object.Configstore (/usr/local/lib/node_modules/cordova/node_modules/update-notifier/node_modules/configstore/index.js:27:44)
    at new UpdateNotifier (/usr/local/lib/node_modules/cordova/node_modules/update-notifier/index.js:34:17)
    at module.exports (/usr/local/lib/node_modules/cordova/node_modules/update-notifier/index.js:123:23)
    at checkForUpdates (/usr/local/lib/node_modules/cordova/src/cli.js:64:20)
    at cli (/usr/local/lib/node_modules/cordova/src/cli.js:116:5)
    at Object. (/usr/local/lib/node_modules/cordova/bin/cordova:41:1)

Definitely not a good sign!

Thankfully, fixing this is quite straightforward...


Fixing Xcode 7.2 issue with Missing iOS Distribution signing identity error

Posted: Tuesday 23rd February, 2016 - 6:56pm
Author: James Griffiths

Here's another Xcode 7.2 error we encountered while attempting to validate an iOS archive prior to submission to the Apple App store:

Failed to locate or generate matching signing assets

Xcode attempted to locate or generate matching signing assets and failed 
to do so because of the following issues.

Missing iOS Distribution signing identity for ... Xcode can request one for you.

Fixing this is, thankfully, quite easy...


Mac developers do it better

Posted: Sunday 20th July, 2014 - 10:30pm
Author: James Griffiths

No matter what your opinion of the Apple Mac platform; whether you love or loathe it there's no denying the passion behind developers who create the software.


Installing the Android SDK on Mavericks

Posted: Thursday 17th July, 2014 - 10:10pm
Author: James Griffiths

Installing the Android SDK for Cordova PhoneGap mobile development can seem a little involved and challenging at first glance but in the following tutorial we're going to take you through how to do just that.


The basics of setting up Phonegap for iOS

Posted: Tuesday 11th February, 2014 - 10:20pm
Author: James Griffiths

If you want to develop for different mobile platforms but don't have the time, inclination or motivation to learn the Objective C, Java or C# languages then PhoneGap should definitely be at the top of your must-have technologies list.

In this tutorial we're going to take you through setting up the basic Phonegap environment for iOS.


Resolving network connectivity issues with PhoneGap 3.3.0

Posted: Monday 13th January, 2014 - 10:11pm
Author: James Griffiths

We recently upgraded PhoneGap to version 3.3.0 and were a little flummoxed when we found that our Apps wouldn't work when being published to an iPhone. All we experienced was the splash screen loading and then being replaced by a grey screen - the network connection check wouldn't trigger and the App content wasn't loading at all. This was pretty odd as the previous version of PhoneGap published the App without any issues whatsoever but with the upgrade we couldn't even get javascript alerts for the navigator.connection.type to display.

Something very, very odd was going on here.


Xcode 5 accelerometer warning for ios7

Posted: Monday 13th January, 2014 - 10:07pm
Author: James Griffiths

If you're developing mobile Apps for iOS7 using PhoneGap 3+ and Xcode 5 chances are you've come across compiler warnings when publishing your app to an iOS device.

Typically these will involve the following:

  • UIAccelerometer' is deprecated: first deprecated in iOS 5.0 - UIAccelerometer has been replaced by the CoreMotion framework
  • Implicit conversion loses integer precision: 'unsigned long long' to 'int'

Publishing your App still works but how to resolve these warnings? Read on...


Installing Ant on Mavericks Mac OS 10.9

Posted: Thursday 9th January, 2014 - 9:57pm
Author: James Griffiths

When installing the Android platform for Cordova PhoneGap 3.1 on Mac OS 10.9 you might come across an error message informing you that the ant command could not be executed.

This is a relatively simple fix to implement, all it requires is a little command line jiggery-pokery.

Page 1 of 2