Recent

Author Topic: After Xcode 5.0 is not compiling  (Read 7211 times)

ferbrandini

  • New Member
  • *
  • Posts: 13
After Xcode 5.0 is not compiling
« on: September 23, 2013, 11:38:36 pm »
I tried to compile my project recently but i coudn't. This problem happened when i updated my Xcode 4.0 to Xcode 5.0. Is there any problem there?

thanks.

jwdietrich

  • Hero Member
  • *****
  • Posts: 1232
    • formatio reticularis
Re: After Xcode 5.0 is not compiling
« Reply #1 on: September 24, 2013, 12:51:02 am »
Have you installed the command line tools?
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 2.2.6 | FPC 3.2.2 | PPC, Intel, ARM | macOS, Windows, Linux

ferbrandini

  • New Member
  • *
  • Posts: 13
Re: After Xcode 5.0 is not compiling
« Reply #2 on: September 24, 2013, 01:57:05 am »
I think so. Before i update Xcode 4.0 to 5.0, Lazarus compiler was working nice, all forms were ok. But After, it started to doesn't appear anything on my form. Are Command line tools those three programs that we have to install on our mac to start compiling or is an additional package that we have to install now for Xcode 5.0?

thanks!

jwdietrich

  • Hero Member
  • *****
  • Posts: 1232
    • formatio reticularis
Re: After Xcode 5.0 is not compiling
« Reply #3 on: September 24, 2013, 02:03:04 am »
Are Command line tools those three programs that we have to install on our mac to start compiling or is an additional package that we have to install now for Xcode 5.0?

The command line tools are tools that are directly downloaded and installed from Xcode. See Installing Lazarus on MacOS X for details.
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 2.2.6 | FPC 3.2.2 | PPC, Intel, ARM | macOS, Windows, Linux

ferbrandini

  • New Member
  • *
  • Posts: 13
Re: After Xcode 5.0 is not compiling
« Reply #4 on: September 24, 2013, 02:14:22 am »
yes, i've already installed them. Do i need to install it again?

jwdietrich

  • Hero Member
  • *****
  • Posts: 1232
    • formatio reticularis
Re: After Xcode 5.0 is not compiling
« Reply #5 on: September 24, 2013, 08:51:45 am »
Can you give us more information? Did you receive e.g. a specific error message?

I have the intention to try Lazarus with Xcode 5 myself, but since I want to keep a working development system I have to do this with a clone of my root partition, and I will not find the time to do this before the beginning of October. Therefore, it would be valuable if you could give us some information earlier. This includes version of Mac OS X, Lazarus, Free Pascal and, which is most important of all, what happened exactly.
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 2.2.6 | FPC 3.2.2 | PPC, Intel, ARM | macOS, Windows, Linux

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 1058
Re: After Xcode 5.0 is not compiling
« Reply #6 on: September 24, 2013, 11:04:16 am »
Additionally, you indeed have to reinstall the command line tools after each upgrade of Xcode (especially when it's a new major version, the installer may delete the old copies of the command line tools), and also after switching to a new major version of the system software (idem).

jwdietrich

  • Hero Member
  • *****
  • Posts: 1232
    • formatio reticularis
Re: After Xcode 5.0 is not compiling
« Reply #7 on: September 24, 2013, 11:11:28 am »
Additionally, you indeed have to reinstall the command line tools after each upgrade of Xcode (especially when it's a new major version, the installer may delete the old copies of the command line tools), and also after switching to a new major version of the system software (idem).

Thanks, that is an important hint. I took the liberty to add it to the wiki article.
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 2.2.6 | FPC 3.2.2 | PPC, Intel, ARM | macOS, Windows, Linux

ferbrandini

  • New Member
  • *
  • Posts: 13
Re: After Xcode 5.0 is not compiling
« Reply #8 on: September 24, 2013, 11:08:19 pm »
Thanks for help people!! It work with Jonas hint. I reinstalled the command line and it start to appear the forms again!!Now it's working perfectly!! Thanks a lot!!

My mac is os x version 10.8.5, laz version 1.0.12 i386 and i didn't get any message error for this.

What exactly happen: My compiler stop showing the form of my projects AFTER i updated Xcode 4.0(ios6) to Xcode 5.0(ios7).

How I solved: Reinstall Command Line (downloaded again the command line and reinstalling)

I hope help other people with the same problem. Thanks again!

 

TinyPortal © 2005-2018