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

  • Home
  • SEARCH
  • 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 8865927
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T16:39:00+00:00 2026-06-14T16:39:00+00:00

The application that developing is running fine on Xcode simulator, but when I am

  • 0

The application that developing is running fine on Xcode simulator, but when I am testing it on real device is terminated. Below is what my phone’s console prints out when app is terminated.

Nov 22 00:51:09 iPhone ReportCrash[3862] <Notice>: Formulating crash report for process CoL[3860]
��Nov 22 00:51:09 iPhone ReportCrash[3862] <Error>: libMobileGestalt copySystemVersionDictionaryValue: Could not lookup ReleaseType from system version dictionary
��Nov 22 00:51:09 iPhone com.apple.launchd[1] (UIKitApplication:pan.ConquestOfLancaster[0xd857][3860]) <Warning>: (UIKitApplication:pan.ConquestOfLancaster[0xd857]) Job appears to have crashed: Segmentation fault: 11
��Nov 22 00:51:09 iPhone backboardd[52] <Warning>: Application 'UIKitApplication:pan.ConquestOfLancaster[0xd857]' exited abnormally with signal 11: Segmentation fault: 11
��Nov 22 00:51:09 iPhone ReportCrash[3862] <Notice>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/CoL_2012-11-22-005109_iPhone.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0
��Nov 22 00:51:09 iPhone awdd[3863] <Error>: libMobileGestalt copySystemVersionDictionaryValue: Could not lookup ReleaseType from system version dictionary

Basically, the problem occurs when I am firing a NSTimer (countdown) and reach ‘1’. Freeze for a while and then terminated.

Here is the method where timer initialised:

- (void)MapMenu:(MapMenu *)menu didSelectButton:(NSInteger)index{

    if (index == 0) {
        if (self.owner == nil && distance < 10) {
            CountDownTimer* countDown = [[CountDownTimer alloc]init];
            [countDown startTimerOn:parentView];
            [self performSelector:@selector(attackTo:attacker:) withObject:nil afterDelay:20.0];
        }
        else if (self.owner == @"Player_1")
            NSLog(@"You have already occupy this building with name, %@", self.title);
    }
}

- (void) attackTo: (BuildingViewController*) selectedBuilding attacker: (NSString*) attacker{

    self.owner = @"Player_1";
    NSLog(@"Building has a new owner with name, %@", self.owner);
}

Does anyone has a clue for this. Really … lost!

Thanks in advance

  • 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-14T16:39:02+00:00Added an answer on June 14, 2026 at 4:39 pm

    I am not sure if this is the source of the crash, but you do have a problem right here:

    [self performSelector:@selector(attackTo:attacker:) withObject:nil afterDelay:20.0];
    

    Basically, the fact that selector call has two : means that it is expecting two arguments. If you use the method performSelector:withObject:afterDelay:, you can only use it with a method that has one argument.

    For example,

    [self performSelector:@selector(doSomething:) withObject:object afterDelay:20.0f]
    

    is equivalent to

    [self doSomething:object]
    

    and it will be performed after about 20 seconds.

    In this case, you have a mismatch because your @selector takes two arguments, so you can not use it with that particular performSelector method.

    While there is a performSelector:withObject:withObject method that takes two arguments, it does not have a delay argument. You might need to use NSInvocation instead, or change the attackTo:attacker: so that it uses a single argument (for example, an NSDictionary).

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

Sidebar

Related Questions

I am developing a nice application that seems to be running fine, I've started
I'm developing an application that detects Source-based games running on the LAN. Following up
I'm developing an application that stores images and related metadata. I'm running into issues
In the application I'm developing, I have a thread that is running in a
I have an application that has been running fine since its launch over a
I am developing a C# Console application, that has nothing to do with the
I'm developing an application that needs to write to the registry. It works fine
I am developing android application under Eclipse. It is running in emulator just fine
I'm developing wince headless device application, in that I have two applications both should
I have a typical enterprise/business application that I am developing that includes orders, salespersons,

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.