Kotlin Native iOS string formatting with vararg
问题 Based on this issue about using NSString formatting I try to implement multiplatform implementation for formatting when using vararg , with no luck so far. What I did added FoundationInterop.def language = Objective-C --- #import <Foundation/NSString.h> NSString* format(NSString* format, ...) { va_list args; va_start(args, format); NSString* result = [[NSString alloc] initWithFormat:format arguments:args]; va_end(args); return result; } compiled it in gradle targets { final def iOSTarget =