iOS项目更新Xcode 4.2到Xcode 4.5 [英] iOS Project Update Xcode 4.2 to Xcode 4.5

查看:124
本文介绍了iOS项目更新Xcode 4.2到Xcode 4.5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的项目我使用XCode 4.2完成了90%的开发(只需支持4.x,5.x),现在我也需要为iOS 6构建,所以我切换到Xcode 4.5& iOS 6.但我面临很多问题,例如Sqlite3的框架错误,MobileCoreServices

In my Project I have done 90% development using XCode 4.2 (was only need to support 4.x,5.x), Now I need to Build for iOS 6 as well, so I switched to Xcode 4.5 & iOS 6. But I am facing lots of issues like framework error for "Sqlite3", "MobileCoreServices"

我在下面读过Thread但没有成功。

I have read below Thread but no success.

如何使Xcode 4.5项目在以前版本的Xcode上运行?

找不到选项的Xcode链接器目录

有谁能告诉我如何编译Sqlite3,MobileCoreServices框架工作ARMV7& ARMV7S。我不能从项目中删除两者,因为我几乎已经完成了:(

推荐答案

确切原因存在不确定性这背后的问题可以通过下面提供的任何案例解决。

There are uncertainties for the exact reason behind this but your problem can be solved by any of the cases provided below.

案例1:

可能是由于libsqlite3.dylib和libsqlite3.0.dylib或MobileCoreServices等缺少的库,所以从任何其他计算机复​​制这些文件并将这些文件放在您的计算机中。

It may be due to any missing library like libsqlite3.dylib and libsqlite3.0.dylib or MobileCoreServices, so copy these files from any other computer and place these files in your computer.

程序:

1:在存在这些文件的计算机上打开xcode,在链接二进制文件的项目中添加libsqlite3.0.dylib库。
2:右键单击libsqlite3.0.dylib并在finder中显示(同样适用于MobileCoreServices)。
3:复制两个文件libsqlite3.0.dylib和libsqlite3.dylib并放在同一个文件夹中在其他计算机上缺少这些文件的位置。

1:Open xcode on the computer where these files exists, add libsqlite3.0.dylib in your project from link binary with libraries. 2: Right click on the libsqlite3.0.dylib and show in finder (same for MobileCoreServices). 3: Copy two files libsqlite3.0.dylib and libsqlite3.dylib and place on the same location on other computer where these files are missing.

在这里,问题可能会以这种方式解决。

Here you go, The problem may be solved in this way.

案例2:
重新安装XCode它可能正常工作

Case 2: Reinstall XCode again it may work properly

案例3:
检查这个回答

希望它有所帮助你。

这篇关于iOS项目更新Xcode 4.2到Xcode 4.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