mmrosekgi opened a new issue, #1529: URL: https://github.com/apache/cordova-ios/issues/1529
# Bug Report ## Problem Running the command to add the platform fails while trying to rename entitlement files. I'm trying to upgrade from ios-platform 7.1.0 ### What is expected to happen? The command successfully adds the iOS platform so I can build the mobile app for iOS. ### What does actually happen? The command runs into an error with the file and folder names for entitlement files, fails to resolve those and cancels the process. ## Information <!-- Include all relevant information that might help understand and reproduce the problem --> With cordova-ios 7.1.0 it works fine ### Command or Code <!-- What command or code is needed to reproduce the problem? --> When I try to run cordova platform add ios@8.0.0-beta.1 I get the following console output: Project name has changed. Renaming .entitlements file. Failed to rename .entitlements file. Error: ENOENT: no such file or directory, rename '/Users/mmrosek/Desktop/Mobile_development/Gedys_Mobile/platforms/ios/App/Resources/App.entitlements' -> '/Users/mmrosek/Desktop/Mobile_development/Gedys_Mobile/platforms/ios/App/Resources/Gedys Mobile.entitlements' at Object.renameSync (node:fs:1035:3) at run (/Users/mmrosek/Desktop/Mobile_development/Gedys_Mobile/plugins/cordova-universal-links-plugin/hooks/iosBeforePrepareHook.js:40:8) at module.exports (/Users/mmrosek/Desktop/Mobile_development/Gedys_Mobile/plugins/cordova-universal-links-plugin/hooks/iosBeforePrepareHook.js:12:3) at runScriptViaModuleLoader (/Users/mmrosek/Desktop/Mobile_development/Gedys_Mobile/node_modules/cordova-lib/src/hooks/HooksRunner.js:157:32) at runScript (/Users/mmrosek/Desktop/Mobile_development/Gedys_Mobile/node_modules/cordova-lib/src/hooks/HooksRunner.js:136:12) at /Users/mmrosek/Desktop/Mobile_development/Gedys_Mobile/node_modules/cordova-lib/src/hooks/HooksRunner.js:108:40 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { errno: -2, syscall: 'rename', code: 'ENOENT', path: '/Users/mmrosek/Desktop/Mobile_development/Gedys_Mobile/platforms/ios/App/Resources/App.entitlements', dest: '/Users/mmrosek/Desktop/Mobile_development/Gedys_Mobile/platforms/ios/App/Resources/Gedys Mobile.entitlements' } Running fixAppEntitlements hook, fixing the app entitlements ⬇️ ✔ Successfully added app group information to the app entitlement files! 🎉 {} ENOENT: no such file or directory, open '/Users/mmrosek/Desktop/Mobile_development/Gedys_Mobile/platforms/ios/Gedys Mobile/Entitlements-Debug.plist' ### Environment, Platform, Device <!-- In what environment, on what platform or on which device are you experiencing the issue? --> Device: Mac Mini OS: macOS 15.2 ### Version information <!-- What are relevant versions you are using? For example: Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins Other Frameworks: Ionic Framework and CLI version Operating System, Android Studio, Xcode etc. --> Cordova CLI: 12.0.0 Ionic: framework 6.7.5 Ionic CLI: 7.2.0 @ionic/angular-toolkit: ^12.1.1 @ionic/cordova-builders: ^11.0.0 List of plugins: cordova-plugin-dialogs – ^2.0.2 cordova-plugin-globalization – ^1.11.0 cordova-plugin-email-composer – git+https://github.com/imperyal/cordova-plugin-email-composer.git#patch-1 cordova-plugin-network-information – ^2.0.2 cordova-plugin-geolocation – ^4.0.2 ionic-plugin-keyboard – ^2.2.1 cordova-plugin-add-swift-support – ^2.0.2 cordova-universal-links-plugin – git+https://github.com/GEDYSIntraWare/cordova-universal-links-plugin.git#2a8732c cordova-plugin-cookies-sync – https://github.com/imransilvake/Cordova-Plugin-Sync-Cookies cordova-plugin-indexappcontent – git+https://github.com/GEDYSIntraWare/cordova-plugin-indexappcontent.git#ionic-native cordova-plugin-secure-storage – git+https://github.com/GEDYSIntraWare/cordova-plugin-secure-storage.git#custom cordova-plugin-3dtouch – ^1.3.8 cordova-launch-review – ^3.1.1 cordova-plugin-statusbar – git+https://github.com/GEDYSIntraWare/cordova-plugin-statusbar.git#custom cordova-plugin-ionic-keyboard uk.co.workingedge.phonegap.plugin.launchnavigator – ^5.30.0 cordova-plugin-ionic-webview – git+https://github.com/GEDYSIntraWare/cordova-plugin-ionic-webview.git#android-only cordova-sqlite-storage – ^6.0.0 cc.fovea.cordova.openwith – git+https://github.com/GEDYSIntraWare/cordova-plugin-openwith.git#customexperimental cordova-plugin-fingerprint-aio – 5.0.1 cordova-plugin-webview-proxy – github:GEDYSIntraWare/cordova-plugin-webview-proxy cordova-plugin-device – 2.0.3 cordova-plugin-app-version – 0.1.9 cordova-plugin-call-directory – ^1.7.1 cordova-plugin-file – ^8.0.1 cordova-plugin-media-capture – ^5.0.0 cordova-plugin-camera – ^7.0.0 cordova-plugin-file-opener2 – ^4.0.0 cordova-plugin-iroot – ^3.1.0 onesignal-cordova-plugin – ^3.3.2 cordova-plugin-inappbrowser – ^6.0.0 cordova-plugin-chooser – ^1.3.2 ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [x] I searched for existing GitHub issues - [x] I updated all Cordova tooling to most recent version - [x] I included all the necessary information above -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org