I’ve just updated my script that adds a missing feature to Xcode – making your libraries automatically work on Simulator and on Devices, with no manual intervention:
…and I’ve also put the script itself into GitHub as a gist you can easily copy/paste: