Delphi XE2 FireMonkey Xcode安装问题
我在我的 Win XP Pro 系统上安装了 Delphi XE2,在我用了 4 周的 MacBook 上安装了 Xcode(我的 Mac 总使用经验 = 4 周)。安装了 paserver,将 iOS 项目导出到 Xcode,将其加载到 Xcode 中(可以看到项目和 Pascal 源等)并按下运行。
构建失败消息。详细信息是-
Shell 脚本调用错误 /users/rob/Library.... 第 4 行 /usr/local/lib/fpc/2.5.1/ppcross386:没有这样的文件或目录
Pascal 编译器由于某种原因不存在吗?或者还缺少什么? paserver 是否参与在 Mac 上设置这些东西? 该问题是否与 paserver 在安装时无法完全访问我的 Win 系统有关?
我正在努力解决这个问题,而且我对 Mac(Lion)的不熟悉并没有帮助......
罗布
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
好吧,我实际上创建了一个截屏视频/视频,向您展示配置所有内容所需采取的步骤。我想你忘记在Mac端安装FreePascal和FireMonkey工具了。
请随意看看这个 文章 。
您应该在那里找到所需的所有信息,并且您应该能够按照截屏视频完成设置
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 .
There you should find all the info you need and you should be able to follow the Screencast to complete your setup
解决!
终于找到了缺失的信息 -
Mac 上的设置
除了标准 Xcode 安装之外,还必须在开发 Mac 上执行一次性安装。 FireMonkey-iOS.dmg磁盘镜像文件通常随RAD Studio一起安装在FireMonkey-iOS目录下;然后必须将该文件传输到 Mac。打开它并运行两个安装程序包:
fpc-2.4.4.intel-macosx.pkg 在 /usr/local/ 下安装 Free Pascal 2.4.4。
FireMonkey-iOS-XE2.pkg。
将 Free Pascal 2.5.1 源代码复制到 /Developer/Embarcadero/fpc/。
将应用程序所需的 FMI 源复制到 /Developer/Embarcadero/fmi/。
在 /usr/local/ 下构建并安装 Free Pascal 2.5.1。
在 /Developer/Embarcadero/fpc/ 下生成、构建并安装所需的 iOS SDK 标头。
现在一切都在工作。
不错的视频 Steffan - 非常专业。然而我的问题是针对 iOS 的,所以并没有多大帮助,但我还是学到了一些技巧。期待 OSX 视频中提到的 iOS 视频。
谢谢
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