• 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: Internet Config compatibility issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Internet Config compatibility issue


  • Subject: Re: Internet Config compatibility issue
  • From: Eric Schlegel <email@hidden>
  • Date: Tue, 14 Jan 2003 08:35:10 -0800

On Tuesday, January 14, 2003, at 02:47 AM, Stiphane Sudre wrote:

The issue is that the Plug-in code is working fine on 10.2. But when it's called in 10.1, it's crashing and its last words are:

"
2003-01-13 20:32:59.210 MyApp[702] Arghg!

dyld: /Applications/MyApp.app/Contents/MacOS/MyApp Undefined symbols:
/Library/MyFolder/Plug-ins/MyPlugin.bundle/Contents/MacOS/MyPlugin undefined reference to _ICStart expected to be defined in Cocoa
"

My current idea for a solution is to wrap all the Internet Config calls I'm using in the Plug-in into the Main Application (where the symbols are correctly linked) and then call this wrapping API from the Plug-In (NSBundle).

But if there was an easier solution, I would take it.

InternetConfig moved from HIToolbox.framework to HIServices.framework in 10.2. The dyld error message looks like this caused it to also be re-exported from Cocoa.framework somehow, I'm not quite sure how, on 10.2. I suspect it wasn't exported from Cooca.framework on 10.1.

I would guess that if you linked your plugin against Carbon.framework, and organized the framework link order so that you linked against Carbon before linking against Cocoa, then the linker would correctly record that ICStart was imported from Carbon, not Cocoa. Then when you load your plugin on 10.1, dyld will still be able to find ICStart since it's exported from Carbon.framework on both 10.1 and 10.2.

-eric
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Internet Config compatibility issue
      • From: Stéphane Sudre <email@hidden>
References: 
 >Internet Config compatibility issue (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Internet Config compatibility issue
  • Next by Date: Re: Internet Config compatibility issue
  • Previous by thread: Internet Config compatibility issue
  • Next by thread: Re: Internet Config compatibility issue
  • Index(es):
    • Date
    • Thread