Thursday, July 21, 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.

Hey developer pals. I’m creating 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 creating 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. Mechanically. It’s cumbersome so as to add every time.

Does anybody know the best way to 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 identify + 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’ll be able to 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 believe you could 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 after I open the CMAKELIST file. Is the model you’re utilizing totally different from the one you’re utilizing? I need to do the identical as you suggested, however the code is totally different. In fact, this code doesn’t work now.

why you place this two recordsdata in challenge identify + 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 shouldn’t be that the file is bodily deleted, however that it’s excluded from the challenge and needs to be added each time.

what you imply of excluded from the challenge? and the place you added it?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments