can anyone tell me how to compile my ASS application as a Universal Binary?
it was previously PPC, now it seems to be Intel only
thanks
can anyone tell me how to compile my ASS application as a Universal Binary?
it was previously PPC, now it seems to be Intel only
thanks
OK, I enabled PPC on the build pane of the inspector window and re-built the project but it wonât run on a G4, any tips?
thanks dude, I found that and had a read through it. I got it to compile as a UB but Iâm getting errors all over the shop now!!
thanks though.
Whenever I mess around with that stuff I like to do a clean build.
thanks guys.
truth be told I donât really know how to use X-code properly, I just learned it as I went along and didnât really get the clean build and such stuff before. I did try a clean build last night as part of my efforts to get this thing compliled as a UB, and I got it in the end. It seems to run fine on the MacBook Pro but on the G4 I get applescript errors which I never got before, or on the Intel machine (AS error -1762).
Could this be anything to do with not doing a clean build on the intel (and newer version of X-code since I made the app) in the first place? I still have the old version of the entire project so I can experiment if I need to, but wouldnât really know where to start.
My thoughts are that most likely it is something to do with my scripting which has changed since I did it and is no longer supported/working correctly, but then again, I donât really have a clue.
I get 10 warnings when I build the project, can anyone give me any help as to what they might mean, or where I can find out?
thanks
Building target "AutoSave DP (Upgraded)" of project "AutoSave DP" â (10 warnings)
cd "/Users/arum/AutoSave DP STUFF/X Code projects/AutoSave 1.1"
/usr/bin/gcc-4.0 -x objective-c -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -g -Os -fmessage-length=0 -mtune=G4 -fvisibility=hidden -mmacosx-version-min=10.4 -I/Users/arum/AutoSave\ DP\ STUFF/X\ Code\ projects/AutoSave\ 1.1/build/AutoSave\ DP.build/Deployment/AutoSave\ DP\ (Upgraded).build/AutoSave\ DP.hmap -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -mdynamic-no-pic -F/Users/arum/AutoSave\ DP\ STUFF/X\ Code\ projects/AutoSave\ 1.1/build/Deployment -I/Users/arum/AutoSave\ DP\ STUFF/X\ Code\ projects/AutoSave\ 1.1/build/Deployment/include -I/Users/arum/AutoSave\ DP\ STUFF/X\ Code\ projects/AutoSave\ 1.1/build/AutoSave\ DP.build/Deployment/AutoSave\ DP\ (Upgraded).build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.4u.sdk -c /Users/arum/AutoSave\ DP\ STUFF/X\ Code\ projects/AutoSave\ 1.1/main.m -o /Users/arum/AutoSave\ DP\ STUFF/X\ Code\ projects/AutoSave\ 1.1/build/AutoSave\ DP.build/Deployment/AutoSave\ DP\ (Upgraded).build/Objects-normal/ppc/main.o
/Users/arum/AutoSave DP STUFF/X Code projects/AutoSave 1.1/main.m: In function 'main':
/Users/arum/AutoSave DP STUFF/X Code projects/AutoSave 1.1/main.m:7: warning: 'NSIsSymbolNameDefined' is deprecated (declared at /Developer/SDKs/MacOSX10.4u.sdk/usr/include/mach-o/dyld.h:150)
/Users/arum/AutoSave DP STUFF/X Code projects/AutoSave 1.1/main.m:9: warning: 'NSLookupAndBindSymbol' is deprecated (declared at /Developer/SDKs/MacOSX10.4u.sdk/usr/include/mach-o/dyld.h:158)
/Users/arum/AutoSave DP STUFF/X Code projects/AutoSave 1.1/main.m:9: warning: initialization from incompatible pointer type
/Users/arum/AutoSave DP STUFF/X Code projects/AutoSave 1.1/main.m:12: warning: passing argument 1 of 'NSAddressOfSymbol' from incompatible pointer type
/Users/arum/AutoSave DP STUFF/X Code projects/AutoSave 1.1/main.m:7: warning: 'NSIsSymbolNameDefined' is deprecated (declared at /Developer/SDKs/MacOSX10.4u.sdk/usr/include/mach-o/dyld.h:150)
/Users/arum/AutoSave DP STUFF/X Code projects/AutoSave 1.1/main.m:9: warning: 'NSLookupAndBindSymbol' is deprecated (declared at /Developer/SDKs/MacOSX10.4u.sdk/usr/include/mach-o/dyld.h:158)
/Users/arum/AutoSave DP STUFF/X Code projects/AutoSave 1.1/main.m:9: warning: initialization from incompatible pointer type
/Users/arum/AutoSave DP STUFF/X Code projects/AutoSave 1.1/main.m:12: warning: passing argument 1 of 'NSAddressOfSymbol' from incompatible pointer type
cd "/Users/arum/AutoSave DP STUFF/X Code projects/AutoSave 1.1"
/usr/bin/gcc-4.0 -x objective-c -arch i386 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -g -Os -fmessage-length=0 -fvisibility=hidden -mmacosx-version-min=10.4 -I/Users/arum/AutoSave\ DP\ STUFF/X\ Code\ projects/AutoSave\ 1.1/build/AutoSave\ DP.build/Deployment/AutoSave\ DP\ (Upgraded).build/AutoSave\ DP.hmap -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -mdynamic-no-pic -F/Users/arum/AutoSave\ DP\ STUFF/X\ Code\ projects/AutoSave\ 1.1/build/Deployment -I/Users/arum/AutoSave\ DP\ STUFF/X\ Code\ projects/AutoSave\ 1.1/build/Deployment/include -I/Users/arum/AutoSave\ DP\ STUFF/X\ Code\ projects/AutoSave\ 1.1/build/AutoSave\ DP.build/Deployment/AutoSave\ DP\ (Upgraded).build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.4u.sdk -c /Users/arum/AutoSave\ DP\ STUFF/X\ Code\ projects/AutoSave\ 1.1/main.m -o /Users/arum/AutoSave\ DP\ STUFF/X\ Code\ projects/AutoSave\ 1.1/build/AutoSave\ DP.build/Deployment/AutoSave\ DP\ (Upgraded).build/Objects-normal/i386/main.o
/Users/arum/AutoSave DP STUFF/X Code projects/AutoSave 1.1/main.m: In function 'main':
/Users/arum/AutoSave DP STUFF/X Code projects/AutoSave 1.1/main.m:7: warning: 'NSIsSymbolNameDefined' is deprecated (declared at /Developer/SDKs/MacOSX10.4u.sdk/usr/include/mach-o/dyld.h:150)
/Users/arum/AutoSave DP STUFF/X Code projects/AutoSave 1.1/main.m:9: warning: 'NSLookupAndBindSymbol' is deprecated (declared at /Developer/SDKs/MacOSX10.4u.sdk/usr/include/mach-o/dyld.h:158)
/Users/arum/AutoSave DP STUFF/X Code projects/AutoSave 1.1/main.m:9: warning: initialization from incompatible pointer type
/Users/arum/AutoSave DP STUFF/X Code projects/AutoSave 1.1/main.m:12: warning: passing argument 1 of 'NSAddressOfSymbol' from incompatible pointer type
/Users/arum/AutoSave DP STUFF/X Code projects/AutoSave 1.1/main.m:7: warning: 'NSIsSymbolNameDefined' is deprecated (declared at /Developer/SDKs/MacOSX10.4u.sdk/usr/include/mach-o/dyld.h:150)
/Users/arum/AutoSave DP STUFF/X Code projects/AutoSave 1.1/main.m:9: warning: 'NSLookupAndBindSymbol' is deprecated (declared at /Developer/SDKs/MacOSX10.4u.sdk/usr/include/mach-o/dyld.h:158)
/Users/arum/AutoSave DP STUFF/X Code projects/AutoSave 1.1/main.m:9: warning: initialization from incompatible pointer type
/Users/arum/AutoSave DP STUFF/X Code projects/AutoSave 1.1/main.m:12: warning: passing argument 1 of 'NSAddressOfSymbol' from incompatible pointer type
cd "/Users/arum/AutoSave DP STUFF/X Code projects/AutoSave 1.1"
/usr/bin/gcc-4.0 -o /Users/arum/AutoSave\ DP\ STUFF/X\ Code\ projects/AutoSave\ 1.1/build/AutoSave\ DP.build/Deployment/AutoSave\ DP\ (Upgraded).build/Objects-normal/i386/AutoSave\ DP -L/Users/arum/AutoSave\ DP\ STUFF/X\ Code\ projects/AutoSave\ 1.1/build/Deployment -F/Users/arum/AutoSave\ DP\ STUFF/X\ Code\ projects/AutoSave\ 1.1/build/Deployment -filelist /Users/arum/AutoSave\ DP\ STUFF/X\ Code\ projects/AutoSave\ 1.1/build/AutoSave\ DP.build/Deployment/AutoSave\ DP\ (Upgraded).build/Objects-normal/i386/AutoSave\ DP.LinkFileList -framework Cocoa -framework AppleScriptKit -arch i386 -prebind -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
/usr/bin/ld: warning -prebind ignored because MACOSX_DEPLOYMENT_TARGET environment variable greater or equal to 10.4
/usr/bin/ld: warning -prebind ignored because MACOSX_DEPLOYMENT_TARGET environment variable greater or equal to 10.4
cd "/Users/arum/AutoSave DP STUFF/X Code projects/AutoSave 1.1"
/usr/bin/gcc-4.0 -o /Users/arum/AutoSave\ DP\ STUFF/X\ Code\ projects/AutoSave\ 1.1/build/AutoSave\ DP.build/Deployment/AutoSave\ DP\ (Upgraded).build/Objects-normal/ppc/AutoSave\ DP -L/Users/arum/AutoSave\ DP\ STUFF/X\ Code\ projects/AutoSave\ 1.1/build/Deployment -F/Users/arum/AutoSave\ DP\ STUFF/X\ Code\ projects/AutoSave\ 1.1/build/Deployment -filelist /Users/arum/AutoSave\ DP\ STUFF/X\ Code\ projects/AutoSave\ 1.1/build/AutoSave\ DP.build/Deployment/AutoSave\ DP\ (Upgraded).build/Objects-normal/ppc/AutoSave\ DP.LinkFileList -framework Cocoa -framework AppleScriptKit -arch ppc -prebind -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
/usr/bin/ld: warning -prebind ignored because MACOSX_DEPLOYMENT_TARGET environment variable greater or equal to 10.4
/usr/bin/ld: warning -prebind ignored because MACOSX_DEPLOYMENT_TARGET environment variable greater or equal to 10.4
Build succeeded (10 warnings)
I got it to work on the G4 by updating it from 10.4.4 to 10.4.7, but does this mean users of older systems (eg, 10.3.x - 10.4.6) wonât be able to use it without updating? is there a way to make it work on older versions?