Monthly Archives: August 2013

Automatically increment build number (CFBundleVersion)

David wrote this nice little helper that automatically increments the build version every time. #!/bin/bash buildNumber=$(/usr/libexec/PlistBuddy -c “Print CFBundleVersion” “$INFOPLIST_FILE”) buildNumber=$(echo $buildNumber | sed ‘s/0*//’) buildNumber=$(($buildNumber + 1)) buildNumber=$(printf “%04d” $buildNumber) /usr/libexec/PlistBuddy -c “Set :CFBundleVersion $buildNumber” “$INFOPLIST_FILE” In Xcode just … Continue reading

Posted in computer | Tagged , , , , , , , | Leave a comment

Android

I just had enough, I need a valve to get it out so here it comes: Android 4.3 during setup: “To improve [..] scan for nearby Wi-Fi networks, even when Wi-Fi is off” The documentation to “dab log cat” is … Continue reading

Posted in computer | Tagged , , , , , , | Leave a comment

cURL and error codes

So brew threw this to me this morning: curl: (56) SSL read: error:00000000:lib(0):func(0):reason(0), errno 54 This error code clearly states #define X509_V_ERR_CRL_PATH_VALIDATION_ERROR 54 Which is actually not interesting but error code #50 is though: /* The application is not happy … Continue reading

Posted in computer | Tagged , , , , , , , , | Leave a comment

ActivityManager | isUserAMonkey()

public static boolean isUserAMonkey Added in API level 8 Returns “true” if the user interface is currently being messed with by a monkey. Update: There are more: public void fyiWillBeAdvancedByHostKThx () Added in API level 11 Called by an AppWidgetHost … Continue reading

Posted in computer | Tagged , , , | Leave a comment