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

The Archive Base Latest Questions

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

TestFlight has identified a crash in my application that I can’t duplicate but it’s

  • 0

TestFlight has identified a crash in my application that I can’t duplicate but it’s happening enough that I need to fix it. The error is unrecognized selector sent to instance 0x34a9e0 which I believe is caused when I try to assign a locationId to an object that was eliminated by the GC.

-[UIViewAnimationState locationId]: unrecognized selector sent to instance 0x34a9e0

0 CoreFoundation 0x371e488f __exceptionPreprocess + 163
1 libobjc.A.dylib 0x34ee9259 objc_exception_throw + 33
2 CoreFoundation 0x371e7a9b -[NSObject doesNotRecognizeSelector:] + 175
3 CoreFoundation 0x371e6915 ___forwarding___ + 301
4 CoreFoundation 0x37141650 _CF_forwarding_prep_0 + 48
5 Skate Spots 0x0000b9b9 -[DetailViewController handlePhotosButtonClick:] (DetailViewController.m:92)
6 CoreFoundation 0x3713e3fd -[NSObject performSelector:withObject:withObject:] + 53
7 UIKit 0x30ed3e07 -[UIApplication sendAction:to:from:forEvent:] + 63
8 UIKit 0x30ed3dc3 -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 31
9 UIKit 0x30ed3da1 -[UIControl sendAction:to:forEvent:] + 45
10 UIKit 0x30ed3b11 -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 493
11 UIKit 0x30ed4449 -[UIControl touchesEnded:withEvent:] + 477
12 UIKit 0x30ec6b87 _UIGestureRecognizerUpdate + 5223
13 CoreFoundation 0x371b8b1b __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 19
14 CoreFoundation 0x371b6d57 __CFRunLoopDoObservers + 259
15 CoreFoundation 0x371b70b1 __CFRunLoopRun + 761
16 CoreFoundation 0x3713a4a5 CFRunLoopRunSpecific + 301
17 CoreFoundation 0x3713a36d CFRunLoopRunInMode + 105
18 GraphicsServices 0x338f9439 GSEventRunModal + 137
19 UIKit 0x30ee6cd5 UIApplicationMain + 1081
20 Skate Spots 0x0000325f -[Image willSendWithObjectLoader:] (Image.m:83)
21 Skate Spots 0x00002b18 + 0

Original Code:

I assumed that autorelease would retain a reference during the scope of this method.

-(IBAction)handlePhotosButtonClick:(id)sender
{
  PhotosViewController *vc = [[[PhotosViewController alloc] init] autorelease];
  vc.locationID            = _location.locationId;
  [self.navigationController pushViewController:vc animated:YES];
}

My Code Change:

I’m guessing this will eliminate the original error but is this the correct way of doing it?

-(IBAction)handlePhotosButtonClick:(id)sender
{
  NSLog(@"handlePhotosButtonClick");    
  PhotosViewController *vc = [[[PhotosViewController alloc] init] retain];
  vc.locationID            = _location.locationId;

  [self.navigationController pushViewController:vc animated:YES];
  [vc release];
}

Edit

You guys are correct _location was not set to retain the value.

@property (nonatomic, readwrite, assign) RKLocation *location;

  • 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-04T04:04:14+00:00Added an answer on June 4, 2026 at 4:04 am
    -[UIViewAnimationState locationId]: unrecognized selector sent to instance 0x34a9e0
    

    So the selector sent is locationId (getter), not setLocationId: (the setter). It means, that’s not the autoreleased object (your view controller in this case) is that causing the error, since you SET its property so the runtime calls setLocationId: on it. It’s rater the _location object that is getting deallocated somewhere, then another object takes over its pointer (it was an UIViewAnimationState in this particular case) and of course it doesn’t respond to the locationId getter. Try revising your code so that the _locationId variable is not deallocated until you need its properties.

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

Sidebar

Related Questions

I have one application and in beta testing i got my application crash but
I've got an app that I'd like to send to beta testers using TestFlight.
Can't build project after adding testflight sdk Undefined symbols for architecture i386: _TFLog, referenced
I've followed the instructions from TestFlight to duplicate the release configuration. Also I'm using
I developed an ios app that had a: NSError *error; instead of: NSError *error
I created an application in XCode 4 that uses Core Plot. I installed Core
I'm currently using TestFlight in order to get remote crash reports on a beta
I realize that this is a bit of a vague question, but I'm looking
I signed up for TestFlight. Then I followed all steps in this tutorial: But
I am trying to integrate the TestFlight iOS SDK into my Forge app. Can't

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.