[Solved] Does SDKBOX IAP plugin support Xcode 8?

I created a cocos2d-x JS project and successfully compiled it on Xcode 8 but after adding IAP plugin got link error:

Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_SKProductStorePromotionController", referenced from:
      objc-class-ref in PluginIAP(IAPWrapper-D2E44C5717C6209A.o)
  "___isOSVersionAtLeast", referenced from:
      sdkbox::IAPWrapperEnabled::fetchStorePromotionOrder() in PluginIAP(IAPWrapper-D2E44C5717C6209A.o)
      sdkbox::IAPWrapperEnabled::updateStorePromotionOrder(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) in PluginIAP(IAPWrapper-D2E44C5717C6209A.o)
      sdkbox::IAPWrapperEnabled::fetchStorePromotionVisibility(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in PluginIAP(IAPWrapper-D2E44C5717C6209A.o)
      sdkbox::IAPWrapperEnabled::updateStorePromotionVisibility(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool) in PluginIAP(IAPWrapper-D2E44C5717C6209A.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

But I didn’t get such an error on Xcode 9.

need Xcode 9 for promotion purchase.
Thanks,

Most probably there is way to attach IAP lib from xcode 9 , but u need to google it out. What reason for xcode 8? U want to support lower devices or dont want to target IOS 11 devices?

I tried to compile my cocos2d-x game on MacBook Pro mid-2009, which isn’t supported by macOS Sierra and Xcode 9 doesn’t support El Capitan.

Fortunately I already found a workaround (http://dosdude1.com/sierrapatch.html) and was able to install Sierra on my old MacBook but it would be great if SDKBOX IAP plugin documentation explicitly states that it requires Xcode 9.

I will add this requirement with IAP documentation.