Posts

Showing posts with the label cordova

Ionic Cordova iOS run project on device, error: Code Signing Error

Ionic Cordova iOS run project on device, error: Code Signing Error I am trying to run a simple app with Ionic version 3.20.0 , Cordova version 8.0.0 (basically i just created a new project from command line with nothing in it other than the added platforms). I am getting this error when running with command "ionic cordova run ios --device": Check dependencies Code Signing Error: No profiles for 'razvan.secondionicproject' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'razvan.secondionicproject'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.4' When I open and run the project from the platforms/ios project folder with Xcode, it runs fine on my phone. Also when I opened with Xcode I checked automatic signing on, added t...

How to set Cordova Android project to use NDK

How to set Cordova Android project to use NDK I am trying to do what this question/answer has java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader but in cordova instead. android { .... defaultConfig { .... ndk { abiFilters "armeabi", "armeabi-v7a", "x86", "mips" } } } This works if I edit build.gradle manually in platforms/android/build.gradle Using Cordova Android 6.4.0 (7.1 seems to break almost every plugin, including some cordova plugins such as cordova-network-information, so I've been unable to upgrade so far, and am looking for other solutions). platforms/android/build.gradle Editing manually isn't ideal, is there a way to set this automatically? Possibly with a hook or config.xml change? Thanks (edit) Updated to 7.1 successfully, 64 bit still broken. By clicking "Post Your Answer", you acknowled...

ionic build android's Error : copyFileSync: could not write to dest file

ionic build android's Error : copyFileSync: could not write to dest file When I use the command : ionic cordova build android here is what I get : ionic cordova build android cp: copyFileSync: could not write to dest file (code=ENOENT):/Users/mehdigriche/work/cam1/test/platforms/android/res/xml/config.xml Parsing /Users/mehdigriche/work/cam1/test/platforms/android/res/xml/config.xml failed (node:2306) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT: no such file or directory, open '/Users/mehdigriche/work/cam1/test/platforms/android/res/xml/config.xml' [10:50:14] lint finished i Have you checked the existence of or the permissions on the files mentioned in the error? – Thomas Smyth Dec 28 '17 at 11:17 8 Answers ...