How do I change the SDK version for a build in Xcode?

I am using Xcode 2.5 on Mac 10.4.11 PPC. javac -version

returns 1.5.x, but when I imported the source and tried to build it in Xcode, I get errors all over because generics

, annotations

and for-each loops are not supported in -source 1.3

.

sdk setting

I thought I found a setting to change the original version in Xcode in the above, but it doesn't work. Any ideas?

+2


a source to share


2 answers


I actually looked through build.xml

the Xcode project file and found the source and target fields and just changed them from 1.3 and 1.2 respectively to 1.5.



+2


a source


Google has included this: But it seems very old



0


a source







All Articles