Hello,
I developed an iPad App which is running without Problems on a iPad 2 with iOS 4.3.
Now, I want to install the App on another device an iPad 1 with iOS 5.
But now I get an Error with the same code:
The Error occurs in my NSOperation class which is running in a queue. The error occurs exactly when I instance an object in my NSOperation class.
e.g: in this line:
also in simple lines like that:
Anybody an idea why the code is working in iOS 4 but not in iOS 5?
I developed an iPad App which is running without Problems on a iPad 2 with iOS 4.3.
Now, I want to install the App on another device an iPad 1 with iOS 5.
But now I get an Error with the same code:
Code:
Running…
[Switching to thread 7171]
[Switching to thread 7171]
continue
[Switching to thread 7939]
Program received signal: “EXC_BAD_ACCESS”.
[Switching to thread 7939]
Current language: auto; currently objective-c++
Data Formatters temporarily unavailable, will re-try after a 'continue'. (Can't find dlopen function, so it is not possible to load shared libraries.)
Cannot access memory at address 0x380e3c
Cannot access memory at address 0x380e3c
The Error occurs in my NSOperation class which is running in a queue. The error occurs exactly when I instance an object in my NSOperation class.
e.g: in this line:
Code:
NSString *mystr = [[NSString alloc] initWithBytes:readBuffer length:16 encoding:NSASCIIStringEncoding];
also in simple lines like that:
Code:
NSString *mystr = @"N333";
Anybody an idea why the code is working in iOS 4 but not in iOS 5?