How to run project directly on device from within Cocos Creator? (iPhone)

Hi,

I’ve installed SDKBox and imported both Chartboost and IAP plugins into my project. I soon found that sdkbox only works on my physical device as running on simulator or browser throws up a “sdkbox not defined” error. Given this, up till now, I’ve been getting the the project to run on an actual iPhone following these steps:

In Cocos Creator, select “Project -> Build” from the toolbar. Within this dialog do a “Build -> Compile”. Once complete, open the XCode project under jsb-default/frameworks/runtime-src/proj.ios_mac and then run the project on the device.

Is there a quicker way to run the project directly on the device rather than having to go through these steps each time?

Thank you!

2 Likes