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 8485669
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T20:42:46+00:00 2026-06-10T20:42:46+00:00

I ran into this issue where my RestKit(master) based app won’t run on OSX

  • 0

I ran into this issue where my RestKit(master) based app won’t run on OSX 10.6. I keep getting errors like:

Dyld Error Message:
Symbol not found: _OBJC_CLASS_$_NSRegularExpression
Referenced from: something/something/../Frameworks/RestKit.framework/Versions/A/RestKit
Expected in: /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
in /Users/something/something    Client.app/Contents/MacOS/../Frameworks/RestKit.framework/Versions/A/RestKit

My dev environment is Xcode 4.4 on 10.8, base SDK set to 10.8 and deploy target to 10.6. I looked into Restkit where it’s referencing NSRegularExpression(which is only available on 10.7 or later), it’s all wrapped with version check like:

#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 1070 || __IPHONE_OS_VERSION_MAX_ALLOWED >= 40000
#endif

I think this should handle the version issue? But the result is that my app only runs on 10.7 or later, but not for 10.6.

I downloaded Xcode 4.3.3 and copied 10.6 sdk to my current Xcode. I tried to set the release target of base SDK to 10.6, but it doesn’t help either.

Could someone shed some light on this? Thanks..

  • 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-10T20:42:48+00:00Added an answer on June 10, 2026 at 8:42 pm

    Well, I didn’t really get a solution for this. __MAC_OS_X_VERSION_MAX_ALLOWED only checks for your base SDK, so in my case, it always use NSRegularExpression despite my deployment target was set to 10.6.

    I ended up made some changes to the if statement so that it always skip NSRegularExpression calls.

    you can do something like this to get around it:

    #if __MAC_OS_X_VERSION_MAX_ALLOWED < -1 || __IPHONE_OS_VERSION_MAX_ALLOWED >= 40000
    #endif
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I ran into this issue while testing a rails app deployed to two different
I just ran into this issue while making a GET request to a node.js
I've ran into trouble with SOAP, I've never had this issue before and can't
I ran into this issue when trying to add a CMFCMenuButton to an existing
Has anyone ran into this issue? We have a mobile site that can't use
I ran into this issue quite a few times. Let's say I have a
I ran into this issue on accident while debugging a faulty string trim function
I'm trying to create a website for myself and just ran into this issue:
I was helping someone with their homework and ran into this strange issue. The
Edit: it's been ages since I've ran into this "issue" back then, and by

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.