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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T04:14:27+00:00 2026-06-13T04:14:27+00:00

I just upgraded my xcode to version 4.5.1. Everything worked fine before but now,

  • 0

I just upgraded my xcode to version 4.5.1.
Everything worked fine before but now, when I Archive the project, xcode get stuck/hanging and never finishes the archiving.
In the status on top, the text says:

Compiling 10 of 10 source files…

Nothing happens after that. It is just stuck.
I can still compile and build the code (without archiving) and everything runs just fine in the simulator.

I have reinstalled xcode. The issue still happens after that.
Any suggestion will be appriciated.

More info:
I’ve pinpointed the problem to a specific line of code:
CGRect tmpFrame3 = seeDetailsButton.frame;
I don’t see any problem with this line…
Why would it work fine when building and running in the simulator but fail when archiving???

  • 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-13T04:14:28+00:00Added an answer on June 13, 2026 at 4:14 am

    I figured out what is going on here.
    First, it is not related to the archive process itself but to the build in Release mode.
    The reason that I had the problem during archive is because then it builds in release mode.

    About the issue itself:
    It seems that there is some sort of an Apple compiler bug in xcode 4.5.1.
    I’m using the Apple LLVM compiler 4.1. During compilation it has different optimization levels.
    In Debug – the optimization is set to ‘None’ and is off. In release it is set to ‘Fastest, Smallest [-Os]’. When I turn off the optimization in release mode (set it to ‘None’) – the issue does not happen.

    More info:
    After digging in my code, and trying to figure out what would cause a compiler bug during optimization, I saw that I had the following:

    __weak ProfileButton *tmp = myButton;
    

    Where ProfileButton is just a regular button inherits from UIButton.
    When I remove the __weak everything works just fine. Even when I set the compiler optimization to ‘Fastest, Smallest [-Os]’.

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

Sidebar

Related Questions

I just upgraded Xcode to version 4.5, but I now get this error when
I just upgraded to Xcode 4.2 and iOS SDK 5 earlier today. But everything
I just upgraded Xcode, but now I don't have any 3.x SDK for Simulator.
I just upgraded my xcode to 4.5 but now when I try to install
What can I do?? I just upgraded my iPhone OS but now my Xcode
I just upgraded xcode to 4.5 and now i get an error when compiling
I just upgraded XCode to 4.3.2 and tried to load a project I am
I just upgraded packages in an MVC 3 project (ASP.net 4), and now I
I just upgraded to the latest version of the SDK (version 19) and now
I just upgraded XCode to 3.2.6 but Organizer said that XCode can not find

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.