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

The Archive Base Latest Questions

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

I have an iOS project in Xcode that works great. I added the classes

  • 0

I have an iOS project in Xcode that works great. I added the classes from the ATMHud project (https://github.com/atomton/ATMHud), which I have used successfully in other projects, and I’m suddently getting dozens of errors about missing interface declarations for very basic object types like NSObject and UIView:

36 errors, nine warnings

Per the documentation, I have added the QuartzCore and AudioToolbox frameworks to my project. I checked my own .h and .m files to make sure that all my custom #import statements are in my .m files and not the .h files unless necessary. I actually have only a single chain of #import statements in header files, and they’re all related to the custom classes I’ve written.

I see a lot of answers to questions like this on here, but none of them are helping me solve my issue. I feel like I’m missing something obvious, but if it is, it eludes me. Any help would be appreciated.

  • 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-06T04:15:06+00:00Added an answer on June 6, 2026 at 4:15 am

    If you are missing basic things like NSObject and UIView it sounds to me like you are not importing UIKit and Foundation anymore. These things are usually imported in the prefix file (myProject-Prefix.pch).

    There are two probable reasons why you could be missing these imports. Either you have rearranged the folder structure and the prefix file is no longer where it used to be or you have changed some of the build settings for your target. It is quite likely that you changed some of the build settings when you added the thirds party classes.

    To fix the issue, select your target and go into the build settings and search for “prefix header”. The path that is defined there should be the path to your prefix file relative to your myProject.xcodeproj-file.

    You could also have changed the code inside the prefix file to no longer include UIKit and Foundation but you would probably remember doing that

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

Sidebar

Related Questions

I have a Jenkins job set up that builds my iOS Xcode project and
I have an Xcode 4.3.2 iOS 5.1 project that compiles and runs fine when
I'm working on an iOS project that has to work from iOS4. I have
I have created an Xcode 4 project template for iOS that relies on several
I have a simple script for programmatically launching an iOS project through XCode: on
Now I have a Xcode project which is built for iOS 5, but now
I have an iOS (Obj-C) project that uses ARC (Automatic Reference Counting). According to
I have an iOS app project in Xcode 4.2. I also have a shell
I have an application that works fine in an older project (that doesn't use
I have an iOS project that is built upon a framework project that we

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.