App doesn't know it's launched... (Dock icon bouncing)
App doesn't know it's launched... (Dock icon bouncing)
- Subject: App doesn't know it's launched... (Dock icon bouncing)
- From: Steven Palm <email@hidden>
- Date: Sat, 17 Apr 2004 21:49:40 -0500
I've written a very simple Foundation app that is intended to go into
an .App bundle and using values in the Info.plist file launch another
file located in it's bundle with optional command line parameters.
It works, but when it launches it keeps bouncing it's icon in the dock
even after it's spawned off (via NSTask) the program from inside it's
bundle.
Am I missing some other key in the Info.plist file? I put it together
by hand, so I may have guessed wrong. The program it launches is a
currently wxPerl, a carbon program.
Here is the Info.plist if it helps:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM
"file://localhost/System/Library/DTDs/PropertyList.dtd">
<plist version="0.9">
<dict>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleExecutable</key>
<string>MyLauncher</string>
<key>CFBundleName</key>
<string>MyLauncher</string>
<key>ExecutorFileName</key>
<string>wxPerl</string>
<key>ExecutorArgs</key>
<array>
<string>main.pl</string>
</array>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>LSPrefersCarbon</key>
<true/>
<key>LSRequiresCarbon</key>
<key>CSResourcesFileMapped</key>
<true/>
<key>CFBundleIconFile</key>
<string>myapp.icns</string>
<key>CFBundleShortVersionString</key>
<string>alpha-test-build</string>
</dict>
</plist>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.