2014-07-22 25 views
0

我想建立我的Unity项目批准Facebook发布行动使用终端。 但每一次我尝试失败,出现以下消息:IOS终端编译失败,Facebook审查 - 正常i386

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) 

什么是错的,我怎么能解决这个问题?

回答

0

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

我希望它有帮助。