Upgraded to Unity 3.4.2, Xcode Errors

I’ve got Xcode 4.1 and Unity 3.4.2 recently installed. Projects used to build fine on Unity 3.4.1, but I’m getting a lot of Xcode errors now.

ld: warning: directory not found for option ‘-L"/Users/aameen/New’

ld: warning: directory not found for option ‘-LUnity’

ld: warning: directory not found for option ‘-LProject/Test"’

What is causing this problem and how can it be fixed?

Here’s the solution to this problem. Upon updating Unity, the SDK Version from the Player Settings was changed to iOS Latest. I changed it back to a lower setting such as iOS 4.1 and it builds fine now.