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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T07:17:42+00:00 2026-06-10T07:17:42+00:00

For some reason, I’m receiving many Control reaches end of non-void function warnings from

  • 0

For some reason, I’m receiving many “Control reaches end of non-void function” warnings from Xcode despite the fact that I am returning a value. I get the warning in two functions (shown in the below image). In the first function, I call return [super init] and the return type is id, so I don’t understand why I’m getting that warning. In the second function, the return type is void, and the warning specifies that the error is occurring in a non-void function. Basically, I’m wondering whether I’m making some mistake I’m not aware of, or if Xcode is just acting buggy.

enter image description here

  • 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-10T07:17:44+00:00Added an answer on June 10, 2026 at 7:17 am

    [Posted as answer as suggested by the author of the question with a bit more info]

    Just running the project in most cases causes the compiler to just regenerate the linker files which have been affected since the last build and sometimes it’s not perfect which is what causes these errors.

    To solve, just Clean your project (Product -> Clean or Command-Shift-K) and then run your project. This causes any previously generated linker files to be destroyed (not a problem) and regenerated from scratch. The build will take longer than just simply running the project because it needs to build and link every class as opposed to just the ones that have changed when simply doing Run

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

Sidebar

Related Questions

For some reason, after submitting a string like this Jack’s Spindle from a text
For some reason (probably because i don't understand closures) function inResult always returns false
For some reason, exceptions thrown in an __autoload function aren't being caught when trying
For some reason this function is doing something weird just in Firefox function fadeOUT_sect(id)
For some reason d=null when creating a drawable from coverArtURLStr, which is the full
For some reason, lately the *.UDL files on many of my client systems are
For some reason the DIV I want to animated is animating from the top
For some reason, from my office I can't connect to specific ftp address. I
For some reason, non IE browsers seem to persist a URL hash (if present)
For some reason, Firefox is throwing function not defined errors at this piece of

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.