• 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: ProfileSystem ADC Example FindDictionaryForDataType EXC_BAD_ACCESS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ProfileSystem ADC Example FindDictionaryForDataType EXC_BAD_ACCESS


  • Subject: Re: ProfileSystem ADC Example FindDictionaryForDataType EXC_BAD_ACCESS
  • From: Ned Hogan <email@hidden>
  • Date: Tue, 01 Sep 2009 19:29:10 -0700

I thought this might be related to Xcode 3.2 SDK issues, upon closer inspection the system_profiler changes by release and you have to review the XML files it generates or risk your parser blowing up. 

 

Ideally, it would be nice if Apple would keep the ProfileSystem popen ->system_profile example up to date and document backwards compatibility issues.

I posted this thread on the compatibility forum where it belongs if anyone is interested in following up.

Ned
On Aug 29, 2009, at 7:24 PM, Sean McBride wrote:

Ned Hogan (email@hidden) on 2009-08-29 1:42 PM said:

Might be the wrong place to ask the question, but this example code
crashes on Snow Leopard in FindDictionaryForDataType

http://developer.apple.com/mac/library/samplecode/ProfileSystem/index.html

It might be a build option as this code works on 10.3 - 10.5. Anyone
know of a fix, or do I need to rewrite the code that was based on this
example?

I just downloaded it, built it, and launched it on 10.5.8, it crashes
there too.

Sean



 _______________________________________________
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

  • Prev by Date: Debugger not attaching when I run on Simulator
  • Next by Date: Re: 10.6 gcov link failure
  • Previous by thread: Debugger not attaching when I run on Simulator
  • Next by thread: Analyzer warning about garbage with double return values
  • Index(es):
    • Date
    • Thread