• 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: Find replacement for deprecated APIs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Find replacement for deprecated APIs


  • Subject: Re: Find replacement for deprecated APIs
  • From: Beinan Li <email@hidden>
  • Date: Thu, 21 Feb 2013 12:15:12 -0500

Well, I think NSLinkEditError and _dyld_present can just be thrown away if we use dlopen series.



On Thu, Feb 21, 2013 at 11:50 AM, Beinan Li <email@hidden> wrote:
Ok, at least I figured out for NSUnLinkModule/NSLinkModule/NSCreateObjectFileImageFromFile/NSDestroyObjectFileImage/NSLookupSymbolInModule/NSAddressOfSymbol, I should just use the dlopen/dlsym cross-platform API set. But still not sure what to use for NSLinkEditError and _dyld_present.


On Thu, Feb 21, 2013 at 11:25 AM, Beinan Li <email@hidden> wrote:
Our project has lots of warnings about deprecated APIs, such as

warning: 'NSLinkEditError' is deprecated [-Wdeprecated-declarations]

warning: 'NSUnLinkModule' is deprecated [-Wdeprecated-declarations]

warning: '_dyld_present' is deprecated [-Wdeprecated-declarations]

warning: 'NSCreateObjectFileImageFromFile' is deprecated [-Wdeprecated-declarations]

warning: 'NSDestroyObjectFileImage' is deprecated [-Wdeprecated-declarations]

warning: 'NSLookupSymbolInModule' is deprecated [-Wdeprecated-declarations]

warning: 'NSAddressOfSymbol' is deprecated [-Wdeprecated-declarations]


I wonder where I can quickly find replacement for them. 

It's not obvious anywhere in the doc or on the web.


Thanks!



 _______________________________________________
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

References: 
 >Find replacement for deprecated APIs (From: Beinan Li <email@hidden>)
 >Re: Find replacement for deprecated APIs (From: Beinan Li <email@hidden>)

  • Prev by Date: Re: Find replacement for deprecated APIs
  • Next by Date: Passing command-line define's to projects/targets with xcodebuild
  • Previous by thread: Re: Find replacement for deprecated APIs
  • Next by thread: Passing command-line define's to projects/targets with xcodebuild
  • Index(es):
    • Date
    • Thread