Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7965305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T06:07:00+00:00 2026-06-04T06:07:00+00:00

In my OS X app, I’m calling SCPreferencesCreateWithAuthorization which is found in the SystemConfiguration

  • 0

In my OS X app, I’m calling SCPreferencesCreateWithAuthorization which is found in the SystemConfiguration framework:

AuthorizationRef auth;
AuthorizationCreate(NULL, NULL, kAuthorizationFlagDefaults, &auth);
SCPreferencesRef prefRef = SCPreferencesCreateWithAuthorization(kCFAllocatorDefault,CFSTR("Get Connected"), NULL, auth);

This works fine on Lion, but when I run the app in Snow Leopard, it crashes when that function is called. The odd thing is that the crash log indicates that it thinks this symbol is found in IOKit

Dyld Error Message:
  Symbol not found: _SCPreferencesCreateWithAuthorization
  Referenced from: /Users/localadmin/Downloads/Get Connected.app/Contents/MacOS/Get Connected
  Expected in: /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit

I’ve linked the SystemConfiguration.framework to the target in Xcode and imported the header in my AppDelegate.h:

#import <SystemConfiguration/SystemConfiguration.h>

What am I doing wrong? Why does it work under Lion, but not Snow Leopard. The docs say that it is available in 10.5 and later.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T06:07:02+00:00Added an answer on June 4, 2026 at 6:07 am

    Are you also linking against IOKit? Try moving SystemConfiguration earlier in the link order.

    It appears that that symbol is also present in the IOKit framework on Lion. I’m not sure if the the symbol in SystemConfiguration is just an alias for the one in IOKit.

    Anyway, your app has a dependency on the one in IOKit, which is undesirable.

    You might be able to check this with nm -g -m ~/"Downloads/Get Connected.app/Contents/MacOS/Get Connected" | grep SCPref.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My app has several buttons which trigger different events. The user should NOT be
App:MFC backed by oracle Unit testing framework:googletest I am going to unit testing the
My app must NOT auto -rotate at all. But it includes a screen which
My app, which uses ARC, does the following: Uploads a picture taken by the
'app name' specifies a minimum os of version 4.3, which is too high to
My app needs to keep an index of files in which the files are
My app needs to open an Access mdb file and an xml file (which
My app pulls data from a website which uses Form based authentication. It needs
App Engine only allows you to use these formats for XMPP addresses: app-id@appspot.com anything@app-id.appspotchat.com
app.get('/', function (req, res) { res.render('home.jade', { results: req.session.value }); }); What i would

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.