Wednesday, July 20, 2022
HomeGame DevelopmentA problem with computerized deletion of recordsdata in iOS - Cocos Creator

A problem with computerized deletion of recordsdata in iOS – Cocos Creator


A problem with computerized deletion of recordsdata in iOS.

Hi there developer buddies. I’m growing a sport this time and getting ready for iOS launch. Cocos Creator has skilled as soon as once more that it’s a very nice engine. Belief me.

There was one drawback whereas growing IOS this time, and we added BridgeUtil.h and mm recordsdata to our sport challenge, however the recordsdata are eliminated each time we construct in Cocos Creator Inspector. Robotically. It’s cumbersome so as to add every time.

Does anybody know how one can clear up this?

These two recordsdata at present exist within the engine/ios folder and I add them to the Supply Recordsdata folder in challenge title + cell, however the script disappears each time I construct. In fact the framework. We’re utilizing the Fb Framework, and so they’re including it again each time.


you may add BridgeUtil.h and mm recordsdata to CMakeList.txt

I attempted the code you gave me. I put it as follows, however computerized import nonetheless doesn’t work… Android didn’t have this drawback, however IOS is a bit troublesome.

image

which model of creator are you utilizing? i feel chances are you’ll add this two recordsdata to CMakeList.txt after what i pointed earlier than.

I’m at present utilizing cocos model 3.5.1. So that you imply so as to add textual content after construct?

i imply so as to add on this line, after the ViewController.h:

That is all of the code I get once I open the CMAKELIST file. Is the model you’re utilizing totally different from the one you’re utilizing? I wish to do the identical as you suggested, however the code is totally different. In fact, this code doesn’t work now.

why you set this two recordsdata in challenge title + cell? are you able to present Fb Framework you used? i put this two recordsdata in engine/ios and it exists after construct.

Oh I additionally put the file in engine/ios. The issue will not be that the file is bodily deleted, however that it’s excluded from the challenge and must be added each time.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments