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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T08:02:24+00:00 2026-06-15T08:02:24+00:00

I have an Xcode 3.2 targeted project . I want to convert this project

  • 0

I have an Xcode 3.2 targeted project . I want to convert this project to ARC to improve the

performance.I am following these steps.

Edit->Refactor->Convert to Objective C ARC

I have got some .mm files to which I am disabling the ARC using -fno-objc-arc. But even after

this I am getting lot of errors (ARC issues). For eg mainly in self=[super init]call,the

error is cannot assign to self outside of a method in the init family. Can

anyone tell me am I following the correct steps ?

  • 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-15T08:02:26+00:00Added an answer on June 15, 2026 at 8:02 am

    I was trying to convert a projet to ARC and after creating a new one and including the files from the old one – one of the issues i got was

    Cannot assign to ‘self’ outside of a method in the init family

    The selector name MUST begin with init – not only that – in my case the init selector was:

    -(id)initwithPage:(unsigned)pageNum {...}
    

    Notice the small ‘w’.

    I have changed it to:

    -(id)initWithPage:(unsigned)pageNum {...}
    

    Notice the capital ‘W’!

    My problem was solved.

    I hope this helps someone.

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

Sidebar

Related Questions

I have an Xcode project with a directory structure like this: MasterProjectDir/projectname.xcodeproj MasterProjectDir/ProjectSubDir/whatever.c MasterProjectDir/ProjectSubDir/etc.c
I have an XCode project where when I click on Project->Edit Project Settings I
I have Xcode 4.3 and that class doesn't use ARC. I have created a
I’ve installed Snow Leopard, have Xcode 3.2 and 3.0 iPhone SDK. I want my
I have an Xcode project with several static library dependancies set up in the
Most questions regarding this problem are due to missing Xcode; I have Xcode 4.2
I have Xcode 4.2, and I selected the project template Master Detail view without
How can I restore Xcode project settings? I can't see few settings (like Targeted
How can I restore Xcode project settings? I can't see few settings (like Targeted
I have xcode 4 and iphone simulator 4.3. i have downloaded sample project from

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.