环境:
- 已经手动去除AnySDK代码
- 项目内没有调用任何IAP相关内容
- 没有开启Capabilities下面的IAP
编译提示:
Apple Mach-O Linker Error
“OBJC_CLASS_SKStoreProductViewController", referenced from:
"_OBJC_CLASS__SKProductsRequest”, referenced from:
“OBJC_CLASS_SKMutablePayment", referenced from:
"_OBJC_CLASS__SKPaymentQueue”, referenced from:
“_SKStoreProductParameterITunesItemIdentifier”, referenced from:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
如果开启了Capabilities下面的IAP开关,则编译没有问题。
这个编译错误是否仍与AnySDK有关?因为我自己代码没有用到IAP。
之前已经因为AnySDK导致项目审核Guideline 3.1.1被拒了,所以按照官网提示,已经手动去除AnySDK代码。现在在Capabilities下关闭了IAP开关就出现了此问题。