I’m using the latest repo of cocos2d-x (main branch). I added an EditBox in a scene as below.
auto editBox = EditBox::create(Size(getContentSize().width * 0.8, 100), "creator_tnail_white.png");
editBox->setFontName("My_Custom_Font.ttf");
editBox->setFontSize(32);
editBox->setPosition(Vec2(getContentSize().width/2, getContentSize().height * 0.75f));
editBox->setFontColor(Color3B::BLACK);
editBox->setPlaceHolder("Name:");
editBox->setMaxLength(100);
addChild(editBox);
This runs fine on macOS. However, when I run the same on iOS, it crashes as below. Has anyone seen this?