Xcode 9 集成weex sdk后编译报错

Xcode 9 compile error after integrating weex sdk

我用 Xcode 9 自己构建了 WeexSDK.framework。 然后将框架集成到我的项目中。 构建我的应用程序时出现奇怪的编译错误日志,有人可以帮助我吗?

Undefined symbols for architecture arm64:
  "___llvm_profile_runtime", referenced from:
      ___llvm_profile_runtime_user in WeexSDK(WXDisplayQueue.o)
      ___llvm_profile_runtime_user in WeexSDK(WXResourceRequestHandlerDefaultImpl.o)
      ___llvm_profile_runtime_user in WeexSDK(WXSwitchComponent.o)
      ___llvm_profile_runtime_user in WeexSDK(WXRootView.o)
      ___llvm_profile_runtime_user in WeexSDK(WXRecyclerUpdateController.o)
      ___llvm_profile_runtime_user in WeexSDK(WXRecyclerComponent.o)
      ___llvm_profile_runtime_user in WeexSDK(WXThreadSafeMutableDictionary.o)
      ...
     (maybe you meant: ___llvm_profile_runtime_user)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

-fprofile-instr-generate 添加到其他链接器标志解决了编译错误。