Ok I’ve solved the issue
I did: sdkbox import -b …/sdkbox-iap_cpp_v1.1.5.tar.gz
And a new version was released (you were right), I typed yes and it download and istall ok, but ending with the same error.
I just did again the same command: sdkbox import -b …/sdkbox-iap_cpp_v1.1.5.tar.gz
And I get it work:
|______ | \ |____/ |] | | _/
| |/ | _ |] |____| _/ _
Copyright © 2015 Chukong Technologies Inc. v0.5.4
[/]
Please reference to the following section in the doc/installation_guide.pdf from the downloaded zip file to finish the integration:
-
Step 2.5: modify the Android Java code
-
Step 3: modify your game code
Installation Successful
Then I followed your video and all seems to be fine, but when I run the project I get some errors:
Ld /Users/David/Library/Developer/Xcode/DerivedData/ProbaBox-egtsqwzstdtarvgjtszivbhueiqo/Build/Products/Debug-iphonesimulator/ProbaBox\ iOS.app/ProbaBox\ iOS normal x86_64
cd /Users/David/Desktop/ProbaBox/proj.ios_mac
export IPHONEOS_DEPLOYMENT_TARGET=5.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.4.sdk -L/Users/David/Library/Developer/Xcode/DerivedData/ProbaBox-egtsqwzstdtarvgjtszivbhueiqo/Build/Products/Debug-iphonesimulator -Lsdkbox.framework -LPluginIAP.framework -F/Users/David/Library/Developer/Xcode/DerivedData/ProbaBox-egtsqwzstdtarvgjtszivbhueiqo/Build/Products/Debug-iphonesimulator -F/Users/David/Desktop/ProbaBox/proj.ios_mac -filelist /Users/David/Library/Developer/Xcode/DerivedData/ProbaBox-egtsqwzstdtarvgjtszivbhueiqo/Build/Intermediates/ProbaBox.build/Debug-iphonesimulator/ProbaBox\ iOS.build/Objects-normal/x86_64/ProbaBox\ iOS.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -stdlib=libc++ -Xlinker -no_implicit_dylibs -fobjc-link-runtime -mios-simulator-version-min=5.0 -framework Security /Users/David/Library/Developer/Xcode/DerivedData/ProbaBox-egtsqwzstdtarvgjtszivbhueiqo/Build/Products/Debug-iphonesimulator/libcocos2d\ iOS.a -framework CoreMotion -framework Foundation -framework UIKit -framework CoreGraphics -framework OpenGLES -lz -framework QuartzCore -framework OpenAL -framework AVFoundation -framework AudioToolbox -framework sdkbox -framework PluginIAP -framework StoreKit -Xlinker -dependency_info -Xlinker /Users/David/Library/Developer/Xcode/DerivedData/ProbaBox-egtsqwzstdtarvgjtszivbhueiqo/Build/Intermediates/ProbaBox.build/Debug-iphonesimulator/ProbaBox\ iOS.build/Objects-normal/x86_64/ProbaBox\ iOS_dependency_info.dat -o /Users/David/Library/Developer/Xcode/DerivedData/ProbaBox-egtsqwzstdtarvgjtszivbhueiqo/Build/Products/Debug-iphonesimulator/ProbaBox\ iOS.app/ProbaBox\ iOS
Undefined symbols for architecture x86_64:
"HelloWorld::onCanceled(sdkbox::Product const&)", referenced from:
vtable for HelloWorld in HelloWorldScene.o
"HelloWorld::onRestored(sdkbox::Product const&)", referenced from:
vtable for HelloWorld in HelloWorldScene.o
"HelloWorld::onRequestIAP(cocos2d::Ref*)", referenced from:
HelloWorld::init()::$_0::operator()(cocos2d::Ref*) const in HelloWorldScene.o
"HelloWorld::onProductRequestFailure(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)", referenced from:
vtable for HelloWorld in HelloWorldScene.o
"HelloWorld::onProductRequestSuccess(std::__1::vector<sdkbox::Product, std::__1::allocator > const&)", referenced from:
vtable for HelloWorld in HelloWorldScene.o
"HelloWorld::onFailure(sdkbox::Product const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)", referenced from:
vtable for HelloWorld in HelloWorldScene.o
"HelloWorld::onSuccess(sdkbox::Product const&)", referenced from:
vtable for HelloWorld in HelloWorldScene.o
"non-virtual thunk to HelloWorld::onCanceled(sdkbox::Product const&)", referenced from:
vtable for HelloWorld in HelloWorldScene.o
"non-virtual thunk to HelloWorld::onRestored(sdkbox::Product const&)", referenced from:
vtable for HelloWorld in HelloWorldScene.o
"non-virtual thunk to HelloWorld::onProductRequestFailure(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)", referenced from:
vtable for HelloWorld in HelloWorldScene.o
"non-virtual thunk to HelloWorld::onProductRequestSuccess(std::__1::vector<sdkbox::Product, std::__1::allocator > const&)", referenced from:
vtable for HelloWorld in HelloWorldScene.o
"non-virtual thunk to HelloWorld::onFailure(sdkbox::Product const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)", referenced from:
vtable for HelloWorld in HelloWorldScene.o
"non-virtual thunk to HelloWorld::onSuccess(sdkbox::Product const&)", referenced from:
vtable for HelloWorld in HelloWorldScene.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)