Home Features Docs Blog Support GitHub

Help with the "Create New Binding" option in 1.3.x plugin


(Dũng Trần) #22

This is full crash log: https://pastebin.com/raw/sX9fZGDr.


(Roland Vigh - Migeran) #23

Hi!

If you want cast native object, please use ObjCRuntime cast functions.

Best Regards,
Roland


(Dũng Trần) #24

Hi @vighr!

Can you give me an example ?

This is generated code from MOE tool.

	@Generated
	@Selector("initWithGameDelegate:application:isLoginManually:")
	@MappedReturn(ObjCObjectMapper.class)
	public static native Object initWithGameDelegateApplicationIsLoginManually(
			@Mapped(ObjCObjectMapper.class) MaoriStudioManagerDelegate delegate,
			UIApplication application, boolean manually);

(Roland Vigh - Migeran) #25

Hi!

Can you provide us with a test project to reproduce this?

Best Regards,
Roland


(Roland Vigh - Migeran) #26

Hi!

We are working on this error.

Best Regards,
Roland


(Roland Vigh - Migeran) #27

Hi!

We released a new version (moe-gradle 1.4.3 with the associated SDK 1.4.2)
Fixed ObjCObjectMapper error.

Best Regards,
Roland