@available in XCode causes Undefined symbols error
ANE on the iOS side - if I include the condition in my XCode functions:
if (@11867269(iOS 11.0, *))
{
}
I am able to build the ANE, however, my project won't run - it fails with:
Undefined symbols for architecture arm64:
"___isOSVersionAtLeast", referenced from:
.......and list of the functions that include the conditional statement......
Undefined symbols for architecture armv7:
"___isOSVersionAtLeast", referenced from:
.......and list of the functions that include the conditional statement......
If I comment out the condition everything works as expected.
I can't figure out what I need to include either when building the static library in XCode or when building the ANE..?
Any help much appreciated.
