Hi,
I need to script XCode to set some build settings on a large set of projects.
My code seems ok (no errors), but build settings stay unchanged.
My code is :
1 tell application "XCode" 2 open file theFile 3 set theProject to the first project document 4 set theTarget to the first target of theProject 5 set theConfig to the first build configuration of theTarget 6 set theBS to the flattened build setting "ARCHS" of theConfig 7 set the value of theBS to "ppc" 8 set theVal to the value of theBS -> just for test 9 close the front window saving yes 10 end tell
On line 7, the value of theBS is set to "ppc", but on line 8, theVal stays to "$(NATIVE_ARCH)".
Any idea ?
Thanks,
BO
-- Benoît Ogier{ Carte Blanche Conseil 47, rue de Lancry 75010 Paris Tel : +33 1 42 41 21 21 Fax : +33 1 42 41 70 40 email : email@hidden }; -- |