Update app.js

this has different issues.

If you follow the readme (command you should be running) you will get the following:


[INFO]  |------- simulator log finished -------|
[ERROR] Error: build/src/i386/HL_MyGLController_Impl.mm:9:9: fatal error: 'OpenGLES/EAGL,Foundation/NSDictionary,Foundation/NSMutableDictionary,Foundation/NSNumber,Foundation/NSBundle,Foundation/NSString,Foundation/NSUTF8StringEncoding,Foundation/NSObject,UIKit/UIApplication,UIKit/UIApplicationDelegate,UIKit/UIColor,CoreGraphics/CGRectMake,GLKit/EAGLContext,GLKit/GLKViewController,GLKit/GLKView,GLKit/kEAGLRenderingAPIOpenGLES2,GLKit/GLKViewDrawableDepthFormat24,GLKit/GLint,GLKit/glGetIntegerv,GLKit/GLKTextureLoaderOriginBottomLeft,GLKit/GLKTextureLoader,GLKit/glCreateProgram,GLKit/glCreateShader,GLKit/glShaderSource,GLKit/glCompileShader,GLKit/glAttachShader,GLKit/glBindAttribLocation,GLKit/glGetUniformLocation,GLKit/GLKVertexAttribPosition,GLKit/GLKVertexAttribNormal,GLKit/GLKVertexAttribTexCoord0,GLKit/glLinkProgram,GLKit/glGetProgramiv,GLKit/glDetachShader,GLKit/glDeleteShader,GLKit/GLKBaseEffect,GLKit/GLKVector4Make,GLKit/GLKTextureEnvModeDecal,GLKit/GLKTextureTarget2D,GLKit/glEnable,GLKit/glGenVertexArraysOES,GLKit/glBindVertexArrayOES,GLKit/glGenBuffers,GLKit/glBindBuffer,GLKit/glBufferData,GLKit/glEnableVertexAttribArray,GLKit/glVertexAttribPointer,GLKit/glBindVertexArrayOES,GLKit/GLKMatrix4MakePerspective,GLKit/GLKMathDegreesToRadians,GLKit/GLKMatrix4MakeTranslation,GLKit/GLKMatrix4Rotate,GLKit/GLKMatrix4Multiply,GLKit/GLKMatrix3InvertAndTranspose,GLKit/GLKMatrix4GetMatrix3,GLKit/glClearColor,GLKit/glClear,GLKit/glBindTexture,GLKit/glDrawArrays,GLKit/glUseProgram,GLKit/glUniformMatrix4fv,GLKit/glUniformMatrix3fv,GLKit/glUniform1i,GLKit/glDrawArrays,GLKit/GLKMatrix4Make.h' file not found
#import <OpenGLES/EAGL,Foundation/NSDictionary,Foundation/NSMutableDictionary,Foundation/NSNumber,Foundation/NSBundle,Foundation/NSString,Foundation/NSUTF8StringEncoding,Foundation/NSObject,UIKit/UIApplication,UIKit/UIApplicationDelegate,UIKit/UIColor,CoreGraphics/CGRectMake,GLKit/EAGLContext,GLKit/GLKViewController,GLKit/GLKView,GLKit/kEAGLRenderingAPIOpenGLES2,GLKit/GLKViewDrawableDepthFormat24,GLKit/GLint,GLKit/glGetIntegerv,GLKit/GLKTextureLoaderOriginBottomLeft,GLKit/GLKTextureLoader,GLKit/glCreateProgram,GLKit/glCreateShader,GLKit/glShaderSource,GLKit/glCompileShader,GLKit/glAttachShader,GLKit/glBindAttribLocation,GLKit/glGetUniformLocation,GLKit/GLKVertexAttribPosition,GLKit/GLKVertexAttribNormal,GLKit/GLKVertexAttribTexCoord0,GLKit/glLinkProgram,GLKit/glGetProgramiv,GLKit/glDetachShader,GLKit/glDeleteShader,GLKit/GLKBaseEffect,GLKit/GLKVector4Make,GLKit/GLKTextureEnvModeDecal,GLKit/GLKTextureTarget2D,GLKit/glEnable,GLKit/glGenVertexArraysOES,GLKit/glBindVertexArrayOES,GLKit/glGenBuffers,GLKit/glBindBuffer,GLKit/glBufferData,GLKit/glEnableVertexAttribArray,GLKit/glVertexAttribPointer,GLKit/glBindVertexArrayOES,GLKit/GLKMatrix4MakePerspective,GLKit/GLKMathDegreesToRadians,GLKit/GLKMatrix4MakeTranslation,GLKit/GLKMatrix4Rotate,GLKit/GLKMatrix4Multiply,GLKit/GLKMatrix3InvertAndTranspose,GLKit/GLKMatrix4GetMatrix3,GLKit/glClearColor,GLKit/glClear,GLKit/glBindTexture,GLKit/glDrawArrays,GLKit/glUseProgram,GLKit/glUniformMatrix4fv,GLKit/glUniformMatrix3fv,GLKit/glUniform1i,GLKit/glDrawArrays,GLKit/GLKMatrix4Make.h>
        ^
