【问题标题】:IOS terminal build fails for Facebook review - normal i386Facebook 审查的 IOS 终端构建失败 - 正常 i386
【发布时间】:2014-07-22 13:48:14
【问题描述】:

我正在尝试构建我的 Unity 项目,以使用终端批准 Facebook 发布操作。 但每次我尝试它都会失败并显示以下消息:

Undefined symbols for architecture i386:
"Alg::Compression::Lzma::decode(Alg::Compression::Lzma::CompressPrefix, void*, unsigned long, unsigned char const*, char const*, unsigned long)", referenced from:
    Pfx::Asm::Lzma::uncompress(unsigned char*, unsigned long, unsigned char const*, unsigned long) in libiPhone-lib.a(asmlzma.o)
    "__storeKitCanMakePayments", referenced from:
    RegisterMonoModules() in RegisterMonoModules.o
    "__storeKitCancelDownloads", referenced from:
    RegisterMonoModules() in RegisterMonoModules.o
    "__storeKitDisplayStoreWithProductId", referenced from:
    RegisterMonoModules() in RegisterMonoModules.o
    "__storeKitFinishPendingTransaction", referenced from:
    RegisterMonoModules() in RegisterMonoModules.o
    "__storeKitFinishPendingTransactions", referenced from:
    RegisterMonoModules() in RegisterMonoModules.o
    "__storeKitForceFinishPendingTransactions", referenced from:
    RegisterMonoModules() in RegisterMonoModules.o
    "__storeKitGetAllSavedTransactions", referenced from:
    RegisterMonoModules() in RegisterMonoModules.o
    "__storeKitGetAppStoreReceiptUrl", referenced from:
    RegisterMonoModules() in RegisterMonoModules.o
    "__storeKitPauseDownloads", referenced from:
    RegisterMonoModules() in RegisterMonoModules.o
    "__storeKitPurchaseProduct", referenced from:
    RegisterMonoModules() in RegisterMonoModules.o
    "__storeKitRequestProductData", referenced from:
    RegisterMonoModules() in RegisterMonoModules.o
    "__storeKitRestoreCompletedTransactions", referenced from:
    RegisterMonoModules() in RegisterMonoModules.o
    "__storeKitResumeDownloads", referenced from:
    RegisterMonoModules() in RegisterMonoModules.o
    "__storeKitSendTransactionUpdateEvents", referenced from:
    RegisterMonoModules() in RegisterMonoModules.o
    "__storeKitSetApplicationUsername", referenced from:
    RegisterMonoModules() in RegisterMonoModules.o
    ld: symbol(s) not found for architecture i386
        clang: error: linker command failed with exit code 1 (use -v to see invocation)

            ** BUILD FAILED **


            The following build commands failed:
            Ld build/stabelyapp.app/stabelyapp normal i386
            (1 failure)

出了什么问题,我该如何解决?

【问题讨论】:

    标签: ios xcode facebook terminal unity3d


    【解决方案1】:

    我在我的 Unity 项目中遇到了同样的问题,从 XCode 中的其他链接器标志中删除 -all_load 已得到解决(构建设置 > 链接 > 其他链接标志)。

    希望对你有帮助。

    【讨论】:

      猜你喜欢
      • 2017-12-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多