저는이 유산 프로젝트를 가지고 있습니다.이 프로젝트는 iOS 7 및 Xcode 5에 가져 오려고합니다. 2004 년의 유산과 마찬가지.C++을 Xcode 5와 연결하는 데 문제가 있습니다.
어쨌든, 나는이 물건을 만들려고 노력하고 있으며, 몇몇 일반적인 서드 파티 라이브러리를 포함한 몇 개의 라이브러리를 뱉어 낸다. 링크 할 때, 나는이 같은 오류를 얻을 :
Undefined symbols for architecture ${arch}:
"google::protobuf::internal::WireFormatLite::WriteBytes(int, std::string const&, google::protobuf::io::CodedOutputStream*)"
nm
와 검사시 이전 (ARM에만 해당) 아직 프로젝트에 포함 된 바이너리 라이브러리이 포함
U __ZN6google8protobuf8internal14WireFormatLite10WriteBytesEiRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEPNS0_2io17CodedOutputStreamE
00000a8c T __ZN6google8protobuf8internal14WireFormatLite10WriteBytesEiRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEPNS0_2io17CodedOutputStreamE
00002b28 S __ZN6google8protobuf8internal14WireFormatLite10WriteBytesEiRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEPNS0_2io17CodedOutputStreamE.eh</code>
새로운 라이브러리 (보편적 인) 내가 엑스 코드 (5)을 통해 프로젝트를 실행할 때 생성 (따라서, 그 소리/LLVM)이 포함되어 매개 변수가 변환 된 이름에 누락처럼 나에게
U __ZN6google8protobuf8internal14WireFormatLite10WriteBytesEiRKSsPNS0_2io17CodedOutputStreamE
00000514 T __ZN6google8protobuf8internal14WireFormatLite10WriteBytesEiRKSsPNS0_2io17CodedOutputStreamE
00000b2c S __ZN6google8protobuf8internal14WireFormatLite10WriteBytesEiRKSsPNS0_2io17CodedOutputStreamE.eh
, 그것은 보인다.
정상입니까? 다른 곳을 찾아야합니까?
또는 이것이 문제인 경우 : 어떻게 해결할 수 있는지 생각해보십시오.
편집 : OLD와 NEW가 혼합되었습니다. 원본 게시물을 변경하지 않고 그대로 두었습니다.
는 (아니, $ {아치} 그 다음 내가 추측 말이 내가, 내가 과거와 혼합해서 죄송 것입니다 모두 팔 및 x86} – below