原创文章,转载请注明: 转载自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官方博客宣布,Unity + Xcode3.2.6 + iOS SDK4.3的链接问题已在Unity 3.4版本中得到解决。该问题曾困扰众多开发者,但解决方案是由社区成员提供。对于迫不及待的开发者,官方提供了在Xcode 3.2.6和Xcode 4/4.0.2中添加特定链接标志的步骤,以解决Release构建时的问题。
7480

被折叠的 条评论
为什么被折叠?



