Xcode build stuck on splash screen iPhone 3gs

HI there,

I am unfortunately still trying to use an iPhone 3gs for testing my apps on iOS. Since the recent update to Xcode when I run on the device it is hanging on the splash screen and I get the following message -

#import <UIKit/UIKit.h>

int main(int argc, char* argv[])
@autoreleasepool {
int retVal = UIApplicationMain(argc, argv, nil, @“AppDelegate”);
return retVal;

Is there anyway I can fix this or is it just a case that iOS 6.1.6 is no longer supported with the more recent cordova builds?

My set up is as follows -

Xcode Version @ 7.2.1 (7C1002)
Ionic @ 1.7.14
Cordova @ 6.0.0
NPM @ 3.8.0
Bower @ 1.7.7
Git @ 2.5.4
SASS @ 3.4.21 (Selective Steve)

Many thanks,

If anybody else gets this issue then I solved it by downgrading my cordova ios platform to 3.9.2 -

platform update ios@3.9.2

Had to then run the build using:

cordova build ios