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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T07:53:50+00:00 2026-06-04T07:53:50+00:00

When I try to build my project, I get the following error message ABC

  • 0

When I try to build my project, I get the following error message

ABC Functions forbid explocit messages send of dealoc

- (void)dealloc {
    [super dealloc];
}

this is the class def:

#import <UIKit/UIKit.h>
#import <MediaPlayer/MediaPlayer.h>


@interface cPlay : UIViewController{
    MPMoviePlayerController *mp;

}
- (void) moviePlayBackDidFinish:(NSNotification*)notification;
-(void) NewVideo : (NSString *) strName;
@end
  • 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-04T07:53:51+00:00Added an answer on June 4, 2026 at 7:53 am

    Just remove the dealloc function, ARC (Automatic Reference Counting) doesn’t allow dealloc by yourself. ARC will do that for you.

    See this link:

    http://www.raywenderlich.com/5677/beginning-arc-in-ios-5-part-1

    One of the things I love about ARC is that in most cases it completely does away with the > need to write dealloc methods. When an object is deallocated its instance variables and
    synthesized properties are automatically released. You no longer have to write:

    - (void)dealloc
    {
        [_window release];
        [_viewController release];
       [super dealloc];
    }
    

    because Objective-C automatically takes care of this now. In fact, it’s not even possible > to write the above anymore. Under ARC you are not allowed to call release, nor [super
    dealloc]. You can still implement dealloc — and you’ll see an example of this later — but
    it’s no longer necessary to release your ivars by hand.

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

Sidebar

Related Questions

I get the following errors when I try to build this project: error C2182:
When I try to build my setup project, I get the following error: An
I try to build project in Eclipse on Linux Ubuntu. Eclipse show error message:
When I try and build my project I get the following errors: 1>Assignment1CoreTest.obj :
When I try to build my solution, I get the following error: Visual Studio
Sometimes when i try to build/compile a downloaded source, i get following warning: ld:
I've included: #import QuartzCore/QuartzCore.h but when I try to build, I get the error
I try to build a product with Tycho 0.13.0, but I get a following
when I try to build the solution with many projects, i get the following
I am setting up CruiseControl.NET and I get the following error message on 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.