I get this error when I try to build. MacOS 11.1, Xcode 12.4.
/Users/exerhythm/Downloads/PojavLauncher_iOS-main/Natives/SurfaceViewController.m:166:15: warning: initializing 'char *'
with an expression of type 'NS_RETURNS_INNER_POINTER const char *' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
char *charText = [newText UTF8String];
^ ~~~~~~~~~~~~~~~~~~~~
/Users/exerhythm/Downloads/PojavLauncher_iOS-main/Natives/SurfaceViewController.m:165:26: warning: implicit conversion
loses integer precision: 'NSUInteger' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
int charLength = [newText length];
~~~~~~~~~~ ^~~~~~~~~~~~~~~~
/Users/exerhythm/Downloads/PojavLauncher_iOS-main/Natives/SurfaceViewController.m:177:14: error: use of undeclared
identifier 'EVENT_TYPE_ENTER'
sendData(EVENT_TYPE_ENTER, GLFW_KEY_BACKSPACE, 0, 1, 0);
^
/Users/exerhythm/Downloads/PojavLauncher_iOS-main/Natives/SurfaceViewController.m:178:14: error: use of undeclared
identifier 'EVENT_TYPE_ENTER'
sendData(EVENT_TYPE_ENTER, GLFW_KEY_BACKSPACE, 0, 0, 0);
^
2 warnings and 2 errors generated.
** BUILD FAILED **
The following build commands failed:
CompileC /Users/exerhythm/Downloads/PojavLauncher_iOS-main/Natives/build/PojavLauncher.build/Release-iphoneos/pojavexec.build/Objects-normal/arm64/SurfaceViewController.o /Users/exerhythm/Downloads/PojavLauncher_iOS-main/Natives/SurfaceViewController.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)