I use ionic to develop the application, and everything has been working fine for some time.
However, I recently upgraded to xcode 7.x, so I can compile for iOS 9. Now, when I run ionic prepare ios to create ios platform files and click on the *.xcodeproj file, I get the following error:

The file couldn't be opened.
File can only be opened in xcode 6.x
I need it to work in xcode 7.x for a build application with later versions of the SDK
Side note. I was looking for answers to this problem, but in other cases the error message is more visual. The error message that I get does not give a reason why it cannot be opened, whether it is permissions or problems with the analysis or otherwise, so I do not understand how to fix it. I tried deleting the (null) lines in the files and deleting the <user>.xcuserdatad files as suggested in these answers, to no avail.
- Cordoba CLI: 5.4.1
- Gulp version: CLI version 3.9.0
- Gulp local: Local version 3.9.0
- Ionic version: 1.1.0
- Ionic CLI version: 1.7.12
- Ionic App Lib Version: 0.6.5
- ios-deploy-version: not installed
- ios-sim version: 5.0.4
- OS: Mac OS X El Capitan
- Node Version: v4.2.4
- Xcode Version: Xcode 7.2 Build Version 7C68
Question: why am I getting this error message and how to fix it?
ios xcode xcode7 ionic
Harry
source share