So have UITesting target that launches an app written in mixed ObjC and Swift code.
When running the app target normally, Swift's print()
and ObjC's NSLog()
statements print to the Xcode console fine on all devices and simulators.
But when running the app through the UITest the ObjC logs don't print in iOS 11, only the swift print()
is logging.
Both print fine in iOS 10 and 9 in all cases.
Any ideas?
printf()
from your Objective-C code? – Ens#define NSLog(x) some-noop
for release builds, do you? – Ens#define NSLog...
just as a sanity check.. Tred this on another computer by the way, same story! Will try with a new project on Monday. – Onomatopoeia