Forums BaseTen

Exception running 'BaseTen-1.0RC2.dmg'

Subscribe to Exception running 'BaseTen-1.0RC2.dmg' 2 post(s), 2 voice(s)

 
Avatar Goran Schuma... 1 post

Hi!

I downloaded til file ‘BaseTen-1.0RC2.dmg’, run the ‘BaseTen Assistant’ and tried to make a little Cocoa app. I get this exception:
==== INSERT =====
This GDB was configured as “i386-apple-darwin”.tty /dev/ttys002
warning: Unable to read symbols for ”@executable_path/../Frameworks/BaseTen.framework/Versions/A/BaseTen” (file not found).
warning: Unable to read symbols for ”@executable_path/../Frameworks/BaseTenAppKit.framework/Versions/A/BaseTenAppKit” (file not found).
Program loaded.
sharedlibrary apply-load-rules all
run
[Switching to process 83438 local thread 0×2f0f]
Running…
2008-01-02 06:43:04.214 PostgresCocoaTest[83438:813] * -[BXDatabaseContext copyWithZone:]: unrecognized selector sent to instance 0×234250
2008-01-02 06:43:04.216 PostgresCocoaTest[83438:813] An uncaught exception was raised
2008-01-02 06:43:04.216 PostgresCocoaTest[83438:813]
-[BXDatabaseContext copyWithZone:]: unrecognized selector sent to instance 0×234250
2008-01-02 06:43:04.217 PostgresCocoaTest[83438:813]
Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘* -[BXDatabaseContext copyWithZone:]: unrecognized selector sent to instance 0×234250’
2008-01-02 06:43:04.217 PostgresCocoaTest[83438:813] Stack: (
==== END INSERT =====

Running on a PB Pro with Intel and Leopard.
Tried to execute /Frameworks/BaseTen.framework/Versions/A/BaseTen manually from Terminal and got some error indicating that the code isn’t compiled for Intel. But when I try the same later I can’t make that eror message reappear.

Do you know what can cause this? What I understand the FW should be compatible with Leopard and Intel. I can’t find any method named ‘copyWithZone’ in BXDatabaseContext.h

Must admit that I’m not that fluent in writing Cocoa/Obj-C since I am a WebObjects developer writing Java.

Glad for any sugestions,
Göran Schumacher.

 
Avatar Tuukka Norri Administrator 11 post(s)

Hi and sorry about taking so long to answer.

It looks like you’ve linked an application to BaseTen and BaseTenAppKit frameworks but they haven’t been copied inside the application’s bundle. When built with the Release build style, BaseTen’s install name is set so that applications linked to it will look for it inside their bundles. This way, applications could be distributed as .app bundles without any additional files, such as frameworks, libraries etc., needed.

For testing purposes, another option is to build BaseTen with Debug style. This way the framework’s install name will be left empty and applications will have a reference to its location at build time.

Forums BaseTen