Re: Build and Go strange results with BasicDataBrowser
Re: Build and Go strange results with BasicDataBrowser
- Subject: Re: Build and Go strange results with BasicDataBrowser
- From: Scott Tooker <email@hidden>
- Date: Sat, 11 Jun 2005 11:27:07 -0700
This usually indicates that there is a mismatch between the "Product
Name" and the data in the Info.plist. The best way to fix this is to
use macro expansion in the Info.plist (and yes, we'll be updating
templates and examples to do this in a future version of the tools).
In the Info.plist set CFExecutableName to "$(EXECUTABLE_NAME)" and
CFBundleName to "$(PRODUCT_NAME)". This should fix your problem and
also make it very easy to change the name of the application per
configuration.
If that doesn't work, please file a bug and include the project with
it and we can take a look.
Scott
On Jun 11, 2005, at 4:00 AM, Steven Kortze wrote:
I didn't see this in the archives and it seems rather unusual.
The BasicDataBrowser sample code in the /Developer/Examples/Carbon
folder will build but there are some strange results. Double
clicking the app icon will result in a message about the app being
damaged or incomplete. Using the Build and Go function in XCode 2.1
Will launch the app in the background without the app icon showing
up in the Dock. The process is listed via the Activity Monitor
application, but it has limited functionality. You can't bring the
app to the foreground (it launched in the background). You also can
not scroll the window that appears and you cannot select the
DataBrowser columns by clicking on the column heading.
There is also some string handling that isn't functional.
BasicDataBrowser is still using Str255 in a couple of functions
instead of CFString. Disabling/commenting-out the code so that it
isn't used or called does not help at all.
All of this works with XCode 2.0. I'm using XCode 2.1. I've tried
it with and without the 10.4 SDK with the same results. I guess the
strangest thing to me is that the app launches with the window in
the background and never seems to act like a full application (no
Dock icon, not selectable via cmd-tab app switching).
Note: I have XCode 2.0 on another system (10.4.x) and it builds and
runs fine. My XCode 2.1 system is running 10.4.1.
Thanks,
Steve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden