[]html5发布iOS编译报错

Ld /Users/poss/Library/Developer/Xcode/DerivedData/wangpainiuniu-anpukpjfwkheduhiexglvkluqjyw/Build/Products/Debug-iphonesimulator/wangpainiuniu.app/wangpainiuniu normal x86_64

    cd /Users/poss/Desktop/release/iOS/wangpainiuniu/wangpainiuniu

    export IPHONEOS_DEPLOYMENT_TARGET=7.0

    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"

    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk -L/Users/poss/Library/Developer/Xcode/DerivedData/wangpainiuniu-anpukpjfwkheduhiexglvkluqjyw/Build/Products/Debug-iphonesimulator -L../LayaRuntime-iOS/libs -F/Users/poss/Library/Developer/Xcode/DerivedData/wangpainiuniu-anpukpjfwkheduhiexglvkluqjyw/Build/Products/Debug-iphonesimulator -filelist /Users/poss/Library/Developer/Xcode/DerivedData/wangpainiuniu-anpukpjfwkheduhiexglvkluqjyw/Build/Intermediates/wangpainiuniu.build/Debug-iphonesimulator/wangpainiuniu.build/Objects-normal/x86_64/wangpainiuniu.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=7.0 -Xlinker -objc_abi_version -Xlinker 2 -lconch -lJavaScriptCore -lbmalloc -ljpeg -lcurls -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -framework AudioToolbox -framework CoreMotion -framework AdSupport -licucore -framework AVFoundation -framework CoreTelephony -lz -weak_framework UIKit -framework GLKit -framework OpenGLES -framework OpenAL -framework SystemConfiguration -framework CoreGraphics -Xlinker -dependency_info -Xlinker /Users/poss/Library/Developer/Xcode/DerivedData/wangpainiuniu-anpukpjfwkheduhiexglvkluqjyw/Build/Intermediates/wangpainiuniu.build/Debug-iphonesimulator/wangpainiuniu.build/Objects-normal/x86_64/wangpainiuniu_dependency_info.dat -o /Users/poss/Library/Developer/Xcode/DerivedData/wangpainiuniu-anpukpjfwkheduhiexglvkluqjyw/Build/Products/Debug-iphonesimulator/wangpainiuniu.app/wangpainiuniu




ld: warning: ld: warning: ld: warning: ld: warning: ignoring file ../LayaRuntime-iOS/libs/libjpeg.a, missing required architecture x86_64 in file ../LayaRuntime-iOS/libs/libjpeg.a (2 slices)ignoring file ../LayaRuntime-iOS/libs/libconch.a, missing required architecture x86_64 in file ../LayaRuntime-iOS/libs/libconch.a (2 slices)ignoring file ../LayaRuntime-iOS/libs/libJavaScriptCore.a, missing required architecture x86_64 in file ../LayaRuntime-iOS/libs/libJavaScriptCore.a (2 slices)ignoring file ../LayaRuntime-iOS/libs/libbmalloc.a, missing required architecture x86_64 in file ../LayaRuntime-iOS/libs/libbmalloc.a (2 slices)










ld: warning: ignoring file ../LayaRuntime-iOS/libs/libcurls.a, missing required architecture x86_64 in file ../LayaRuntime-iOS/libs/libcurls.a (3 slices)

Undefined symbols for architecture x86_64:

  "_OBJC_CLASS_$_LayaPlatformCallback", referenced from:

      objc-class-ref in MarketAppStore.o

  "_OBJC_CLASS_$_LayaPlatformFactory", referenced from:

      objc-class-ref in MarketAppStore.o

  "_OBJC_CLASS_$_conchConfig", referenced from:

      objc-class-ref in ViewController.o

      objc-class-ref in MarketAppStore.o

  "_OBJC_CLASS_$_conchRuntime", referenced from:

      objc-class-ref in ViewController.o

      objc-class-ref in MarketAppStore.o

  "_OBJC_IVAR_$_conchConfig.m_nChargeType", referenced from:

      -[MarketAppStore getChargeType] in MarketAppStore.o

  "_OBJC_IVAR_$_conchConfig.m_nEnterPlatformType", referenced from:

      -[MarketAppStore getEnterPlatformType] in MarketAppStore.o

  "_OBJC_IVAR_$_conchConfig.m_nLoginType", referenced from:

      -[MarketAppStore getLoginType] in MarketAppStore.o

  "_OBJC_IVAR_$_conchConfig.m_nOrientationType", referenced from:

      -[ViewController supportedInterfaceOrientations] in ViewController.o

  "_OBJC_IVAR_$_conchConfig.m_nPayType", referenced from:

      -[MarketAppStore getPayType] in MarketAppStore.o

  "_OBJC_IVAR_$_conchConfig.m_sGameID", referenced from:

      -[MarketAppStore LP_Init] in MarketAppStore.o

  "_OBJC_IVAR_$_conchConfig.m_sPlatformClassName", referenced from:

      -[MarketAppStore getMarketName] in MarketAppStore.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)
已邀请:

cuixueying

赞同来自:

在编译的时候请先选择下设备 Generic ios Device

要回复问题请先

商务合作
商务合作