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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:41:43+00:00 2026-05-22T21:41:43+00:00

My development machine died and I’ve had to rebuild it from scratch. I reinstalled

  • 0

My development machine died and I’ve had to rebuild it from scratch. I reinstalled the latest XCode which came with iOS SDK 4.3. I reopened my project and have had to readd all my frameworks to get the code to mostly compile. I’m down to two errors, both basically this:

error: expected specifier-qualifier-list before ‘UIBackgroundTaskIdentifier’

This is on the file: ASIHTTPRequest.h on these lines:

#if TARGET_OS_IPHONE && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_4_0
BOOL shouldContinueWhenAppEntersBackground;
UIBackgroundTaskIdentifier backgroundTask;
#endif

which is part of the ASI HTTP library.

I’m targeting iOS 3.2.2 and building on the latest iOS 4.3. This did not happen in my old environment which was XCode 4 using iOS 4.2. I have tried using a bunch of different build settings but none have fixed the issue. Commenting out the lines causes a number of other issues, and that is not a good solution anyways. Any ideas?

Thanks in advance!

  • 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-05-22T21:41:44+00:00Added an answer on May 22, 2026 at 9:41 pm

    OK, my “fix” for this problem was to create a new project in the new XCode version and copy my classes and resources over. It took about a half an hour to do so as I had about 100 files to move, but it worked on the first attempt.

    I can only guess that there was some subtle difference between XCode versions I wasn’t aware of. XCode certainly didn’t provide any kind of meaningful error message to guide me to it in any event.

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

Sidebar

Related Questions

I have a web project which works fine on my local development machine. I
I created a custom task which works fine on my development machine, but when
My development machine used to be a Vista Home box but I switched to
My development machine is running Windows 7 Ultimate x64. I installed Visual Studio 2010
I'm sending a POST to my development machine and it works with 10.0.2.2 in
I have upgraded to PHP 5.3 on a development machine (Windows 7 box). php-v
gcc 4.4.5 c89 I recently downloaded and installed log4c on my development machine. I
I recently installed the 64 bit version of XP on my new development machine,
I guess I've just gotten spoiled with Consolas working on my local development machine.
Oooops I did it again. My site worked perfectly locally My development machine is

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.