Not sure about the extra temp folder in the Preferences folder, but my guess is that it may have something to do with the codesigning?
Re: that problem, I see two issues right away:
1) In your first codesign command, you have an extra space at the end of your Identity, before the closing quote:
2) In all of your codesign commands, you have an extra leading set of quotes:
It should look like this instead:
Hope this helps!
Jun 16, 2013 at 5:32am #252912