I encountered a weird phenomenon when running ionic cap build ios
or ionic cap sync
.
The first line of my Podfile requires a function which Capacitor provides in it’s node_modules folder:
require_relative '../../node_modules/@capacitor/ios/scripts/pods_helpers'
But when running either of the above commands, the line is replaced with the content of pods_helpers.rb
:
I think this might get a problem as soon as Capacitor updates the contents of pods_helpers.rb
, so my app will not notice something has changed in that file.
Now to my question: Is this intended or am I missing something? Or should I commit this change?