[]空项目的情况下面ios打包出现链表错误

ld: warning: ignoring file ../LayaRuntime-iOS/libs/libconch.a, missing required architecture i386 in file ../LayaRuntime-iOS/libs/libconch.a (2 slices) ld: warning: ignoring file ../LayaRuntime-iOS/libs/libJavaScriptCore.a, missing required architecture i386 in file ../LayaRuntime-iOS/libs/libJavaScriptCore.a (2 slices) ld: warning: ignoring file ../LayaRuntime-iOS/libs/libbmalloc.a, missing required architecture i386 in file ../LayaRuntime-iOS/libs/libbmalloc.a (2 slices) ld: warning: ignoring file ../LayaRuntime-iOS/libs/libjpeg.a, missing required architecture i386 in file ../LayaRuntime-iOS/libs/libjpeg.a (2 slices)ld: warning: ignoring file ../LayaRuntime-iOS/libs/libcurls.a, missing required architecture i386 in file ../LayaRuntime-iOS/libs/libcurls.a (3 slices) Undefined symbols for architecture i386: "_OBJC_IVAR_$_conchConfig.m_nEnterPlatformType", referenced from: -[MarketAppStore getEnterPlatformType] in MarketAppStore.o "_OBJC_CLASS_$_LayaPlatformCallback", referenced from: objc-class-ref in MarketAppStore.o "_OBJC_IVAR_$_conchConfig.m_nPayType", referenced from: -[MarketAppStore getPayType] in MarketAppStore.o "_OBJC_IVAR_$_conchConfig.m_nChargeType", referenced from: -[MarketAppStore getChargeType] in MarketAppStore.o "_OBJC_CLASS_$_LayaPlatformFactory", referenced from: objc-class-ref in MarketAppStore.o "_OBJC_IVAR_$_conchConfig.m_nOrientationType", referenced from: -[ViewController supportedInterfaceOrientations] in ViewController.o "_OBJC_CLASS_$_conchConfig", referenced from: objc-class-ref in ViewController.o objc-class-ref in MarketAppStore.o "_OBJC_IVAR_$_conchConfig.m_sPlatformClassName", referenced from: -[MarketAppStore getMarketName] in MarketAppStore.o "_OBJC_IVAR_$_conchConfig.m_sGameID", referenced from: -[MarketAppStore LP_Init] in MarketAppStore.o "_OBJC_IVAR_$_conchConfig.m_nLoginType", referenced from: -[MarketAppStore getLoginType] in MarketAppStore.o "_OBJC_CLASS_$_conchRuntime", referenced from: objc-class-ref in ViewController.o objc-class-ref in MarketAppStore.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)


环境:
xcode8.0 mac10.12
已邀请:

linbc

赞同来自: popo

感谢,已经解决,
打包的时候不要选择模拟器就可以了,由于模拟器采用的是x86指令集,但真机是肯定不需要x86的

cuixueying

赞同来自:

好的,有问题我们保持沟通!

popo

赞同来自:

mark
mark

要回复问题请先

商务合作
商务合作