在iOS应用程序的xcode中进行Monkeytalk设置时遇到了这个问题,我被困在这里

时间:2015-05-14 13:21:08

标签: monkeytalk

Undefined symbols for architecture i386:
  "std::string::c_str() const", referenced from:
      -[MTHTTPVirtualDirectory(ExecuteScript) executeAtom:withArgs:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeScript:withArgs:isFinding:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeMonkeyTalkJs:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeAsyncJsFunction:withArgs:withTimeout:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
  "std::string::compare(std::string const&) const", referenced from:
      bool std::operator==<char, std::char_traits<char>, std::allocator<char> >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
  "std::allocator<char>::allocator()", referenced from:
      -[MTHTTPVirtualDirectory(ExecuteScript) executeAtom:withArgs:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeScript:withArgs:isFinding:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeMonkeyTalkJs:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeAsyncJsFunction:withArgs:withTimeout:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
  "std::allocator<char>::~allocator()", referenced from:
      -[MTHTTPVirtualDirectory(ExecuteScript) executeAtom:withArgs:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeScript:withArgs:isFinding:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeMonkeyTalkJs:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeAsyncJsFunction:withArgs:withTimeout:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
  "std::string::append(char const*)", referenced from:
      -[MTHTTPVirtualDirectory(ExecuteScript) executeAtom:withArgs:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeScript:withArgs:isFinding:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeMonkeyTalkJs:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeAsyncJsFunction:withArgs:withTimeout:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)", referenced from:
      -[MTHTTPVirtualDirectory(ExecuteScript) executeAtom:withArgs:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeScript:withArgs:isFinding:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeMonkeyTalkJs:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeAsyncJsFunction:withArgs:withTimeout:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string()", referenced from:
      MTwebdriver::MTatoms::asString(char const* const*) in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()", referenced from:
      -[MTHTTPVirtualDirectory(ExecuteScript) executeAtom:withArgs:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      MTwebdriver::MTatoms::asString(char const* const*) in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeScript:withArgs:isFinding:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeMonkeyTalkJs:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
      -[MTHTTPVirtualDirectory(ExecuteScript) executeAsyncJsFunction:withArgs:withTimeout:] in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
  "std::string::operator+=(char const*)", referenced from:
      MTwebdriver::MTatoms::asString(char const* const*) in libMonkeyTalk-2.0.10.a(MTHTTPVirtualDirectory+ExecuteScript.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

1 个答案:

答案 0 :(得分:0)

您必须添加库libstdc++.6.0.9.dylib才能使用 MonkeyTalk代理构建应用。