Posts

Showing posts from September, 2015

iOS Linking errors - missing required architecture i386

If you have ever faced issues similar to the one below ld: warning: ignoring file ../lib/iPhone/xxxxx.a, missing required architecture i386 in file ../lib/iPhone/xxx.a (3 slices) Undefined symbols for architecture i386:   "_OBJC_CLASS_$xxxxxx", referenced from:       objc-class-ref in ViewController.o   "_OBJC_CLASS_$xxxxxx", referenced from: then most probably your project is set to test in a simulator. Change this to device, Command + B and magic!  Remember, never ignore the warnings and always read it completely. In this case, Xcode ignored linking the xxx.a file in the iPhone directory due to compatibility issues. I spent couple of hours on this one. Arrrrghhhh!

When Rackspace is down

Image
Neat!!!

SSH on Mac keeps asking for the private key password

If you have come here because of a dialog that keeps showing up each time you attempt to ssh on mac with or without a passphrase, maybe this will help you. Issue: I generated a public / private key without a passphrase using the putty key gen on windows. Copied id_rsa.pub and id_rsa.ppk to ~/.ssh directory on my Mac Ran the below command ssh -i id_rsa.ppk xxx@xx.xx.xx.xx I kept getting the dialog asking for the password. After three attempts, it would terminate with a permission denied error. Failed attempts: Attempt 1: Renamed id_rsa.ppk to id_rsa Ran the below commands chmod 600 id_rsa ssh -i id_rsa xxx@xx.xx.xx.xx Attempt 2: Renamed id_rsa.ppk to id_rsa Ran the below commands chmod 600 id_rsa sudo ssh -i id_rsa xxx@xx.xx.xx.xx and more... Successful attempts: Download puttygen.exe Import (Conversions -> Import Key) the private key id_rsa.ppk Click Conversions -> Export OpenSSH Key Save as id_rsa.pem Copy id_rsa.pem to ~/.ssh. You sho...