matchvs打包时错误信息

zyokia
Thu, 29 Mar 2018 02:35:55 +0000

集成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)

阅读整个主题