weak linking issues
Posted: Tue Oct 01, 2013 2:40 am
Has something changed with the build system? For some reason while I used to be able to weak link a class using the if([CLASSNAME class] != nil) method now I need to use the old class from string method.
I think LiveCode should be compatible with the newer method and indeed was until quite recently:
The base SDK for your Xcode project must be iOS 4.2 or newer. The name for this setting in the build settings editor is SDKROOT (Base SDK).
The deployment target for your project must be iOS 3.1 or newer. The name for this setting is MACOSX_DEPLOYMENT_TARGET (OS X Deployment Target).
The compiler for your project must be the LLVM-GCC 4.2 compiler or newer, or the LLVM compiler (Clang) 1.5 or newer. The name for this setting is GCC_VERSION (C/C++ Compiler Version).
I haven't gone back and tested old versions of LC to see where the change happened but wonder if it's related to the build automation somehow?
I think LiveCode should be compatible with the newer method and indeed was until quite recently:
The base SDK for your Xcode project must be iOS 4.2 or newer. The name for this setting in the build settings editor is SDKROOT (Base SDK).
The deployment target for your project must be iOS 3.1 or newer. The name for this setting is MACOSX_DEPLOYMENT_TARGET (OS X Deployment Target).
The compiler for your project must be the LLVM-GCC 4.2 compiler or newer, or the LLVM compiler (Clang) 1.5 or newer. The name for this setting is GCC_VERSION (C/C++ Compiler Version).
I haven't gone back and tested old versions of LC to see where the change happened but wonder if it's related to the build automation somehow?