This question was asked on the LiveCode mailing list, and I ask and answer here because the answer will be useful to others.
There are several issues here:
Firstly, this is an ios file that defines the frameworks and libraries for compiling an external object, including the Foundation Framework, but the objc-objects clause is not specified in the .lcidl file. If you do not want to use the c object objects, remove the base structure from the .ios file.
The second is the .mm file, which is Objective-C ++, and the C ++ clause is naming not specified. If you do not want C ++, you can change .mm to .c for C or .m for Objective-C.
See section 6.3 documentation for more details.
source share