NSURL crash

2010-01-24 Thread Mac Lancer
Hello, Gentlemen,

One more issue with my application. Some users reported that the application
crashes on startup with the following log:

Process: AnimalsAndEarth [6617]
Path:
/Applications/AnimalsAndEarth.app/Contents/MacOS/AnimalsAndEarth
Identifier:  com.AnimalsAndEarth.AnimalsAndEarth
Version: ??? (???)
Code Type:   X86-64 (Native)
Parent Process:  launchd [107]

Interval Since Last Report:  280239 sec
Crashes Since Last Report:   16
Per-App Interval Since Last Report:  0 sec
Per-App Crashes Since Last Report:   12

Date/Time:   2010-01-06 11:37:15.762 -0800
OS Version:  Mac OS X 10.5.8 (9L31a)
Report Version:  6
Anonymous UUID:  7C0714B9-1476-45FE-993D-B91C86DE1DF4

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0002, 0x
Crashed Thread:  0

Dyld Error Message:
 Symbol not found: _OBJC_CLASS_$_NSURL
 Referenced from:
/Applications/AnimalsAndEarth.app/Contents/MacOS/AnimalsAndEarth
 Expected in:
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

As you can see it failed to find NSURL symbol. I'm confused as to whether
this could happen.

Does anyone know what should I do to avoid this? Some linker flags or
something other?

Thanks,
Mac Lancer
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Document-based application issue

2009-12-29 Thread Mac Lancer
Hello, Gentlemen,

I’m working on a Cocoa application that is intended to open documents in
custom format. It is a document-based application and it should open files
with aeep/aeew extensions. The problem is that on some Mac computers after
installation aeep/aeew files do not open when the user double-clicks them.
My thought was that the aeep/aeew file extensions are not registered for
some reason during the installation. I even tried adding 'lsregister' call
to the postflight script but with no luck – the files still do not open.
Unfortunately, I do not have much information about configurations of these
macs as this behavior is reported by end users. Does anyone know what can be
the reason for such behavior? Am I missing something? Some additional
information below:

1. The application is installed to the folder /Library/Application
Support/AnimalsandEarth/A&E Photo.app
2. Info.plist file contains the following dictionary:
CFBundleDocumentTypes


CFBundleTypeExtensions

aeep
aeew
jpg
jpeg
png
gif
bmp

CFBundleTypeIconFile

CFBundleTypeName
AnimalsAndEarthPhoto
CFBundleTypeOSTypes



CFBundleTypeRole
Viewer
NSDocumentClass
MyDocument


3. The URL to the installer:
http://www.animalsandearth.com/macapp/animalsandearth.dmg
4. Some aeep files can be found in the ~/Pictures/AnimalsandEarth Photos/
folder

Any help would be appreciated.

Thanks,
AE
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com