【问题标题】:Xcode 7.2/Unity Linker command error exit code 1Xcode 7.2/Unity Linker 命令错误退出代码 1
【发布时间】:2016-03-12 04:43:07
【问题描述】:

我正在尝试构建一个统一体,然后将其发送到我的 ipad。构建工作正常,但是当 xcode 想要将应用程序发送到我的 ipad 时,我收到此错误:

"ld: '/Users/SygnusUser1/Documents/anomproject/Assets/U3DXT/Editor/lib/libU3DXTCoreExtras.a(UP_ALAssetRepresentation.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)"

我正在使用 xcode 7.2 和 unity 5.3.3 。关于为什么会发生这种情况的任何想法?

编辑

日志截图,应用显示黑屏然后关闭。

【问题讨论】:

  • New warnings in iOS 9的可能重复
  • @Rana 谢谢,这解决了我的问题。我现在遇到另一个问题,我启动游戏并出现黑屏,然后游戏关闭。知道为什么会发生这种情况吗?
  • 是 ==== 2016-03-11 15:14:56.363 sliceandrise[646:149838] 你已经实现了-[ application:didReceiveRemoteNotification:fetchCompletionHandler:],但你仍然需要将“远程通知”添加到 Info.plist 中支持的 UIBackgroundModes 列表中。 @Rana
  • 我已经用日志@Rana 的截图更新了我的帖子

标签: ios unity3d xcode7 ipad-2


【解决方案1】:

您可能需要关闭远程通知

  1. 在项目导航器中单击项目

  2. 在项目和目标列表中单击目标。

  3. 点击功能

  4. 展开并打开后台模式

  5. 点击并关闭远程通知

【讨论】:

    猜你喜欢
    • 2019-03-17
    • 2018-07-12
    • 2018-07-15
    • 2011-10-27
    • 2014-02-15
    • 2018-06-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多