I'm able to build the android but ios keep failing. here is the log: https://cloud.codenameone.com/build/downloadResult?i=639285ee-3bee-46d1-af50-5b8b1993f2e9&b=f49677aa-6a1e-4ef6-91bc-a92a6eb9a373&n=error.txt
I’m building a Codename One (Maven) project for iOS and the archive build is failing because CN1 is generating a native class with ImplImpl in the name.
The build log shows:
NativeLogsReaderImplImplCodenameOne.class
and then fails with:
fatal error: 'com_fluency_fluencymobile_sys_NativeLogsReaderImplImpl.h' file not found
Originally I had two native interfaces:
public interface NativeLogsReader extends NativeInterface {
void start();
void stop();
}
and
public interface NativeLogsReaderImpl extends NativeInterface {
String readLogs();
}
I removed NativeLogsReaderImpl and merged everything into:
public interface NativeLogsReader extends NativeInterface {
void start();
void stop();
String readLogs();
}
I also updated usage to:
private static NativeConnectivity getConnectionManager() {
if (connectionManager == null) {
try {
NativeInterface ni = NativeLookup.create(NativeConnectivity.class);
if (ni != null) {
connectionManager = (NativeConnectivity) ni;
}
}
But the build still generates NativeLogsReaderImplImplCodenameOne
Why is CN1 still generating ImplImpl?