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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T05:20:54+00:00 2026-06-06T05:20:54+00:00

// // Prefix header for all source files of the ‘Bar_scan’ target in the

  • 0
//
// Prefix header for all source files of the 'Bar_scan' target in the 'Bar_scan' project
//

#ifdef __OBJC__
# import <Foundation/Foundation.h>
# import <CoreFoundation/CoreFoundation.h>
# import <CoreGraphics/CoreGraphics.h>
# import <UIKit/UIKit.h>
# import <QuartzCore/QuartzCore.h>
# import <AVFoundation/AVFoundation.h>
# import <CoreMedia/CoreMedia.h>
# import <CoreVideo/CoreVideo.h>
# import "ZBarSDK.h"
#endif

I receive this warning by building with prefix.pch file:

Lexical or preprocessor Issue

What could be the reason?

This is a project that uses zbar SDK. Unfortunatly their program is also not working and has exactly the same problem.
And actually it does not see any of my frameworks.
Have somebody any idea?

  • 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-06T05:20:56+00:00Added an answer on June 6, 2026 at 5:20 am

    Remove the ! after #endif so use:

    #ifdef __OBJC__
    # import <Foundation/Foundation.h>
    # import <CoreFoundation/CoreFoundation.h>
    # import <CoreGraphics/CoreGraphics.h>
    # import <UIKit/UIKit.h>
    # import <QuartzCore/QuartzCore.h>
    # import <AVFoundation/AVFoundation.h>
    # import <CoreMedia/CoreMedia.h>
    # import <CoreVideo/CoreVideo.h>
    # import "ZBarSDK.h"
    #endif
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I included a header in my prefix.pch file as so: #import <Availability.h> #ifndef __IPHONE_3_0
Can I prefix all the Liferay tables that it initially creates by doing some
I have a problem generating a gSOAP security header (WSSE). I have compiled all
Update Daniel was close, it just wasn't the search path. The Prefix Header under
I have defined many constants in GlobalVar.h and other .h files. I import these
All of a sudden my project fails to build in Xcode. If I look
How can I prefix bound values in TextBlock controls in a StackPanel without using
Is table name prefix for fields to be update not allowed in SQL ?
I have seen prefix N in some insert T-SQL queries. Many people have used
Is it possible to prefix the li items with a small image ? I

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.