PowerVR SDK 3.5 using XCode 7, targeting iOS 6.1 (and others).
The sample(s) build, but on execution the following happens:
2015-09-11 18:59:27.340 OGLES2Water[1863:58149] *** Assertion failure in -[UIApplication _runWithMainScene:transitionContext:completion:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3505.16/UIApplication.m:3294
2015-09-11 18:59:27.351 OGLES2Water[1863:58149] *** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘Application windows are expected to have a root view controller at the end of application launch’
That explains it well enough, the code in AppController.mm has:
Other threads on this related error state that a call to setRootViewController is required, but I’m not sure what complies. _glView doesn’t appear to be acceptable (doesn’t compile if I change the line to
The compiler says EAGLView can’t be the lvalue,
It SEEMS this just requires a simple adjustment - thought someone here might know what qualifies as the UIViewController object in the typical examples provided in PowerVR SDK 3.5 (like Water)