<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Kruger Heavy Industries Devlogerror</title>
    <link>http://www.krugerheavyindustries.com:80/pebble/categories/error/</link>
    <description />
    <language>en</language>
    <copyright>Blog Owner</copyright>
    <pubDate>Fri, 19 Oct 2012 22:02:00 GMT</pubDate>
    <dc:creator>Blog Owner</dc:creator>
    <dc:date>2012-10-19T22:02:00Z</dc:date>
    <dc:language>en</dc:language>
    <dc:rights>Blog Owner</dc:rights>
    <image>
      <title>Kruger Heavy Industries Devlogerror</title>
      <url>http://www.krugerheavyindustries.com:80/pebble/categories/error/</url>
    </image>
    <item>
      <title>Moving iPhone Developer Credentials from one Mac to another</title>
      <link>http://www.krugerheavyindustries.com:80/pebble/2011/10/11/1318326300000.html</link>
      <content:encoded>Update: So apparently in Xcode 4 (at least) there is an official way to do this... outlined &lt;href="http://developer.apple.com/library/ios/documentation/ToolsLanguages/Conceptual/Xcode4UserGuide/Devices/Devices.html#//apple_ref/doc/uid/TP40010215-CH12-SW16"&gt;here&lt;/href&gt;&lt;br /&gt;&lt;br /&gt;I recently reinstalled OSX on my Mac and upgraded to Lion. Of course I forgot to transfer my iPhone developer credentials before I did it. I had to go back to the provisioning portal and setup my new certificate and get a new developer profile. While it wasn't a huge time waste I should have transferred my certificates and profile to save myself some time.&lt;br /&gt;&lt;br /&gt;This is what I should have done. &lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;Open Xcode&lt;/li&gt;&lt;br /&gt;&lt;lil&gt;Window-&gt;Organizer&lt;/li&gt;&lt;br /&gt;&lt;li&gt;DEVELOPMENT -&gt; Provisioning Profiles&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Choose your Provisioning profile, right click and "Reveal in Finder"&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Save the resulting file&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Open Keychain Access&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Export your private and public certificates to files and save them&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Transfer all the file to your new system&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Drag and drop Provisioning Profile into Xcode's Organiser on your new system&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Import the certificates file you exported into Keychain Access on your new system&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;NOTE: There is a very annoying bug in Keychain Access that means you need to re-import your certificates at the command line.  Attempting to you import you certificates using the Keychain Access GUI yields "An error has occurred. Unable to import an item. The contents of this item cannot be retrieved". This is just a blatant bug in Keychain Access you can import the files into Keychain Access at the command line with the following commands. &lt;br /&gt;&lt;br /&gt;&lt;code&gt;security import priv_key.p12 -k ~/Library/Keychains/login.keychain&lt;br /&gt;security import pub_key.pem -k ~/Library/Keychains/login.keychain&lt;br /&gt;&lt;/code&gt;</content:encoded>
      <category domain="http://www.krugerheavyindustries.com:80/pebble/categories/apple. osx/">apple. osx</category>
      <category domain="http://www.krugerheavyindustries.com:80/pebble/categories/transferring/">transferring</category>
      <category domain="http://www.krugerheavyindustries.com:80/pebble/categories/developer profile/">developer profile</category>
      <category domain="http://www.krugerheavyindustries.com:80/pebble/categories/bug/">bug</category>
      <category domain="http://www.krugerheavyindustries.com:80/pebble/categories/new system/">new system</category>
      <category domain="http://www.krugerheavyindustries.com:80/pebble/categories/Xcode organiser/">Xcode organiser</category>
      <category domain="http://www.krugerheavyindustries.com:80/pebble/categories/iphone/">iphone</category>
      <category domain="http://www.krugerheavyindustries.com:80/pebble/categories/Xcode/">Xcode</category>
      <category domain="http://www.krugerheavyindustries.com:80/pebble/categories/certificates/">certificates</category>
      <category domain="http://www.krugerheavyindustries.com:80/pebble/categories/error/">error</category>
      <pubDate>Tue, 11 Oct 2011 09:45:00 GMT</pubDate>
      <guid isPermaLink="false">tag:www.krugerheavyindustries.com,2011-10-11:default/1318326300000</guid>
      <dc:date>2011-10-11T09:45:00Z</dc:date>
    </item>
    <item>
      <title>Xcode: iPhone or iPad application code sign error</title>
      <link>http://www.krugerheavyindustries.com:80/pebble/2011/06/20/1308582000000.html</link>
      <content:encoded>This morning on a re-imaged OSX machine I attempted to compile an ipad application and I was rewarded with the error below.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;codesign error: code signing identity 'iphone developer' does not match any code-signing certificate in your keychain. once added to the keychain, touch a file or clean the project to continue.&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;I was puzzled. I'd already made a developer certificate request to Apple, had it signed and installed it in my Keychain Access, I'd also downloaded and installed the &lt;b&gt;Apple Worldwide Developer Relations Certification Authority&lt;/b&gt; certificate. I'd installed the required development profile that matched my ipad device Unique Identifier, my personal developer certificate and the application I am developing but still, every time I hit build it gave me a code sign error. I didn't get it.&lt;br /&gt;&lt;br /&gt;At some point it a suspicion formed. In my Keychain Access I noticed my certificates where installed in the System keychain. I'm not even sure why they got installed there, I don't think I did it explicitly. &lt;br /&gt;&lt;br /&gt;I moved my certificates to the login keychain which I assume belongs to the logged in user on OSX (i.e. myself). Attempting to re-compile the source code of my ipad project yield a positive result. Moving the certificates to the login keychain seemed to work! So I post my small solution here today in the hope that somebody else might benefit.</content:encoded>
      <category domain="http://www.krugerheavyindustries.com:80/pebble/categories/code sign/">code sign</category>
      <category domain="http://www.krugerheavyindustries.com:80/pebble/categories/iphone/">iphone</category>
      <category domain="http://www.krugerheavyindustries.com:80/pebble/categories/Xcode/">Xcode</category>
      <category domain="http://www.krugerheavyindustries.com:80/pebble/categories/codesign/">codesign</category>
      <category domain="http://www.krugerheavyindustries.com:80/pebble/categories/certificate/">certificate</category>
      <category domain="http://www.krugerheavyindustries.com:80/pebble/categories/ipad/">ipad</category>
      <category domain="http://www.krugerheavyindustries.com:80/pebble/categories/problem/">problem</category>
      <category domain="http://www.krugerheavyindustries.com:80/pebble/categories/error/">error</category>
      <pubDate>Mon, 20 Jun 2011 15:00:00 GMT</pubDate>
      <guid isPermaLink="false">tag:www.krugerheavyindustries.com,2011-06-20:default/1308582000000</guid>
      <dc:date>2011-06-20T15:00:00Z</dc:date>
    </item>
  </channel>
</rss>

