iphone compilation between diferent xcode versions?
Hi I am just starting to develop Iphone apps, it's my first day. And I have to use some code a colleague gave me (he has xcode 4.1 or 4.2) l just to quickly try it out but It doesn't compile and I don't understand why. I have iphone SDK 3.1 and xcode 3.2 (i think). Updating to any other version is out of the question so is there a way I could fix these compilation erros? 
I get the folowing errors in iLikeItAppDelegate.m

    @synthesize window=_window;
    !synthesized property 'window' must either be named the same as a compatible iva or must    
    explicitly name an ivar
    @synthesize viewController=_viewController;
    !kind of similar comment here
    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:   

    (NSDictionary *)launchOptions
    {
    // Override point for customization after application launch.

    self.window.rootViewController = self.viewController;
    [self.window makeKeyAndVisible];
    return YES;
    }

When I opened the project i tried to compile and it said something about iphoneos not found and the I had it changed to one of the sdks I have and now i get these weird errors. Please anybody help me thanks
iphone compilation between diferent xcode versions?
===

Hi I am just starting to develop Iphone apps, it's my first day. And I have to use some code a colleague gave me (he has xcode 4.1 or 4.2) l just to quickly try it out but It doesn't compile and I don't understand why. I have iphone SDK 3.1 and xcode 3.2 (i think). Updating to any other version is out of the question so is there a way I could fix these compilation erros? 
I get the folowing errors in iLikeItAppDelegate.m

    @synthesize window=_window;
    !synthesized property 'window' must either be named the same as a compatible iva or must    
    explicitly name an ivar
    @synthesize viewController=_viewController;
    !kind of similar comment here
    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:   

    (NSDictionary *)launchOptions
    {
    // Override point for customization after application launch.

    self.window.rootViewController = self.viewController;
    [self.window makeKeyAndVisible];
    return YES;
    }

When I opened the project i tried to compile and it said something about iphoneos not found and the I had it changed to one of the sdks I have and now i get these weird errors. Please anybody help me thanks