Linking against AVKit breaks app on 10.6
Linking against AVKit breaks app on 10.6
- Subject: Linking against AVKit breaks app on 10.6
- From: Andreas Falkenhahn <email@hidden>
- Date: Sat, 10 Sep 2016 13:47:03 +0200
When I link my app against AVKit using
-framework AVKit
it fails to load on 10.6 claiming
dyld: Library not loaded: /System/Library/Frameworks/AVKit.framework/Versions/A/AVKit
Referenced from: ...
Reason: image not found
Trace/BPT trap
I thought it was possible to dynamically use newer OS X features if the user is
running a newer version. I want my app to run on 10.6 but use newer features where
possible. Thus, I'm compiling and linking using -mmacosx-version-min=10.6.
This seems to work fine for 10.7 frameworks like AV Foundation and Core Media
but it doesn't work for AVKit. Linking against
-framework AVFoundation -framework CoreMedia
doesn't break compatibility with 10.6 but linking against AVKit does. Is there a
way around this? AFAIR people said that it was possible to use newer OS X features
in apps compiled for older systems so I'm wondering why it doesn't work with AVKit
here...
--
Best regards,
Andreas Falkenhahn mailto:email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden