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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T12:09:51+00:00 2026-05-16T12:09:51+00:00

I am using local notifications in a app I’m making. I use this: Class

  • 0

I am using local notifications in a app I’m making.

I use this:

Class myClass = NSClassFromString(@"UILocalNotification");
if (myClass) {
//Local Notification code
}

To avoid using UILocalNotifications when not supported.

But my app crashes on launch with this error code:

warning: Unable to read symbols for
“/Library/MobileSubstrate/MobileSubstrate.dylib”
(file not found). dyld: Symbol not
found:
_OBJC_CLASS_$_UILocalNotification Referenced from:
/var/mobile/Applications/FCFFFCB2-A60B-4A8D-B19B-C3F5DE93DAD2/MyApp.app/MyApp
Expected in:
/System/Library/Frameworks/UIKit.framework/UIKit

Data Formatters temporarily
unavailable, will re-try after a
‘continue’. (Not safe to call dlopen
at this time.)
mi_cmd_stack_list_frames: Not enough
frames in stack.
mi_cmd_stack_list_frames: Not enough
frames in stack.

How can i prevent this?

  • 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-05-16T12:09:52+00:00Added an answer on May 16, 2026 at 12:09 pm

    The proper way to do this is:

    Class localNotificationClass = NSClassFromString(@"UILocalNotification");
    if (localNotificationClass != nil) {
        // The UILocalNotification class is available
        UILocalNotification* localNotification =
            [[localNotificationClass alloc] initWith....];
    }
    

    You can not use [UILocalNotificationClass alloc] because that will cause Link Errors when your code is loaded on an older iOS where the class is not available. And that is exactly what you are trying to prevent.

    BTW: Those MobileSubstrate errors are what you get when you jailbreak your phone: an unpredictable/undefined development platform 🙂

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

Sidebar

Related Questions

I am handling local notifications using: - (void)application:(UIApplication *)app didReceiveLocalNotification:(UILocalNotification *)notif And to schedule
I'm writing a reminders app for iPhone that displays reminders using local notifications. If
So i have this local SVN repo that i am using for my dev
Using (local) in the connection string doesn't work on my cluster. I'm assuming it's
I'm using local shared objects within flash both to store significant amounts of user
I know how to set up a local webserver using xampp on windows... I
Can any data exchanged on a local machine using the loopback IP 127.0.0.1 (localhost)
I am instantiating a local COM server using CoCreateInstance. Sometimes the application providing the
I have been using anonymous namespaces to store local data and functions and wanted
I am using the ReportViewer control from Visual Studio 2008 in Local Mode with

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.