[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]