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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T17:07:22+00:00 2026-06-13T17:07:22+00:00

I created an iPhone app with XCode and Phonegap. Launching the app works perfectly

  • 0

I created an iPhone app with XCode and Phonegap.

Launching the app works perfectly fine but when I press the home button of the iPhone (which puts the app into the background) and then open the app again (to bring it to foreground), it crashes.

This is what the logs say:

2012-10-31 14:37:21.359 [810:907] -[AppDelegate myFunc]: unrecognized
selector sent to instance 0x1e064220

2012-10-31 14:37:21.361 [810:907] — Terminating app due to uncaught
exception ‘NSInvalidArgumentException’, reason: ‘-[AppDelegate
myFunc]: unrecognized selector sent to instance 0x1e064220’

— First throw call stack:

(0x361b62a3 0x344c697f 0x361b9e07 0x361b8531 0x3610ff68 0x36107037
0x33bc9d91 0x37630213 0x3762fdff 0x37487d61 0x374876d5 0x37487123
0x3663a5a3 0x3618b683 0x3618aee9 0x36189cb7 0x360fcebd 0x360fcd49
0x366392eb 0x374db301 0xe7c89 0xe7c20)

libc++abi.dylib: terminate called throwing an exception

The image attached shows the line of code where it stops. enter image description here

What’s going on?

  • 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-13T17:07:23+00:00Added an answer on June 13, 2026 at 5:07 pm

    It appears you’re invoking a method called myFunc that doesn’t exist on your AppDelegate.

    This will cause the application to terminate. Check that function exists or remove the invokation.

    When you bring an app from the background to the foreground, different methods are invoked on the delegate, so your call to MyFunc might exist there.

    Check

    applicationDidBecomeActive
    

    and

    applicationWillEnterForeground
    

    The details of this can be found here:

    http://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/ManagingYourApplicationsFlow/ManagingYourApplicationsFlow.html

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

Sidebar

Related Questions

I recently created an iPhone app using Xcode and storyboards. The app works perfectly
I started an iPhone App with the Xcode template for UITabBarController, which created a
I created a sencha touch 2/phonegap app that works fine on android, and needed
I just created an iPhone app and am having friends try it out, but
I've created a simple iPhone app which has two .xib files. In the app
I am currently developing an iPhone app using Apache Cordova (phonegap) and xcode to
I have created my iPhone app in Xcode 4 with base SDK 4.3 In
I've created an ad hoc distribution build for my iPhone app using Xcode 4.1.
I created some files which store some logging information in my iPhone App. They
I've created an iPhone app project in Xcode and I'd like to change the

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.