• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Linking against AVKit breaks app on 10.6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linking against AVKit breaks app on 10.6


  • Subject: Re: Linking against AVKit breaks app on 10.6
  • From: Greg Parker <email@hidden>
  • Date: Mon, 12 Sep 2016 12:41:37 -0700

> On Sep 12, 2016, at 12:40 AM, Alastair Houghton <email@hidden> wrote:
>
>> On 10 Sep 2016, at 12:47, Andreas Falkenhahn <email@hidden> wrote:
>>
>> 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
>
> This is probably happening because AVKit doesn’t declare its symbols as weakly imported, while the other frameworks do.  You can force weak linking for that particular framework using
>
>  -weak_framework AVKit
>
> instead of just using the normal “-framework”.

Please file a bug report. A missing availability attribute somewhere would be a bug in AVFoundation.


--
Greg Parker     email@hidden     Runtime Wrangler



_______________________________________________

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


  • Follow-Ups:
    • Re: Linking against AVKit breaks app on 10.6
      • From: Andreas Falkenhahn <email@hidden>
References: 
 >Linking against AVKit breaks app on 10.6 (From: Andreas Falkenhahn <email@hidden>)
 >Re: Linking against AVKit breaks app on 10.6 (From: Alastair Houghton <email@hidden>)

  • Prev by Date: Re: Swift and Threads
  • Next by Date: Re: How to do isKindOfClass in Swift
  • Previous by thread: Re: Linking against AVKit breaks app on 10.6
  • Next by thread: Re: Linking against AVKit breaks app on 10.6
  • Index(es):
    • Date
    • Thread