Undefined symbols for architecture arm64: 集成第三方sdk

集成百度推送接口时报错
`ld: warning: ignoring file /Applications/develop/xcodeproject/ProjectSrc/wqv1.0/bpush/libBPush.a, missing required architecture arm64 in file /Applications/develop/xcodeproject/ProjectSrc/wqv1.0/bpush/libBPush.a (3 slices)
Undefined symbols for architecture arm64:
OBJC_CLASS$_BPush”, referenced from:

  objc-class-ref in AppDelegate.o

ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
`
解决办法:
Undefined symbols for architecture arm64: 集成第三方sdk_第1张图片

改成这样也可以:
Undefined symbols for architecture arm64: 集成第三方sdk_第2张图片

你可能感兴趣的:(百度推送)