“‘cc’ failed with exit status 1” error when install python library

Run these two lines in your shell before you build: export CFLAGS=-Qunused-arguments export CPPFLAGS=-Qunused-arguments Those exports tell the compiler to ignore unused arguments rather than complaining about them. The reason seems to be that Python is compiling modules using the options that it was built with, except one of those options no longer works in … Read more

Auto property synthesis (@property) and inheritance

I’d suggest to explicitly synthesize the property on your MutableCar implementation. As in: @implementation MutableCar @synthesize name; @end That way clang won’t try to use autosynthesis Edit: If you don’t want to use encapsulation and for other reason you need to access the ivar from the parent class, then you need to do a little … Read more

xcode 5.1: libCordova.a architecture problems

@Shazron posted the fix on the Apache JIRA – he notes that the fix will be released as part of Cordova 3.5: Select your Project icon Choose Build Settings. For “Architectures”, select $ARCHS_STANDARD – Standard architectures (armv7, armv7s, arm64) For “Valid Architectures”, add “arm64” Select your CordovaLib.xcodeproj icon In the Build Settings for the Project … Read more

Xcode 5.1 – No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386)

What you need to do is just set the ONLY_ACTIVE_ARCH to NO (at least works for me). Below is a screenshot for it: EDIT: As far as I know (please point it out if there’s something wrong, thanks), if you set ONLY_ACTIVE_ARCH to YES, it means the Xcode will only build for the active architecture … Read more

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