Page 1 of 1

Problem with adium.xcode (SVN)

Posted: Mon Jun 13, 2005 10:25 am
by ImaSudonim
My adium.xcode seems to have gotten corrupted. svn up doesn't seem to be giving me a new one.

Can someone please tell me how I can recover a working adium.xcode? Once I got an error message that adium.xcodeproj was for a newer version of xcode, once I got a message that adium.xcode had no .pbxproj file in it. I have been unable to reproduce either of these error msgs, but my problem building either from xcode or the command line still occurs.

building from terminal gives:

make
xcodebuild -project Adium.xcode -buildstyle Development build
xcodebuild: Error: couldn't load project /src/adium/Adium.xcode
make: *** [adium] Error 1

ls /src/adium gives:

drwxr-xr-x 5 ima admin 170 Jun 13 06:13 adium.xcode

Adium.xcodeproj:
total 1704
-rw-r--r-- 1 ima admin 868715 Jun 12 18:39 project.pbxproj

I think I've got a corrupt xcode file, but am unsure how to get a new one (renaming it and svn up'ing doesn't seem to work)

I am using 10.4.1 and xcode version 2.

thank you!

and thanks for a great product! It was all working fine until Saturday morning or so (6/11/2005)...

Ima

Posted: Mon Jun 13, 2005 12:38 pm
by ofri
Adium as been updated to work with xcode 2.1. Upgrade to xcode 2.1 and open adium.xcodeproj. Everything should work with xcode 2.1.

Posted: Mon Jun 13, 2005 2:29 pm
by ImaSudonim
Oops, I didn't realize there WAS an xcode update. (I've been really out of it 8-( )

I am downloading the update from http://developer.apple.com/, and will apply the fix.

Does this mean that svn adium now requires 10.4.x and xcode 2.1 or will there be multiple xcode files for each xcode supported? Or are universal binaries in 2.1 the way to go and every other xcode is now deprecated?

Just curious, it's fine with me either way as my mac with developer tools is already running tiger.

Thanks for the correction!

Ima

[off topic
PS -- I wish I could put a black border around my post. The PPC is now going the way of the commodores, ataris and so on. A sad day, as well as a bad day
]

Posted: Mon Jun 13, 2005 3:41 pm
by Adam Iser
ImaSudonim wrote:Does this mean that svn adium now requires 10.4.x and xcode 2.1
Yup

Posted: Mon Jun 13, 2005 3:45 pm
by ofri
I don't really know - one of the devs will have to comment on this. But, i do know that there is a way to produce a universal binary that works in PPC/x86 Tiger AND on panther using xcode 2.1 :P
The universal binary format has been in OS X for a long time.

Posted: Mon Jun 13, 2005 5:18 pm
by ImaSudonim
Now I get one build error (even after a build clean all targets including precompiled headers)

Adium.pch:21: error: AIUtilities/AIStringUtilities.h: No such file or directory

The build failed even with xcode 2.1

Any idea where to go from here?

Thanks!

Ima

Posted: Mon Jun 13, 2005 5:57 pm
by zaudragon
ImaSudonim wrote:Now I get one build error (even after a build clean all targets including precompiled headers)

Adium.pch:21: error: AIUtilities/AIStringUtilities.h: No such file or directory

The build failed even with xcode 2.1

Any idea where to go from here?

Thanks!

Ima
Known problem that supposedly was fixed…

Posted: Mon Jun 13, 2005 7:50 pm
by evands
Xcode 2.1 has a serious problem which means that most people are going to have initial problems building Adium. It keeps removing dependencies from the project.

Steps to fix:

Code: Select all

1. Toggle Targets
2. Click External Frameworks
3. Press command-I
4. Click the Plus in the bottom of the window which opens
5. Select AIUtilities.framework, AIHyperlinks.framework, and AIBookmarksImport.framework
6. Press OK.
Your build will now work as expected.

Posted: Mon Jun 13, 2005 8:01 pm
by ImaSudonim
I svned to revision 12341 and rebuilt with a clean all targets (including precompiled headers). The problem still occurs unfortunately!

Thanks!

From terminal I built:

make -n
xcodebuild -project Adium.xcode -buildstyle Development build
[Four-Computer:/src/adium] ima% xcodebuild -project Adium.xcodeproj -buildstyle Deployment build
deprecated option: -buildstyle is no longer supported in xcodebuild. Use -configuration instead.
=== BUILDING AGGREGATE TARGET External Frameworks WITH CONFIGURATION Deployment ===

..... (removed stuff) ....

cd /src/adium
setenv MACOSX_DEPLOYMENT_TARGET 10.3
/usr/bin/gcc-4.0 -x objective-c-header -arch ppc -pipe -std=gnu99 -Wno-trigraphs -fpascal-strings -fasm-blocks -gfull -Os -fmessage-length=0 -mtune=G4 -I/src/adium/build/Adium.build/Deployment/Adium.Framework.build/Adium.hmap -Wall -Wno-long-double -F/src/adium/build/Deployment -F/src/adium/build/Deployment -I/src/adium/build/Deployment/include -I/src/adium/build/Adium.build/Deployment/Adium.Framework.build/DerivedSources -DCRASH_REPORTER -c /src/adium/Adium.pch -o /Library/Caches/com.apple.Xcode.501/SharedPrecompiledHeaders/Adium-arqluwnrszkmwdbrdrsrxdlbujao/Adium.pch.gch
/src/adium/Adium.pch:21:91: error: AIUtilities/AIStringUtilities.h: No such file or directory
** BUILD FAILED **

Posted: Mon Jun 13, 2005 8:18 pm
by ImaSudonim
evands,

Thanks, gosh that IS a serious problem! I have added the three frameworks you have suggested. adium built fine

Thanks to all the developers for making such a great product!