MobiVM / robovm

Ahead of time compiler for JVM bytecode targetting iOS, Mac OSX and Linux
https://mobivm.github.io
952 stars 132 forks source link

* disables objc-msgsend stubs generated by XCode14, otherwise XCode13 and bellow will fail to link #702

Closed dkimitsa closed 1 year ago

dkimitsa commented 1 year ago

Xcode14 enables by default objc-msgsend stubs optimisation but its a breaking change with older version of Xcode and clang in general as will produce multiple errors similar to:

Undefined symbols for architecture arm64: [ERROR] 12:26:08.203 "_objc_msgSend$request", referenced from:

More info can be found there https://github.com/llvm/llvm-project/issues/56034 The workaround is to disable this optimisation for VM libs by adding -fno-objc-msgsend-selector-stubs argument.

Also fetch/deploy binaries scripts were removed as not used