[futurebasic] Re: [FB] CFBundleIdentifier

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 2006 : Group Archive : Group : All Groups

From: Bernie <spam.me.and.i.will.kill.you@...>
Date: Wed, 8 Feb 2006 10:48:55 +0000
Robert P wrote:

>
> Bernie wrote:
>
>> Now, and on the same subject, I'd like to know is why this doesn't  
>> return the bundle identifier?
>> cfStringRef = fn CFBundleGetIdentifier( fn CFBundleGetMainBundle() )
>
> It works here. Compile the tiny program:
>
> '---------------
> // from CFBundle.h
> toolbox fn CFBundleGetMainBundle = CFBundleRef
> toolbox fn CFBundleGetIdentifier(CFBundleRef) = CFStringRef
>
> CFShow( fn CFBundleGetIdentifier(fn CFBundleGetMainBundle() ) )
> '---------------
> <...>


Hm. I was trying two ways:

1. Running the fb app, with the Info.plist in the same folder.
2. Compiling the app, making a bundle and dropping the Info.plist  
into the package.

I can now see there were problems in my original Info.plist. Both  
options now work with the corrected file.

Thank you, Dr. P.

Bernie