February 2016 articles

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...


Resolving Xcode 7.2 issue with Cordova CDVViewController.h file not found

Posted: Monday 22nd February, 2016 - 6:52pm
Author: James Griffiths

If you're using Cordova PhoneGap and have recently upgraded to Xcode 7.2 you might be experiencing the following build error when attempting to create an archive for submission to the Apple App store:

Cordova/CDVViewController.h file not found

It's an odd one because you've double checked your software installation; PhoneGap and Xcode are up to date and you can publish the app to an iOS device for testing without issue.

As this only happens when creating archives for app submissions the error doesn't seem to make any sense whatsoever.

Thankfully the solution is incredibly simple to implement...


Dealing with Git unlink file errors

Posted: Wednesday 17th February, 2016 - 6:45pm
Author: James Griffiths

Chances are when using Git for your version management needs you may have encountered an error warning in the terminal similar to the following:

Counting objects: 2106547, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (269562/269562), done.
Writing objects: 100% (2106547/2106547), done.
Total 2106547 (delta 636114), reused 2106547 (delta 636114)
Unlink of file '.git/objects/pack/pack-105e2cad4265551672452c ... 5127bac40.pack'
    failed. Should I try again? (y/n)

Pretty annoying right?

Fixing this is actually pretty simple...


Exploring ECMAScript 6 - Array manipulation

Posted: Saturday 6th February, 2016 - 6:38pm
Author: James Griffiths

ECMAScript 6, commonly referred to as ES6, is the latest ECMAScript language specification that defines the standards for implementing JavaScript in web browsers. ES6brings with it lots of powerful new features that provide developers with more flexibility than ever when crafting their applications.

In the following article we're going to take a look at manipulating arrays in ES6.


Remove an item from a JavaScript array by value

Posted: Monday 1st February, 2016 - 6:35pm
Author: James Griffiths

No matter how much you work with a given tool there will always be those 'aha' moments when you learn something new that you didn't realise was possible before.

One of those 'aha' moments was when we discovered the filter method in JavaScript.