Capacitor 4 upgrade gives processDebugManifest Android Build error

Check your Cordova plugins if you get :capacitor-cordova-android-plugins:processDebugManifest error after upgrading to Capacitor4 Problem After upgrading to Capacitor 4 everything worked fine when buidling using ionic cap sync (I am using Ionic Framework) and worked fine in Xcode and iOS. However, when building in Android Studio I got this error: :capacitor-cordova-android-plugins:processDebugManifestManifest merger failed with multiple… Continue reading Capacitor 4 upgrade gives processDebugManifest Android Build error

Get Capacitor iOS to log to console.app

Solution on how to get Capacitor to log to the iOS Device log / Native log that can be read from console.app. This is a must if you need to debug an approved and published App Store production app. Problem with Capacitor logging Capacitor only logs to the Xcode console (or Safari console) but not… Continue reading Get Capacitor iOS to log to console.app

Auto-increment build number in Xcode 11 / Xcode 12

Xcode 11 moved version handling to the .pbxproj file, in addition to Info.plist, which broke my script to automatically increase build number on each build. Solution for Xcode 11/12 is shown below. Background – pre Xcode 11 / Xcode 12 Before Xcode 11 the “normal” way to auto increment build number was to read current… Continue reading Auto-increment build number in Xcode 11 / Xcode 12

How to use iOS device settings for language in Ionic 5 / Cordova

How do set language for context menus (select all, cut, copy, paste…), file upload, camera dialogues and other iOS or plugin functionality that is outside of your core project? The answer is CFBundleDevelopmentRegion set in info.plist It seems CFBundleDevelopmentRegion is always set to en_US by default (or maybe this is because I build on a… Continue reading How to use iOS device settings for language in Ionic 5 / Cordova

Xcode and Bitbucket gives Authentication Failed

When cloning a Bitbucket repository from Xcode (using current version 9.2) I get Authentication failed. Solution is to insert Password into URL. Steps: Copy repository URL from Bitbucket – Overview, select HTTPS (not SSH) Paste it in to Xcode Clone window for Adding GitHub account (for example click “Clone an existing Project” from Xcode start… Continue reading Xcode and Bitbucket gives Authentication Failed