Home Features Docs Blog Support GitHub

Multiple versions of XCode


(Eugene) #1

Had any one had success using MOE with multiple versions of XCode installed? What’s the trick and how MOE or gradle plugin find which XCode version to use? Or does anyone had success with using XCode 11 yet?

I need to debug some UI breakage on iOS 13 and have only one mac.


#2

In Xcode settings you could select the command line tools version which is used by MOE.


(Eugene) #3

Do you have any idea what would it take to import new iOS 13 SDK into MOE? There are some breaking UI changes and they can only fixed with using a new API added in iOS 13.


#4

I guess you could try creating bindings yourself.


(Eugene) #5

Any pointers on which MOE projects need to be forked and how location to xcode is specified?


#6

I mean you could try creating the binding using a .nbc file, just like what you’ll do for your controller binding.


(Eugene) #7

But /moe-sdk-1.3.8/sdk/moe-ios.jar has both apple bindings and some MOE classes and annotations and that dependency is probably brought in by apply plugin: 'moe' command in gradle (it is not explicitly declared anywhere)


#8

But it should be doable (even manually) if you just want to use a few of the new APIs. It’s just a java binding of another Obj-C class.