matchvs打包时错误信息

集成matchvs后,xcode里直接编译到真机上不会有错误
但是利用xcodebuild打包时,会出现protobuf找不到的错误
“google::protobuf::Message::CheckTypeAndMergeFrom(google::protobuf::MessageLite const&)”, referenced from:
vtable for stream::CheckIn in libMatchSDK.a(stream.sdk.pb.o)
vtable for stream::CheckInAck in libMatchSDK.a(stream.sdk.pb.o)
vtable for stream::Heartbeat in libMatchSDK.a(stream.sdk.pb.o)
vtable for stream::HeartbeatAck in libMatchSDK.a(stream.sdk.pb.o)
vtable for stream::Broadcast in libMatchSDK.a(stream.sdk.pb.o)
vtable for stream::BroadcastAck in libMatchSDK.a(stream.sdk.pb.o)
vtable for stream::CheckInNotify in libMatchSDK.a(stream.sdk.pb.o)

“google::protobuf::Message::DiscardUnknownFields()”, referenced from:
vtable for stream::CheckIn in libMatchSDK.a(stream.sdk.pb.o)
vtable for stream::CheckInAck in libMatchSDK.a(stream.sdk.pb.o)
vtable for stream::Heartbeat in libMatchSDK.a(stream.sdk.pb.o)
vtable for stream::HeartbeatAck in libMatchSDK.a(stream.sdk.pb.o)
vtable for stream::Broadcast in libMatchSDK.a(stream.sdk.pb.o)
vtable for stream::BroadcastAck in libMatchSDK.a(stream.sdk.pb.o)
vtable for stream::CheckInNotify in libMatchSDK.a(stream.sdk.pb.o)

Undefined symbols for architecture armv7:
“google::protobuf::internal::WireFormatLite::WriteInt32(int, int, google::protobuf::io::CodedOutputStream*)”, referenced from:
stream::HeartbeatRsp::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream*) const in libMatchSDK.a(client-gateway.pb.o)
stream::RoomInfo::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream*) const in libMatchSDK.a(client-gateway.pb.o)
stream::RoomFilter::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream*) const in libMatchSDK.a(client-gateway.pb.o)
“google::protobuf::internal::WireFormatLite::WriteEnum(int, int, google::protobuf::io::CodedOutputStream*)”, referenced from:
stream::LoginRsp::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream*) const in libMatchSDK.a(client-gateway.pb.o)
stream::DisconnectRsp::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream*) const in libMatchSDK.a(client-gateway.pb.o)
stream::LogoutRsp::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream*) const in libMatchSDK.a(client-gateway.pb.o)
stream::JoinRoomReq::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream*) const in libMatchSDK.a(client-gateway.pb.o)
stream::JoinRoomRsp::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream*) const in libMatchSDK.a(client-gateway.pb.o)
stream::JoinOverRsp::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream*) const in libMatchSDK.a(client-gateway.pb.o)
stream::LeaveRoomRsp::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream*) const in libMatchSDK.a(client-gateway.pb.o)