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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T03:11:30+00:00 2026-06-14T03:11:30+00:00

I have a ARC enabled Mac project with a non-ARC enabled framework, all compiles

  • 0

I have a ARC enabled Mac project with a non-ARC enabled framework, all compiles fine but once run the non-ARC framework displays a form, however when you click a button, a error is thrown like…

2012-11-10 23:32:11.191 TestApp[20691:303] -[__NSCFType next:]: unrecognized selector sent to instance 0x101c13070
2012-11-10 23:32:11.193 TestApp[20691:303] -[__NSCFType next:]: unrecognized selector sent to instance 0x101c13070
2012-11-10 23:32:11.198 TestApp20691:303 doesNotRecognizeSelector:] + 186
3 CoreFoundation 0x00007fff8e63a5ce forwarding + 414
4 CoreFoundation 0x00007fff8e63a3b8 _CF_forwarding_prep_0 + 232
5 AppKit 0x00007fff8ff78a59 -[NSApplication sendAction:to:from:] + 342
6 AppKit 0x00007fff8ff788b7 -[NSControl sendAction:to:] + 85
7 AppKit 0x00007fff8ff787eb -[NSCell _sendActionFrom:] + 138
8 AppKit 0x00007fff8ff76cd3 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 1855
9 AppKit 0x00007fff8ff76521 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 504
10 AppKit 0x00007fff8ff75c9c -[NSControl mouseDown:] + 820
11 AppKit 0x00007fff8ff6d60e -[NSWindow sendEvent:] + 6853
12 AppKit 0x00007fff8ff69744 -[NSApplication sendEvent:] + 5761
13 AppKit 0x00007fff8fe7f2fa -[NSApplication run] + 636
14 AppKit 0x00007fff8fe23cb6 NSApplicationMain + 869
15 AppSim 0x00000001000026f2 main + 34
16 libdyld.dylib 0x00007fff97c6c7e1 start + 0
17 ??? 0x0000000000000003 0x0 + 3

Converting the main project to non-ARC the problem goes… what is causing the problem, and how do I get around it?

I rather not convert my existing project to use non-ARC…

Steps to reproduce problem…

Download “Sample Project for OS X Lion, ~250 KB” from

https://github.com/eternalstorms/ESSVideoShare-for-OS-X-Lion

Convert the main project to ARC, point the line starting with … [yt uploadVideoAtURL:[NSURL fileURLWithPath to any mov file you have, then run.

Clicking cancel or sign-in will cause the error…

  • 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-14T03:11:31+00:00Added an answer on June 14, 2026 at 3:11 am

    Your sample code has a memory leak:

    - (void)applicationDidFinishLaunching:(NSNotification *)aNotification
    {
        // Insert code here to initialize your application
        ESSYouTube *yt = [[ESSYouTube alloc] initWithDelegate:self
                                                 developerKey:@""];
        [yt uploadVideoAtURL:[NSURL fileURLWithPath:@"/path/to/mov"]];
    }
    

    yt is never released.

    When you plug that leak, either by adding a release or by converting to ARC, you will get the crash because the ESSYouTube and ESSYouTubeWindowController instances have been deallocated while the UI is still on screen.

    The sample code needs to be fixed, and ESSYouTube should either retain itself as long its UI is on screen, or it should tear down its UI upon deallocation.

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

Sidebar

Related Questions

My project is ARC enabled (the build settings have Objective-C Reference Counting set to
I have never worked on non ARC based project. I just came across a
I am using a non-ARC framework in my ARC-enabled app. Now I get a
I have an ARC-enabled project using RestKit and although most of my requests are
Is it possible to have an iOS app that's not ARC enabled but with
I have switched my project to ARC, and I don't understand if I have
I have the following code here that won't run on ARC since it combines
I have two scenario for the project with ARC and project without ARC. 1)
I have an iOS-App which uses ARC. I don't use InterfaceBuilder, all UI is
In my iOS 5 project with ARC enabled, one of my objects gets released

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.