1 error generated.

    at checkResults (/Users/andrewmcelroy/repos/appcelerator-core-projects/hyperloop/hyperloop-common/lib/compiler/clang.js:94:12)
    at Object.q.drain (/Users/andrewmcelroy/repos/appcelerator-core-projects/hyperloop/hyperloop-common/lib/compiler/clang.js:167:4)
    at next (/Users/andrewmcelroy/repos/appcelerator-core-projects/hyperloop/hyperloop-common/node_modules/async/lib/async.js:723:31)
    at /Users/andrewmcelroy/repos/appcelerator-core-projects/hyperloop/hyperloop-common/node_modules/async/lib/async.js:24:16
    at /Users/andrewmcelroy/repos/appcelerator-core-projects/hyperloop/hyperloop-common/lib/compiler/clang.js:161:6
    at ChildProcess.exithandler (child_process.js:635:7)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:735:16)
    at Socket.<anonymous> (child_process.js:948:11)
    at Socket.EventEmitter.emit (events.js:95:17)
[ERROR] Hint: If you think you have found a bug, run again with --report to report it.
[ERROR] Running with --debug can also give you more information on what is going wrong.
[ERROR] Error: build/src/i386/HL_MyGLController_Impl.mm:9:9: fatal error: 'OpenGLES/EAGL,Foundation/NSDictionary,Foundation/NSMutableDictionary,Foundation/NSNumber,Foundation/NSBundle,Foundation/NSString,Foundation/NSUTF8StringEncoding,Foundation/NSObject,UIKit/UIApplication,UIKit/UIApplicationDelegate,UIKit/UIColor,CoreGraphics/CGRectMake,GLKit/EAGLContext,GLKit/GLKViewController,GLKit/GLKView,GLKit/kEAGLRenderingAPIOpenGLES2,GLKit/GLKViewDrawableDepthFormat24,GLKit/GLint,GLKit/glGetIntegerv,GLKit/GLKTextureLoaderOriginBottomLeft,GLKit/GLKTextureLoader,GLKit/glCreateProgram,GLKit/glCreateShader,GLKit/glShaderSource,GLKit/glCompileShader,GLKit/glAttachShader,GLKit/glBindAttribLocation,GLKit/glGetUniformLocation,GLKit/GLKVertexAttribPosition,GLKit/GLKVertexAttribNormal,GLKit/GLKVertexAttribTexCoord0,GLKit/glLinkProgram,GLKit/glGetProgramiv,GLKit/glDetachShader,GLKit/glDeleteShader,GLKit/GLKBaseEffect,GLKit/GLKVector4Make,GLKit/GLKTextureEnvModeDecal,GLKit/GLKTextureTarget2D,GLKit/glEnable,GLKit/glGenVertexArraysOES,GLKit/glBindVertexArrayOES,GLKit/glGenBuffers,GLKit/glBindBuffer,GLKit/glBufferData,GLKit/glEnableVertexAttribArray,GLKit/glVertexAttribPointer,GLKit/glBindVertexArrayOES,GLKit/GLKMatrix4MakePerspective,GLKit/GLKMathDegreesToRadians,GLKit/GLKMatrix4MakeTranslation,GLKit/GLKMatrix4Rotate,GLKit/GLKMatrix4Multiply,GLKit/GLKMatrix3InvertAndTranspose,GLKit/GLKMatrix4GetMatrix3,GLKit/glClearColor,GLKit/glClear,GLKit/glBindTexture,GLKit/glDrawArrays,GLKit/glUseProgram,GLKit/glUniformMatrix4fv,GLKit/glUniformMatrix3fv,GLKit/glUniform1i,GLKit/glDrawArrays,GLKit/GLKMatrix4Make.h' file not found
#import <OpenGLES/EAGL,Foundation/NSDictionary,Foundation/NSMutableDictionary,Foundation/NSNumber,Foundation/NSBundle,Foundation/NSString,Foundation/NSUTF8StringEncoding,Foundation/NSObject,UIKit/UIApplication,UIKit/UIApplicationDelegate,UIKit/UIColor,CoreGraphics/CGRectMake,GLKit/EAGLContext,GLKit/GLKViewController,GLKit/GLKView,GLKit/kEAGLRenderingAPIOpenGLES2,GLKit/GLKViewDrawableDepthFormat24,GLKit/GLint,GLKit/glGetIntegerv,GLKit/GLKTextureLoaderOriginBottomLeft,GLKit/GLKTextureLoader,GLKit/glCreateProgram,GLKit/glCreateShader,GLKit/glShaderSource,GLKit/glCompileShader,GLKit/glAttachShader,GLKit/glBindAttribLocation,GLKit/glGetUniformLocation,GLKit/GLKVertexAttribPosition,GLKit/GLKVertexAttribNormal,GLKit/GLKVertexAttribTexCoord0,GLKit/glLinkProgram,GLKit/glGetProgramiv,GLKit/glDetachShader,GLKit/glDeleteShader,GLKit/GLKBaseEffect,GLKit/GLKVector4Make,GLKit/GLKTextureEnvModeDecal,GLKit/GLKTextureTarget2D,GLKit/glEnable,GLKit/glGenVertexArraysOES,GLKit/glBindVertexArrayOES,GLKit/glGenBuffers,GLKit/glBindBuffer,GLKit/glBufferData,GLKit/glEnableVertexAttribArray,GLKit/glVertexAttribPointer,GLKit/glBindVertexArrayOES,GLKit/GLKMatrix4MakePerspective,GLKit/GLKMathDegreesToRadians,GLKit/GLKMatrix4MakeTranslation,GLKit/GLKMatrix4Rotate,GLKit/GLKMatrix4Multiply,GLKit/GLKMatrix3InvertAndTranspose,GLKit/GLKMatrix4GetMatrix3,GLKit/glClearColor,GLKit/glClear,GLKit/glBindTexture,GLKit/glDrawArrays,GLKit/glUseProgram,GLKit/glUniformMatrix4fv,GLKit/glUniformMatrix3fv,GLKit/glUniform1i,GLKit/glDrawArrays,GLKit/GLKMatrix4Make.h>
        ^
1 error generated.

module.js:340
    throw err;
          ^
Error: Cannot find module '../../platforms/ios/lib/buildlib'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at exit (/Users/andrewmcelroy/repos/appcelerator-core-projects/hyperloop/hyperloop-common/lib/log.js:114:35)
    at Object.exports.(anonymous function) [as fatal] (/Users/andrewmcelroy/repos/appcelerator-core-projects/hyperloop/hyperloop-common/lib/log.js:76:4)
    at done (/Users/andrewmcelroy/repos/appcelerator-core-projects/hyperloop/hyperloop-cli/bin/hyperloop:183:14)
    at /Users/andrewmcelroy/repos/appcelerator-core-projects/hyperloop/hyperloop-cli/node_modules/async/lib/async.js:232:13
    at /Users/andrewmcelroy/repos/appcelerator-core-projects/hyperloop/hyperloop-cli/node_modules/async/lib/async.js:136:21
    at /Users/andrewmcelroy/repos/appcelerator-core-projects/hyperloop/hyperloop-cli/node_modules/async/lib/async.js:229:17