David Kong
David Kong

Reputation: 123

Linker issue when switch to Xcode7, Undefined symbols for architecture armv7: _objc_readClassPair

I got this error when I try to use the latest xcode, which is 7.1.1, but got 2 linker error: Error msg image

Undefined symbols for architecture armv7: "_objc_readClassPair", referenced from: __ARCLite__load() in libarclite_iphoneos.a(arclite.o) ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)

don't know how to figure this out, anyone can help? Thanks a lot.

Upvotes: 2

Views: 1816

Answers (1)

David Kong
David Kong

Reputation: 123

Adding "-Xlinker -U -Xlinker _objc_readClassPair" to the "Other Linker Flags" fixed that issue.

Upvotes: 5

Related Questions