TinyCrayon / TinyCrayon-iOS-SDK

A smart and easy-to-use image masking and cutout SDK for mobile apps.
https://www.tinycrayon.com
MIT License
1.83k stars 155 forks source link

TCMaskBlendExample crashes with Xcode 9.2 iOS 11.2.6 #23

Open germanleiva opened 6 years ago

germanleiva commented 6 years ago

I tested the example in the simulator (iPhone 6s) and it worked but when I run it in a device (iPad Mini or iPhone) it crashes.

In the log I saw this warning

To get test ads on this device, call: request.testDevices = @[@"0123456789abcdef0123456789abcdef" ];

I added the testDevices to the created instance of TCMaskView maskView.testDevices = ["0123456789abcdef0123456789abcdef"]

but the TCMaskBlendExample keeps crashing with the same error

error: memory read failed for 0x800 Thead 1: EXC_BAD_ACCESS (code=1, address=0x800)

Any workaround?

FromF commented 6 years ago

Me too. There is no problem with the simulator, but if it runs on the iOS device, a problem will occur.

rolisanchez commented 6 years ago

Same error here. Any workaround?

zcwsmile commented 6 years ago

Same error here.

Any workaround? please