ios - Other Linker Flags set to -ObjC -
this question has answer here:
- what causes ios linking errors? 1 answer
i have included other linker flags set -objc in build settings use framework requires (https://github.com/rs/sdwebimage)
however after adding flag linker errors:
undefined symbols architecture armv7:
"_objc_class_$_skproductsrequest", referenced from:
objc-class-ref in parse(pfpurchase.o)
"_objc_class_$_skpayment", referenced from:
objc-class-ref in parse(pfpurchase.o)
"_objc_class_$_skpaymentqueue", referenced from:
objc-class-ref in parse(pfpurchase.o) objc-class-ref in parse(pfpaymenttransactionobserver.o)
ld: symbol(s) not found architecture armv7
clang: error: linker command failed exit code 1 (use -v see invocation)
removing -objc linker flag , project builds again without errors. ideas of cause? thanks.
you need add storekit.framework
.
version 1.0.62 of parse ios sdk introduced in-app purchases. requires storekit.framework
added existing parse ios projects, if iap not being used.
do this:
- select project
- select target
- select build phases
- in link binaries libraries, click +
- search storekit , add
then import framework project:
#import "storekit/storekit.h"
see same error in parse community link.
Comments
Post a Comment