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

Unity官方博客宣布,Unity + Xcode3.2.6 + iOS SDK4.3的链接问题已在Unity 3.4版本中得到解决。该问题曾困扰众多开发者,但解决方案是由社区成员提供。对于迫不及待的开发者,官方提供了在Xcode 3.2.6和Xcode 4/4.0.2中添加特定链接标志的步骤,以解决Release构建时的问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

原创文章,转载请注明: 转载自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.

Xcode3_config

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

Xcode3_linkerflags

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.

Xcode4_config

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

Xcode4_linkerflags

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的问题终于得到解决

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值