Im getting some odd behaviour after setting base sdk = iPhone device 2.2.1 and deployment target iphone os 3.1.2
This code
OS_VERSION = [[[UIDevice currentDevice] systemVersion] floatValue];
NSLog(@"running version:%f", OS_VERSION);
NSLog(@"minimum version:%f", __IPHONE_OS_VERSION_MIN_REQUIRED );
NSLog(@"2_2 version:%f", __IPHONE_2_2 );
prints
running version:3.100000
minimum version:3.099998
2_2 version:3.099998
on the simulator and
running version:3.100000
minimum version:0.000000
2_2 version:0.000000
on the device
and I dont have an iphone_os_2_2_1 define
suggestions welcomed.