npx cap sync
overwrites changes in Pods-App.debug|release
#7487
Replies: 3 comments 3 replies
-
It's not Capacitor but CocoaPods itself, you should never manually edit Pods files, CocoaPods will reset those files in For making permanent changes in the Pods projects you have to edit your
|
Beta Was this translation helpful? Give feedback.
-
I found that during an Xcode operation |
Beta Was this translation helpful? Give feedback.
-
make file scripts/fix-sandboxing.rb require 'xcodeproj' project_path = 'ios/App/App.xcodeproj' project.build_configurations.each do |config| project.targets.each do |target| project.save add to package.json in section scripts run : npx cap sync && npm run postsync |
Beta Was this translation helpful? Give feedback.
-
Hey everyone,
I had to set
ENABLE_USER_SCRIPT_SANDBOXING = NO
inPods-App.debug
andPods-App.release
. Unfortunately this change gets overwritten every time I runnpx cap sync
. Is there a way to set this value in a persistent way?Thanks for your help!
Frederik
Beta Was this translation helpful? Give feedback.
All reactions