[2.0 iOS] Error when building

dpbprod

  • Posts: 14
Hello,
 
My game was working fine since I last tested it through device. I get this error message now please help...

2013-02-27 14:29:37.283 AppScaffold[542:907] Error: texture cannot be nil!
2013-02-27 14:29:37.284 AppScaffold[542:907] *** Terminating app due to uncaught exception 'InvalidOperation', reason: 'texture cannot be nil!'
*** First throw call stack:
(0x322c72a3 0x3a15297f 0x322c71c5 0x3577c 0x35d0c 0x6f524 0x32bde0f5 0x3229c683 0x3229bee9 0x3229acb7 0x3220debd 0x3220dd49 0x35dc02eb 0x34123301 0x2828 0x27d0)
libc++abi.dylib: terminate called throwing an exception
(lldb)


also this.....

//
//  main.m
//  AppScaffold
//
//  Created by Daniel Sperl on 14.01.10.
//  Copyright Incognitek 2010. All rights reserved.
//

#import <UIKit/UIKit.h>

int main(int argc, char *argv[]) {
   
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
    int retVal = UIApplicationMain(argc, argv, nil, nil);
    [pool release];
    return retVal;
}