spacefractal · 53640
OSStatus glbOpenFile(const char *inFilePath, AudioFileID &outAFID){ CFURLRef theURL = CFURLCreateFromFileSystemRepresentation(kCFAllocatorDefault, (UInt8*)inFilePath, strlen(inFilePath), false); if (theURL == NULL) return kSoundEngineErrFileNotFound; int kAudioFileReadPermission = 0x01; OSStatus result = AudioFileOpenURL(theURL, kAudioFileReadPermission, 0, &outAFID); CFRelease(theURL); AssertNoError("Error opening file", end); end: return result;}
OSStatus result = AudioFileOpenURL(theURL, (AudioFilePermissions)kAudioFileReadPermission, 0, &outAFID);
enum { kAudioFileReadPermission = 0x01, kAudioFileWritePermission = 0x02, kAudioFileReadWritePermission = 0x03 };
2015-09-19 12:44:59.145 greedymouse[218:28603] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Could not find a storyboard named 'Main' in bundle NSBundle </var/mobile/Containers/Bundle/Application/911FBB3D-4965-47EE-A5DF-93A7CF81DA6B/greedymouse.app> (loaded)'*** First throw call stack:(0x185bc0f50 0x196993f80 0x18b6a7264 0x18b23b8b8 0x18b008b24 0x18b23a7c8 0x18b237a60 0x18eba37ec 0x18eba3b6c 0x185b78598 0x185b7802c 0x185b75d2c 0x185aa4dd0 0x18b001d28 0x18affcc58 0x10012ddc0 0x10012f4ac 0x1971d6974)libc++abi.dylib: terminating with uncaught exception of type NSException(lldb)
int GLB_iPhone_call_main(int argc, char *argv[]){ gpArgv=argv; gArgc=argc; NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; int retVal = UIApplicationMain(argc, argv, nil, @"AppController"); [pool release]; return retVal;}
To find the source of the problem, in Xcode go to Product > Scheme > Edit Scheme, and under Diagnostics tab enable all the Malloc settings and Guard Malloc.With that, run your application again, and Xcode will stop at the line causing the problem.
I'm are currently skiing...