After update to Xcode 5 – ld: symbol(s) not found for architecture armv7 or armv7s linker error

Short answer: Remove Build Active Architecture Only (build setting parameter key is ‘ONLY_ACTIVE_ARCH’) from all of your static libraries’ project build settings or overwrite it with ‘NO’ like in the screenshot below: Detailed answer: The problem is that your static library ‘libCordova.a’ which you’re linking in your main app is only compiled for one architecture … Read more

Get previous versions of a package in NPM

Try: In your terminal: npm view cordova versions Output: [ ‘0.0.0-fake’, ‘0.0.1’, ‘0.0.2’, ‘0.0.3’, ‘0.0.4’, ‘0.0.5’, ‘0.0.6’, ‘0.0.7’, ‘0.0.8’, ‘0.0.9’, ‘0.1.0’, ‘0.1.1’, ‘0.1.2’, ‘0.1.3’, ‘0.1.4’, ‘0.1.5’, ‘0.1.6’, ‘0.1.7’, ‘0.1.8’, ‘0.1.9’, ‘0.1.10’, ‘0.1.11’, ‘0.1.12’, ‘0.1.13’, ‘0.1.14’, ‘2.2.0’, ‘2.3.0’, ‘2.3.1’, ‘2.3.2’, ‘2.3.3’, ‘2.3.5’, ‘2.3.6’, ‘2.4.0’, ‘2.4.1’, ‘2.4.2’, ‘2.4.3’, ‘2.4.4’, ‘2.4.5’, ‘2.4.6’, ‘2.4.7’, ‘2.4.8’, ‘2.4.9’, ‘2.4.10’, ‘2.5.0’, ‘2.5.2’, … Read more

“No Content-Security-Policy meta tag found.” error in my phonegap application

After adding the cordova-plugin-whitelist, you must tell your application to allow access all the web-page links or specific links, if you want to keep it specific. You can simply add this to your config.xml, which can be found in your application’s root directory: Recommended in the documentation: <allow-navigation href=”http://example.com/*” /> or: <allow-navigation href=”http://*/*” /> From … Read more

Handling cookies in PhoneGap/Cordova

Friend, I’ve tried too without success to use cookies with phonegap. The solution was use localStorage. Key Quick Example: var keyName = window.localStorage.key(0); Set Item Quick Example: window.localStorage.setItem(“key”, “value”); Get Item Quick Example var value = window.localStorage.getItem(“key”); // value is now equal to “value” Remove Item Quick Example: window.localStorage.removeItem(“key”); Clear Quick Example: window.localStorage.clear(); If you … Read more

Cordova : Requirements check failed for JDK 1.8 or greater

In Linux (Debian/Ubuntu) this can be solved by selecting a Java 1.8 SDK in sudo update-alternatives –config javac Changing JAVA_HOME env variable directly does not seem to have any effect. EDIT: responding to the comments: This probably has something to do with the fact that new Debian (and apparently Ubuntu) Java installations through the package … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)