I have included other linker flags set in -ObjC in my build settings as I would like to use an infrastructure that requires this ( https://github.com/rs/SDWebImage )
However, after adding this flag, I get linker errors:
Undefined symbols for architecture armv7:
"_ OBJC_CLASS _ $ _ SKProductsRequest" referenced by:
objc-class-ref in Parse(PFPurchase.o)
"_ OBJC_CLASS _ $ _ SKPayment" referenced by:
objc-class-ref in Parse(PFPurchase.o)
"_ OBJC_CLASS _ $ _ SKPaymentQueue" referenced by:
objc-class-ref in Parse(PFPurchase.o) objc-class-ref in Parse(PFPaymentTransactionObserver.o)
ld: character not found for armv7 architecture
clang: error: linker command failed with exit code 1 (use -v to invoke the call)
Removing the -ObjC linker flag and building the project again without errors. Any ideas of the reason? Thanks.
source share