IOS终端版本无法通过Facebook审核 - 正常的i386

时间:2014-07-22 13:48:14

标签: ios xcode facebook terminal unity3d

我正在尝试使用终端构建我的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)

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

1 个答案:

答案 0 :(得分:0)

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

我希望它有所帮助。