您的位置:首页 > 移动开发 > Unity3D

Unity + Xcode3.2.6 + iOS SDK4.3的问题终于得到解决

2011-06-22 09:51 796 查看
原创文章,转载请注明: 转载自All-iPad.net 本文链接地址: Unity + Xcode3.2.6 + iOS SDK4.3的问题终于得到解决

6月15号,来自于Unity官方博客的一条消息,Unity + Xcode3.2.6 + iOS SDK4.3的问题终于得到解决了!这个困扰了无数Unity开发者,也包括我的问题,最终还是在论坛热心观众“susantio” and “ratrodstudio”的帮助之下,不是Unity,也不是Apple,多少还是让人有些失望。

虽然Unity官方再次强调“because all the troubles were happening after application gets post-processed for AppStore on Apple’s side”,可这仍然是相当的不作为。要知道,受影响的开发者有多少!

好了,Unity3.4即将发布,这个BUG修复已经集成到了这个新版本里,如果你等不及的话,也可以按照官方提供的方法先尝试一下,我没有试过,不过应该不会再有问题了。

Instructions how to add this flag to your release build when using Xcode 3.2.6 (SDK 4.3):

1. Open your project in Xcode.
2. In the Xcode menu select Project->Edit Active Target.
3. In the Configuration drop down select “Release”.
4. In the Search field type “linker”.
5. Find the field named “Other Linker Flags” and double click on it.



6. Click “+” and add “-all_load”.



7. Clean all targets.

Instructions how to add this flag to your release build when using Xcode 4/4.0.2 (SDK 4.3):

1. Open your project in Xcode.
2. In the Project Navigator click on your project.
3. On the next pane select “Unity-iPhone” under TARGETS.
4. On the next pane select “Build Settings”.
5. In the Search field type “linker”.
6. Find the field named “Other Linker Flags” and double click on “Release” configuration near it.



7. Click “+” and add “-all_load”.



8. Clean all targets.
9. Make a distribution build by clicking “Product”->”Build For”->”Build For Archiving” (Note:don’t use Product->Build, because it will make “debug” build by default and won’t include “-all_load” flag).

原创文章,转载请注明: 转载自All-iPad.net

本文链接地址: Unity + Xcode3.2.6 + iOS SDK4.3的问题终于得到解决
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: