my project works on iphone/ipad sdk except SDK 4.0.
It crash with stupid Program received signal: “SIGABRT”.
I've activated NSZombie, Debug all lines, but nothing.
Debugger crash before main()
in main.m and I not unable to solve the problem.
This is main.h:
int main(int argc, char *argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate");
[pool release];
return retVal;
}
...and this is AppDelegate:
- (void)applicationDidFinishLaunching:(UIApplication *)application {
[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationFade];
[window addSubview:viewController.view];
[window makeKeyAndVisible];
}
and this is my view Controller :)
- (void) viewDidLoad {
[super viewDidLoad];
}
This app use external library as libz.dylib and a custom static lib myLib.a.
Use all of this frameworks:
- QuartCore
- CFNetwork
- CoreLocation
- UIKit
- Foundation
- CoreGraphics
- SystemConfiguration
Is there a know issue to solve this problem?
I don't understand what is the casuse...
Any idea please?
thanks.
Solved compiling myLib.a from 3.0+ with no CLLocationCoordinate2DMake (that not exist on sdk <4)!
thanks