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...
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...
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...
In the following article we're going to take a look at manipulating arrays in ES6.
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.