Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delphi XE2 FireMonkey Xcode installation problem

I have Delphi XE2 installed on my Win XP Pro system and Xcode installed on my 4 week old MacBook (my total Mac experience = 4 weeks). Installed paserver, exported an iOS project to Xcode, loaded it up in Xcode (can see the project and the Pascal source etc.) and pressed run..

Build failed message. Detail is-

Shell Script Invocation error /users/rob/Library.... line 4 /usr/local/lib/fpc/2.5.1/ppcross386: No such file or directory

Is the Pascal compiler not there for some reason? Or something else missing? Does paserver paly a part in setting this stuff up on the Mac? Could the problem be related to paserver not having full access to my Win system at the time it was installed?

I am struggling with this and my unfamiliarity with Mac (Lion) is not helping...

Rob

like image 765
Rob Slater Avatar asked Sep 09 '11 02:09

Rob Slater


2 Answers

Well I actually created a screencast / video showing you the steps you need to take to configure everything. I think you forgot to install the FreePascal and FireMonkey tools on the Mac side.

Feel free to have a look at this article : http://bit.ly/pzfrcJ

There you should find all the info you need and you should be able to follow the Screencast to complete your setup

Regards,

Stefaan

like image 184
Stefaan Avatar answered Oct 01 '22 11:10

Stefaan


Resolution!

Finally found the missing information -

Setup on Mac One-time setup must be performed on the development Mac, in addition to the standard Xcode installation. The FireMonkey-iOS.dmg disk image file is usually installed with RAD Studio under the FireMonkey-iOS directory; this file must then be transferred to the Mac. Open it and run the two installer packages:

fpc-2.4.4.intel-macosx.pkg installs Free Pascal 2.4.4 under /usr/local/. FireMonkey-iOS-XE2.pkg. copies Free Pascal 2.5.1 source to /Developer/Embarcadero/fpc/. copies FMI source required for apps to /Developer/Embarcadero/fmi/. builds and installs Free Pascal 2.5.1 under /usr/local/. generates, builds, and installs required iOS SDK headers under /Developer/Embarcadero/fpc/.

All working now.

Nice video Steffan - very professional. However my problem was with iOS specifically so did not help a lot, however I picked up a couple of tips. Looking forward to the iOS video one referred to in the OSX video.

Thanks

like image 45
Rob Slater Avatar answered Oct 01 '22 12:10

Rob Slater