2.3.17.3 : Undefined symbols for architecture arm64 on iOS


#1

After updating SDKBOX from 2.3.17.1 to 2.3.17.3 (s. Log in PS2) the application cannot be linked anymore (s. PS1).

Is it an already known problem? Or is my setup somehow not correct? Any help?

PS1:

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, std::__1::allocator >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > > > const&) in PluginIAP(IAPWrapper-D2E44C5717C6209A.o)
sdkbox::IAPWrapperEnabled::fetchStorePromotionVisibility(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in PluginIAP(IAPWrapper-D2E44C5717C6209A.o)
sdkbox::IAPWrapperEnabled::updateStorePromotionVisibility(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > 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)

PS2:

$ sdkbox update


|______ | \ |____/ |] | | _/
| |/ | _ |
] |____| _/ _
Copyright © 2016-2017 SDKBOX Inc. v1.0.1.24
test speed of hosts…

  • test host main: 54.05KB/s.
  • test host china: 17.44KB/s.
    choose the fastest server ‘main’, speed is 54.05KB/s.
    A newer version of SDKBOX is available, would you like to update v1.0.1.24 to v1.0.1.26?
    Type [Y]es, [n]o or [q]uit
    Y
    [###################################] 100%
    updated SDKBOX v1.0.1.24 to v1.0.1.26 at /Users/***/.sdkbox/bin/sdkbox_installer.zip
    Restarting SDKBOX.

|______ | \ |____/ |] | | _/
| |/ | _ |
] |____| _/ _
Copyright © 2016-2017 SDKBOX Inc. v1.0.1.26
test speed of hosts…

  • test host main: 628.95KB/s.
  • test host china: 0.00KB/s.
    choose the fastest server ‘main’, speed is 628.95KB/s.
    downloading package sdkbox-iap_v2.3.17.3.tar.gz
    [###################################] 100%
    2.3.17.3 2.3.17.1
    updating iap v2.3.17.1 -> v2.3.17.3
    Please reference the online documentation to finish the integration:
    http://sdkbox-doc.github.io/en/plugins/iap/v3-cpp/
    Installation Successful :slight_smile:
    updated 1 packages.

#2

I’m having exactly the same problem. Does anyone have a solution?


#3

I’ve tested a completely new installation as well (to make sure it is not just an update issue) - the same linking problem occurs, so for me it looks like SDKBOX IAP 2.3.17.3 can not be used at all.


#4

what’s your xcode version?
device or simulator version?


#5

please use xcode9 to compile


#6

I confirm the problem occurs in XCode 8.2.1. After upgrading to 9.1, the linking works.