Home Game Development How one can copy file in native/engine/ios to construct/ios/proj ? cc 3.5.2 – Cocos Creator

How one can copy file in native/engine/ios to construct/ios/proj ? cc 3.5.2 – Cocos Creator

0
How one can copy file in native/engine/ios to construct/ios/proj ? cc 3.5.2 – Cocos Creator

[ad_1]

I’ve a Podfile in folder native/ios . How one can mechanically copy it to folder construct/ios/proj after click on construct in cocos creator ?

There’s a downside with utilizing CocoaPods with CMake. Each time you regenerate the Xcode undertaking file with cmake, the earlier CocoaPods settings might be reset.

So you could allow the choice to skip Xcode undertaking updates, after which copy the Podfile.

Copying information might be achieved with add_custom_commands or utilizing the construct plugin.

1 Like

Thanks for reply. The place to place add_custom_commands code ? is it in native/engine/ios/CMakeLists.txt ? @PatriceJiang

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here