None of the above worked for me, but I found a way eventually:
Version Information:
Cordova 5.4.1
Xcode 7.1.1 (7B1005)
Node 5.2.0
Ionic 1.7.11
- Run this in your terminal: cordova platform update ios
- Open your project in Xcode
- Go to Preference -> Locations -> Advanced
- Choose “Unique” as the option for Build Location
- Product -> Clean
- Product -> Build
For good karma, I also added “$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include” to the header search paths but that alone didn’t fix the issue.