I created a new project with cocos2d-x v4 and imported admob with sdkbox.
The build was canceled when I tried to run it in Xcode.
I don’t know the solution because the error log doesn’t show anything in particular.
How can I build it?
The steps to reproduce this are detailed below.
I am using
Cocos Console 2.3
SDKBOX version 126.96.36.199
macOS Catalina 10.15.5
Xcode Version 11.6 (11E708)
I installed cocos2d-x v4 and set it up, then created a project.
cocos new CocosTest5 -l cpp -p info.mygames888.cocostest5
I created xcode project.
cd CocosTest5/ mkdir ios-build cd ios-build cmake .. -GXcode -DCMAKE_SYSTEM_NAME=iOS
At this point, when I open xcode project and run, It built correctly and ran on my iphone.
However, when I imported sdkbox after this, it became impossible.
cd CocosTest5 sdkbox import admob
This is all I did.
admob should have been imported correctly, but I haven’t made any changes to the project yet.
I feel this problem is similar to the following topic.
But this topic is still unresolved.
Can anyone please tell me how to solve this problem.