简体   繁体   English

无法为我的Xcode 4.3.3编译iPhone的Ultralite库

[英]Unable to compile Ultralite library for Iphone for my Xcode 4.3.3

I am new to iphone development . 我是iPhone开发的新手。 In my application I am trying to provide Ultralite Sync 在我的应用程序中,我试图提供Ultralite Sync

mechanism. 机制。 I am referring the following link: 我指的是以下链接:

http://dcx.sybase.com/index.html#1201/en/ulc/compile-iphone-library.html . http://dcx.sybase.com/index.html#1201/zh/ulc/compile-iphone-library.html

But when I try to Compile the library for the iPhone simulator , I get the error. 但是,当我尝试为iPhone模拟器编译库时,出现了错误。 That is, 那是,

when I execute the ./build.sh command. 当我执行./build.sh命令时。 I get the following error 我收到以下错误

make: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2: No such file or directory 制作:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2:无此类文件或目录

I assume, I am getting error because Developer folder is missing as I am using XCode 我想我得到了错误,因为在使用XCode时缺少Developer文件夹

version 4.3.3. 版本4.3.3。 I am really banging my head to get the solution. 我真的很想得到解决方案。 Can any one help me out, 谁能帮我吗,

please ? 请 ?

I just encountered this error as well and got past it by doing the following: 我也刚遇到此错误,并通过执行以下操作克服了该错误:

1)Launch XCode 2)Click XCode...Preferences menu 3)Click on Locations 4)Select the 'Command Line tools' drop down and select the version number. 1)启动XCode 2)单击XCode ...首选项菜单3)单击位置4)选择“命令行工具”下拉菜单并选择版本号。

Mine was unseleced. 我的没有被选中。 After making this selection and rerunning the command line tools I was able to get past this error. 做出选择并重新运行命令行工具后,我能够克服此错误。 (Although now I have other errors in the script) (尽管现在我在脚本中还有其他错误)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM