<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

  <title><![CDATA[Line In]]></title>
  <link href="http://line-in.co.uk/atom.xml" rel="self"/>
  <link href="http://line-in.co.uk/"/>
  <updated>2012-11-09T14:17:53+00:00</updated>
  <id>http://line-in.co.uk/</id>
  <author>
    <name><![CDATA[Simon Fairbairn]]></name>
    
  </author>
  <generator uri="http://octopress.org/">Octopress</generator>

  
  <entry>
    <title type="html"><![CDATA[Access Your Kindle Highlights]]></title>
    
    <link href="http://shawnblanc.net/2012/11/kindle-highlights/"/>

    
    <updated>2012-11-09T13:59:00+00:00</updated>
    <id>http://line-in.co.uk/access-your-kindle-highlights</id>
    <content type="html"><![CDATA[<blockquote>
  <p>If you plug your Kindle into your computer it will go into USB mode. From there you can view the files on your Kindle from the Mac’s Finder. Navigate to /Documents/My Clippings.txt and guess what? It’s a text file with all your highlights.</p>
</blockquote>

<p>Fabulous. Just tried it on my Kindle 3 and they’re all there.</p>

<p>Previously, I was copying the books and the .mbp files to the Kindle Mac App documents folder, but irritaitingly the desktop app doesn’t allow you to copy passages either. </p>

<p>There was a hacky workaround using the search functionality, but this is so much better if you’re as prolific a highlighter as I am.</p>

<p>Thanks to <a href="http://shawnblanc.net/2012/11/kindle-highlights/">Shawn Blanc</a> for helping to preserve my sanity.</p>


    <a href="/access-your-kindle-highlights/">∆</a>]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Line In Typography 0.3]]></title>
    
    <link href="http://line-in.co.uk/line-in-typography-0-dot-3/"/>

    
    <updated>2012-10-22T07:51:00+01:00</updated>
    <id>http://line-in.co.uk/line-in-typography-0-dot-3</id>
    <content type="html"><![CDATA[<p>In a fit of productive madness over the weekend, I updated my <a href="https://github.com/SimonFairbairn/Line-In-Typography">Line In Typography jQuery plugin</a>. </p>

<p>The old version was messy, incomplete and tried to do to much. This version is now just messy and incomplete.</p>

<!--more-->

<p><a href="https://github.com/SimonFairbairn/Line-In-Typography">Line In Typography</a> is a jQuery plugin to help you improve your typesetting and win fame and glory across the internet. It’s designed for developers or designers who like to design in the browser. To get an idea of what it’s about, it’s probably just easier <a href="http://line-in.co.uk/line-in-typography">if you just check it out for yourself</a>.</p>

<p>Since it’s previous incarnation, I’ve stripped out all of the bits that weren’t about vertical rhythm and landed on a very simple and easy to use baseline grid that can be edited and moved around easily.</p>

<h3 id="moving-things-around">Moving Things Around</h3>

<p>Previously, I had buttons where I could hide the images in an attempt to have them not get in the way of lining up the type to a grid. </p>

<p>This way, madness lies.</p>

<p>I would find myself staying up late, candles burning on top of skulls on my desk, trying to get every last <code>input</code> element and <code>pre</code> tag to sit perfectly on the line, even though I was completely aware that browser rendering of type is massively variable.</p>

<p>Don’t even get me started on borders.</p>

<p>Typography on the web is still a little broken<sup id="fnref:sizing"><a href="#fn:sizing" rel="footnote">1</a></sup> and trying to get a website to conform to a baseline grid is crazy talk. </p>

<p>It should be the other way around. Grids should be guidelines, solid enough to enable some solid good design decisions but flexible enough to accommodate the nature of the web, in all of its rich media glory.</p>

<p>Enter, version 0.3. In order to stop enabling this madness, I revamped the plugin so I can be more focused on getting the grid to fit the website. </p>

<h3 id="i-think-merlin-calls-these-effs-and-bees">I Think Merlin Calls These Effs and Bees</h3>

<ul>
  <li><strong>Moveable grid</strong>: your images shouldn’t have to fit to the baseline grid because they’re not type. However, they will throw the lines following the image off the baseline. Being able to move the grid allows you to get things back on track, as if the image never happened.</li>
  <li><strong>Adjustable</strong>: The plugin will automatically calculate the line height from your base element, but you can easily override this. Makes it easier for developing responsive designs that change font-sizes over breakpoints.</li>
  <li><strong>Easy</strong>: Attach it to your <code>body</code> or <code>#wrap</code> tag and you’re done. No settings, no configuration. One line to install and, when you’re heading to production, one line to delete.</li>
  <li><strong>Pink</strong>: Because design matters. </li>
</ul>

<p>Check out the <a href="http://line-in.co.uk/line-in-typography">demo page</a> to see how it works and, if it’s something you might like to try, go get it <a href="https://github.com/SimonFairbairn/Line-In-Typography">from GitHub</a>.</p>

<div class="footnotes">
  <ol>
    <li id="fn:sizing">
      <p>Although it is improving—<code>box-sizing</code> has been a bit of a boon.<a href="#fnref:sizing" rel="reference">&#8617;</a></p>
    </li>
  </ol>
</div>

    ]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Fixing the Large Other Category in iTunes, Redux]]></title>
    
    <link href="http://line-in.co.uk/fixing-the-large-other-category-in-itunes-redux/"/>

    
    <updated>2012-10-11T20:43:00+01:00</updated>
    <id>http://line-in.co.uk/fixing-the-large-other-category-in-itunes-redux</id>
    <content type="html"><![CDATA[<p>I recently wrote about <a href="http://line-in.co.uk/fixing-large-other-category-in-itunes/">fixing a large ‘Other’ category in iTunes</a> but in the last week I’ve seen it rise from the dead (not in a scary, blood-sucking vampire way, more in a kind of annoying, zombie hamster way) and get up to 5.2Gb in size again.</p>

<p>Not one to let any sort of electronic device defeat me, I donned a fedora and started doing me some investigatin’. </p>

<!--more-->

<p>First, I unchecked <code>Sync iTunes U</code> and deleted all related files, but the yellow bar remained, mocking me with its yellowness.</p>

<p>Next, I unchecked <code>Sync Music</code> and <code>Sync Podcasts</code>. </p>

<p>Nothing (although I’m sure I heard a tiny, high pitched, slightly electronic snigger).</p>

<p>Finally, I used Phone View to snoop around the iPod Touch’s innards and found something veeeery interestin’—the `iTunes_Control/iTunes/Artwork folder was still full of jpegs, even though the music had been deleted.</p>

<p>“That’s odd,” I said to no one in particular.</p>

<p><em>Aside: In my first post, I mentioned using a demo of <a href="http://www.macroplant.com/iexplorer/">iExplorer</a>. Turns out I already had a purchased version of <a href="http://www.ecamm.com/mac/phoneview/">Phone View</a> that I got with a Bundle Hunt I bought a while back.</em></p>

<p><em>Yep. That bright<sup id="fnref:bright"><a href="#fn:bright" rel="footnote">1</a></sup>.</em></p>

<p>I decided that the worst thing that would happen if I deleted the folder was that my device would become irreparably corrupted and totally unusable, which was fine because I’m going to buy an iPhone 5 anyway.</p>

<p>“Mock me would you, yellow bar?” I cried as I deleted the subfolders.</p>

<p>The Other category, howling in defeat, dropped right down to an acceptable 1 gig in size. </p>

<h3 id="its-all-in-the-steps">It’s All In The Steps</h3>

<p>Usual disclaimers apply: the fedora is optional, do this at your own risk, your mileage may vary, and it’s not my fault if your iPod bursts in to flames<sup id="fnref:hand"><a href="#fn:hand" rel="footnote">2</a></sup>.</p>

<ol>
  <li>Open iTunes and connect your device</li>
  <li>Uncheck <code>Sync Music</code> and <code>Sync Podcasts</code></li>
  <li>Sync the device to delete all of the music content</li>
  <li>Open up <a href="http://www.ecamm.com/mac/phoneview/">Phone View</a> or <a href="http://www.macroplant.com/iexplorer/">iExplorer</a> and browse to the <code>iTunes_content/XXX</code> folder</li>
  <li>Open the <code>Artwork</code> folder and delete all of the subfolders</li>
  <li>Check the <code>Sync Music</code> and <code>Sync Podcasts</code> options and sync your device</li>
</ol>

<div class="footnotes">
  <ol>
    <li id="fn:bright">
      <p>And I should probably clean out my Applications folder more.<a href="#fnref:bright" rel="reference">&#8617;</a></p>
    </li>
    <li id="fn:hand">
      <p>Always work with your iPod on a hard, fire-resistant surface and point it away from your eyes.<a href="#fnref:hand" rel="reference">&#8617;</a></p>
    </li>
  </ol>
</div>

    ]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Fixing the Large Other Category in iTunes]]></title>
    
    <link href="http://line-in.co.uk/fixing-large-other-category-in-itunes/"/>

    
    <updated>2012-10-01T13:01:00+01:00</updated>
    <id>http://line-in.co.uk/fixing-large-other-category-in-itunes</id>
    <content type="html"><![CDATA[<p>I’d noticed that my 4th Gen iPod Touch was showing about 6 gigs in the Other category when connected to iTunes. “This isn’t right,” I thought.</p>

<p>The internet agreed.</p>

<!--more-->

<p>I downloaded the <a href="http://www.macroplant.com/iexplorer/">iExplorer</a> app (it’s a paid app, but for my usage the demo seemed to work just fine) and went to work finding out where the space was being sucked up. A little annoyingly, you have to expand each of the folders to get the app to calculate the total size of the files in that folder.</p>

<p>After much clicking on folders, I found there was a <code>Recordings</code> folder on my iPod that was almost 3 GBs in size. </p>

<p>“That’s odd,” I thought. “I have no voice recordings on my iPod.”</p>

<p>The internet declined to comment.</p>

<p>Despite not having the internet’s support, removing this folder halved the Other category immediately.</p>

<h3 id="warnings-and-caveats">Warnings and Caveats</h3>

<p>I think the best idea is just to delete the entire <code>Recordings</code> folder and have iTunes recreate it. There are some other database files in there and iOS/iTunes might get confused if you just start trying to delete individual files within the folder.</p>

<p>If you think that your Recordings folder is too large, but you do have Voice Memos that you want to keep, sync them to iTunes first and then make sure they’re safely copied accross. It’s the right thing to do.</p>

<p>Also, what you do to your iPod/iPhone is on your head. This worked fine for me, but when messing around with the internals there’s always a risk that your iOS device might crash/brick/explode<sup id="fnref:explode"><a href="#fn:explode" rel="footnote">1</a></sup>.</p>

<h3 id="and-the-steps">And The Steps</h3>

<ol>
  <li>Sync the iPod/iPhone, create backup, and make sure all voice memos are in iTunes</li>
  <li>Disable Voice Memo syncing (<code>iPod Touch</code> -&gt; <code>Music</code> -&gt; uncheck <code>Sync Voice Memos</code>)</li>
  <li>Open up iExplorer and copy Recordings folder to desktop (just in case something goes wrong and you need to restore)</li>
  <li>Delete entire Recordings folder using iExplorer (iTunes will recreate it on sync)</li>
  <li>Sync iPod with iTunes again and watch the Other category magically drop in size</li>
</ol>

<p>I’m still not convinced that I’ve got all of the junk off the iPod—my Other category is still around 3GB—but I’m happy to have removed a large chunk of it.</p>

<div class="footnotes">
  <ol>
    <li id="fn:explode">
      <p>It probably won’t explode. <a href="#fnref:explode" rel="reference">&#8617;</a></p>
    </li>
  </ol>
</div>

    ]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[What App.net Wants]]></title>
    
    <link href="http://line-in.co.uk/what-app-dot-net-wants/"/>

    
    <updated>2012-09-15T11:13:00+01:00</updated>
    <id>http://line-in.co.uk/what-app-dot-net-wants</id>
    <content type="html"><![CDATA[<p>Reading <em><a href="http://www.amazon.com/gp/product/B0043EV51W/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B0043EV51W&amp;linkCode=as2&amp;tag=nevendvoy-20">What Technology Wants</a></em> and was struck round the head by this:</p>

<!--more-->

<blockquote>
  <p>“The haves (the early adopters) overpay for crummy early editions of technology that barely work…isn’t that how it should be, that the rich fund the development of cheap technology for the poor?”</p>
</blockquote>

<p>After reading some of the criticisms of <a href="http://join.app.net">App.net</a> (including the idea that it’s some sort of white flight), I find Kelly’s argument compelling. Who knows if the developing world will only have to pay $1/month for App.net in future, but we should be cheering the early adopters who venture out and are willing to try new things that may or may not work for everyone.</p>

<p>We are at the point where we are no longer arguing over whether the poorer members of society should get access to the Internet: that debate has been and gone, just like cell phones. In both those cases, ubiquity is now inevitable but only because the early adopters—with their $2,000 suitcase phones and their expensive computer terminals—drove down prices and paved the way for everyone.</p>


    ]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[The End of Illustration 156?]]></title>
    
    <link href="http://line-in.co.uk/the-end-of-illustration-156/"/>

    
    <updated>2012-09-01T16:07:00+01:00</updated>
    <id>http://line-in.co.uk/the-end-of-illustration-156</id>
    <content type="html"><![CDATA[<p>Today is the last day of my Illustration 156 project. My plan was to create 156 new illustrations (3 a week) over the course of a year. </p>

<p>The goal was audacious and sexy and achieving it would have been a triumph.</p>

<p>Naturally, I failed explosively, managing a lowly 31.</p>

<!--more-->

<p>But this really isn’t a failure at all. Instead, it’s 31 illustrations that I would not have done otherwise.</p>

<p>Throughout the year, I’ve gained a deeper understanding of the strengths and weaknesses of both Illustrator and Photoshop (and, recently, the <a href="http://line-in.co.uk/illustration-30-ipickard/">iPad</a>) and I’ve used the opportunity to experiment with a variety of styles and techniques.</p>

<p>More importantly I’ve <a href="http://line-in.co.uk/illustration-29-bug-boy/">created</a> <a href="http://line-in.co.uk/illustration-23-grogmonkey/">work</a> that I’m <a href="http://line-in.co.uk/illustration-19-i-heart-mooses/">actually</a> <a href="http://line-in.co.uk/illustration-17-robots-vs-tentacles-2/">pretty</a> <a href="http://line-in.co.uk/illustration-14-steam-powered-servers/">proud</a> <a href="http://line-in.co.uk/illustration-2-ultimate-train-challenge/">of</a>, some of which has found its way into my <a href="http://line-in.co.uk/portfolio">portfolio</a>.</p>

<p>I’m still not happy with my ability. I think my work lacks soul—it’s not really <em>saying</em> anything—but I am beginning to trust the process. I am no longer the awkward teenager in Illustrator, leaning against the wall, nodding his head to the music just a little bit too furiously.</p>

<p>I can open my sketchbook and not hurry past the filled pages, averting my eyes like they were dirty bearded men with trollies full of bottles, desperately looking for the safety of a clean page.</p>

<p>These days, the sketches are more like a street of burned out buildings and rusted cars—interesting in their ugliness, and at moments sometimes even verging on beautiful.</p>

<p>So I’m going to extend this project it by another year and get to the 156 because I it’s been good for me. </p>

<p>The goal is just a number; the deadline is just a date—it’s the journey that’s the thing.</p>


    ]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[App Icon Template]]></title>
    
    <link href="http://appicontemplate.com/"/>

    
    <updated>2012-08-30T12:21:00+01:00</updated>
    <id>http://line-in.co.uk/app-icon-template</id>
    <content type="html"><![CDATA[<blockquote>
  <p>This is an App Icon Template that, through Smart Objects in Photoshop, attempts to automate the process of rendering the various sizes that needs to be bundled with iOS Apps. The idea is to edit the largest size and have the smaller sizes automatically rendered enabling a much quicker workflow when designing icons. You’ll also find a selection of ready-made textures that you can build on and easy export actions that spit out the exact files you need to deliver to Apple.</p>
</blockquote>

<p>I use this to quickly mock up and export icons so I’ve got something during testing that isn’t just the default white box.</p>

<p>However, when it comes to submission, you’ll want to ditch the smart objects and edit everything by hand to make sure it’s all looking crisp.</p>

    <a href="/app-icon-template/">∆</a>]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Illustration 31: Anniversary]]></title>
    
    <link href="http://line-in.co.uk/illustration-31-anniversary/"/>

    
    <updated>2012-07-26T16:07:00+01:00</updated>
    <id>http://line-in.co.uk/illustration-31-anniversary</id>
    <content type="html"><![CDATA[<p class='featuredImage'><a href="/illustration-31-anniversary/"><img src="http://line-in.co.uk/images/2012/07/boat-colour.jpg" alt='Illustration 31: Anniversary' title='Illustration 31: Anniversary' /></a></p><p>It was recently our 13th anniversary and so I created this card for Erin. The idea is a play on our <a href="http://www.neverendingvoyage.com/erin-mcneaney/">travel website header</a>.</p>

<p>We spent the weekend in London eating at amazing vegetarian restaurants and visiting friends down South. As a thank you for her tireless dedication to making our lives great, I was in charge of organising everything. </p>

<p>Despite me taking us to the first restaurant only to find that it was closed on Saturday lunchtimes, the general consensus was that I did a pretty decent job.</p>

    ]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Illustration 30: iPickard]]></title>
    
    <link href="http://line-in.co.uk/illustration-30-ipickard/"/>

    
    <updated>2012-07-19T17:07:00+01:00</updated>
    <id>http://line-in.co.uk/illustration-30-ipickard</id>
    <content type="html"><![CDATA[<p class='featuredImage'><a href="/illustration-30-ipickard/"><img src="http://line-in.co.uk/images/2012/07/20120718-213701.jpg" alt='Illustration 30: iPickard' title='Illustration 30: iPickard' /></a></p><p>Playing around with Autodesk Sketchbook on the iPad and realized he looked a little like the Starfleet captain. </p>

<p>This was my first proper go with a stylus and iPad. I then wrote and uploaded this post on my iPod.</p>

<p>Amazing.</p>

    ]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Illustration 29: Bug Boy]]></title>
    
    <link href="http://line-in.co.uk/illustration-29-bug-boy/"/>

    
    <updated>2012-07-12T16:07:00+01:00</updated>
    <id>http://line-in.co.uk/illustration-29-bug-boy</id>
    <content type="html"><![CDATA[<p class='featuredImage'><a href="/illustration-29-bug-boy/"><img src="http://line-in.co.uk/images/2012/07/bug-boy.png" alt='Illustration 29: Bug Boy' title='Illustration 29: Bug Boy' /></a></p><p>Playing with light and shadow and Photoshop.</p>

    ]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Handling Provisioning in Xcode 4.3]]></title>
    
    <link href="http://line-in.co.uk/handling-provisioning-xcode-4-3/"/>

    
    <updated>2012-06-26T13:06:00+01:00</updated>
    <id>http://line-in.co.uk/handling-provisioning-xcode-4-3</id>
    <content type="html"><![CDATA[<p>Provisioning your device is an important part of the development process. Unfortunately, it can also get a little messy (although Apple has taken steps to clean it up a bit). </p>

<p>There are basically 3 parts:</p>

<!--more-->

<ol>
<li>Adding your certificate</li>
<li>Adding App IDs</li>
<li>Generating your provisioning profile</li>
</ol>

<h3 id="setting-up-your-certificates">Setting up Your Certificates</h3>

<p>This one is relatively straightforward—Xcode will go get it for you.</p>

<p>First, you have to enrol in the <a href="https://developer.apple.com/programs/ios/">iOS Developer Program</a>. Once you’ve paid up and been sent your emails, you can get a certificate direct in Xcode:</p>

<ol>
<li>Open up Xcode if it isn&#8217;t already open</li>
<li>Go to the `Organiser` and click `Library`</li>
<li>Click on Provisioning Profiles and then, in the bottom right, click `Refresh`</li>
<li>Enter your Apple ID and password</li>
<li>Xcode will then see that you haven&#8217;t got your certificate and ask you if you want to create one. Hit `Submit Request`.</li>
</ol>

<h3 id="your-app-ids">Your App IDs</h3>

<p>You can have as many app IDs as you want but be aware that you <strong>cannot delete them once created</strong>, so if, say you make a spelling mistake when you’re creating one then you can’t edit the name or delete it afterwards.</p>

<ol>
<li>Log in to the <a href="https://developer.apple.com">Apple Developer portal</a></li>
<li>Go to the Member Center</li>
<li>Click on &#8216;iOS Provisioning Portal&#8217;</li>
<li>Click on App IDs</li>
<li>Click on New App ID</li>
<li>Give it a name. This name is for your reference.</li>
<li>Give it a bundle identifier. The common syntax is to use reverse domain name (e.g. `com.yourdomain.my-fancy-app`)</li>
</ol>

<p>Once created, it cannot be deleted. You can create a new one, but <strong>not</strong> with the same bundle identifier.</p>

<p>When it’s created, you’ll see a long list of additional configuration options. If you click <code>Configure</code>, you can add support for iCloud and Push Notifications, should you need them.</p>

<p>Please note you will need to set this up even if you just want to test iCloud (which can only be tested on provisioned devices).</p>

<h3 id="provisioning">Provisioning</h3>

<p>Now comes the slightly more complicated part: Provisioning</p>

<p>First, you need to decide what you want to do.</p>

<p><strong><em>Just Test It on Your Own Device</em></strong></p>

<ol>
<li>Under `provisioning -&gt; development` click `New Profile`</li>
<li>Give the profile a name </li>
<li>Select the certificate you want to use (there might just be one)</li>
<li>Select the App ID you created above (and now you can see why it&#8217;s important to give them all unique names)</li>
<li>Select the devices that you want to run it on (there might just be one)</li>
</ol>

<p>You should note that this is <strong>not</strong> an Ad-Hoc profile. Even if you select more than one device, you can only test your app on that device if it is connected to Xcode and has been set up for development. </p>

<p><strong><em>Send it Out For Testing</em></strong></p>

<ol>
<li>Under `provisioning`, click the `Distribution` tab</li>
<li>Select `New Profile`</li>
<li>Select `Ad Hoc` as the distribution method</li>
<li>Select the App ID you created for your app</li>
<li>Select the devices you want to run it on</li>
</ol>

<p><strong><em>Preparing it for the App Store</em></strong></p>

<ol>
<li>Under `provisioning`, click the `Distribution` tab</li>
<li>Select `New Profile`</li>
<li>Select `App Store` as the distribution method</li>
<li>Select the App ID you created for your app</li>
</ol>

<h3 id="getting-your-app-on-devices">Getting Your App On Devices</h3>

<p>Now you’ve created all of your profiles, you can access them directly via Xcode. You can actually also create profiles via Xcode, instead of using the developer portal.</p>

<ol>
<li>Open up Xcode if it isn&#8217;t already open</li>
<li>Go to the `Organiser` and click `Library`</li>
<li>Click on Provisioning Profiles and then, in the bottom right, click `Refresh`</li>
<li>Sign in to the Apple Developer Center using your developer credentials</li>
</ol>

<p>Xcode will download a list of all of your current provisioning profiles, which you can drag directly into devices that are connected or, if you’re using Ad Hoc distribution, you can export them to be sent along with the app.</p>

<h3 id="signing-your-app">Signing Your App</h3>

<p>Before you’re ready to distribute, you need to check that the correct profile is being used in your Build Settings. </p>

<p>Select your app target, then click <code>Build Settings</code> and make sure that, under <code>Code Signing Identity</code>, it has your developer certificate (and not <code>Don't Code Sign</code>). </p>

<p>For iCloud and Push Notifications, you’ll also need to make sure that it is referencing the correct Provisioning Profile. Click the double arrow next to <code>Code Signing Identity</code> and select the correct identity for your current app.</p>

<h3 id="application-failed-codesign-verification">Application Failed Codesign Verification</h3>

<p>If you get this error while building for Release (building for Debug won’t cause this error):</p>

<p><code>Application failed codesign verification.  The signature was invalid, contains disallowed entitlements, or it was not signed with an iPhone Distribution Certificate. (-19011)</code></p>

<p>It’s likely that:</p>

<ol>
<li>You&#8217;ve not signed your app (see signing your code, above); or</li>
<li>You&#8217;ve only added a Development Provisioning Profile. You need to create a separate provisioning profile for distribution (see &#8220;Preparing it for the app store&#8221;, above), download it and use this as your code signing profile</li>
</ol>

<p>Also note that Xcode generates your <code>Bundle identifier</code> automatically and I believe (but I may be wrong here) that, if the generated identifier is different to the Provisioning Profile identifier <em>in any way</em> (including capitalisation), you might need to enter it manually. To do this:</p>

<ol>
<li>Select your target</li>
<li>Under `iOS Application Target`, make sure that this is the same as your Profile identifier. </li>
<li>If you need to, you can go to the `info` tab and change the `Bundle identifier` property under `Custom iOS Target Properties` in the Plist directly. Make it match your Profile identifier.</li>
</ol>

<p>When you’re first starting out, this can all seem like a bit overwhelming but if you go through things one step at a time, starting with the Certificate, then you’ll be fine.</p>


    ]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Selling the iOS 6 Beta]]></title>
    
    <link href="http://line-in.co.uk/selling-ios-6-beta/"/>

    
    <updated>2012-06-22T21:06:00+01:00</updated>
    <id>http://line-in.co.uk/selling-ios-6-beta</id>
    <content type="html"><![CDATA[<p><a href="http://www.cocoanetics.com/2012/06/forbidden-fruits/">Cocoanetics on the new iOS 6 Beta and it getting into the hands of non-developers</a>:</p>

<blockquote>
  <p>The Apple Bug Reporter site is open for everybody with an Apple ID, but most of these “illegal” users will probably never be filing any Radars. The only thing these people ever do is complain about all that is wrong with iOS 6 but never actually help in ironing out the kinks.</p>
</blockquote>

<p>That’s the point of the beta: to fix bugs. Getting early access is not about a secret Developer club having access to all the shiny new whizz-bang features before everyone else, it’s about those developers—people who have to work with this software for a living—helping Apple get it right not just for them, but for every user.</p>

    ]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Illustration 28: Horse]]></title>
    
    <link href="http://line-in.co.uk/illustration-28-horse/"/>

    
    <updated>2012-06-21T16:06:00+01:00</updated>
    <id>http://line-in.co.uk/illustration-28-horse</id>
    <content type="html"><![CDATA[<p class='featuredImage'><a href="/illustration-28-horse/"><img src="http://line-in.co.uk/images/2012/06/horse.png" alt='Illustration 28: Horse' title='Illustration 28: Horse' /></a></p><p>We went horse riding yesterday and I managed to canter without feeling like I was about to fall off, which was a new and not unpleasurable sensation.</p>

<p>Both my back and my butt are hurtin’ today, though. </p>

    ]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Illustration 27: Fortress Door]]></title>
    
    <link href="http://line-in.co.uk/illustration-27-fortress-door/"/>

    
    <updated>2012-06-20T16:06:00+01:00</updated>
    <id>http://line-in.co.uk/illustration-27-fortress-door</id>
    <content type="html"><![CDATA[<p class='featuredImage'><a href="/illustration-27-fortress-door/"><img src="http://line-in.co.uk/images/2012/06/fortress-door.png" alt='Illustration 27: Fortress Door' title='Illustration 27: Fortress Door' /></a></p><p>Yesterday we went to visit the fortress up at Montecarlo, the village near where we are currently staying in Tuscany.</p>

<p>There are a lot of big, medieval-style doors both in the fort itself and throughout the surrounding village.</p>


    ]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[MultiMarkdown and Scrivener]]></title>
    
    <link href="http://line-in.co.uk/multimarkdown-and-scrivener/"/>

    
    <updated>2012-06-19T16:06:00+01:00</updated>
    <id>http://line-in.co.uk/multimarkdown-and-scrivener</id>
    <content type="html"><![CDATA[<p>I’ve just found that <a href="www.literatureandlatte.com/scrivener.html" title="The Scrivener homepage">Scrivener</a> has <a href="https://github.com/fletcher/MultiMarkdown/" title="MultiMarkdown">MultiMarkdown</a> support built in. Up until now, my workflow had consisted of writing in Markdown in Scrivener, selecting it and using a Service to convert the Markdown, then copying and pasting it elsewhere, fixing stuff as I go. </p>

<!--more-->

<p>Turns out Scrivener has an Compile to MultiMarkdown option built right in.[^rtfm]</p>

<p>Just hit <code>compile</code> and select the <code>MultiMarkdown -&gt; HTML</code> option in the <code>Compile for...</code> dropdown and you’re good to go. It’ll even straighten your quotes for you.</p>

<p>I keep discovering more and more great things about this app. I look forward to the <a href="http://www.literatureandlatte.com/blog/?p=290">iOS version</a> and I’m pleased to see they’re working toward project syncing.</p>


    ]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Illustration 26: Lantern]]></title>
    
    <link href="http://line-in.co.uk/illustration-26-lantern/"/>

    
    <updated>2012-06-17T18:06:00+01:00</updated>
    <id>http://line-in.co.uk/illustration-26-lantern</id>
    <content type="html"><![CDATA[<p class='featuredImage'><a href="/illustration-26-lantern/"><img src="http://line-in.co.uk/images/2012/06/lantern.jpg" alt='Illustration 26: Lantern' title='Illustration 26: Lantern' /></a></p><p>Last night we visited Pisa where they were having a <a href="http://www.facebook.com/photo.php?fbid=10150960775684788&amp;set=a.10150152728469788.298442.296469999787&amp;type=1" title="Photo from the festival">light festival</a>. They had hundreds of lanterns, both electric and candle, in these neat little holders all over the walls and floors.</p>


    ]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Illustration 25: Voyage Travel Apps Logo]]></title>
    
    <link href="http://line-in.co.uk/illustration-25-voyage-travel-apps-logo/"/>

    
    <updated>2012-05-17T16:05:00+01:00</updated>
    <id>http://line-in.co.uk/illustration-25-voyage-travel-apps-logo</id>
    <content type="html"><![CDATA[<p class='featuredImage'><a href="/illustration-25-voyage-travel-apps-logo/"><img src="http://line-in.co.uk/images/2012/05/vta-logo.png" alt='Illustration 25: Voyage Travel Apps Logo' title='Illustration 25: Voyage Travel Apps Logo' /></a></p><p>The site logo/header for our new iOS app website, <a href="http://voyagetravelapps.com">Voyage Travel Apps</a>.</p>

<p>We’ve already released our <a href="http://voyagetravelapps.com/hotel-checklist">first app</a> and we’re hard at work on our second which we hope to have ready in a month or two.</p>

    ]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Illustrator iOS Template (including iPad 3)]]></title>
    
    <link href="http://line-in.co.uk/illustrator-ios-template-including-ipad-3/"/>

    
    <updated>2012-05-15T16:05:00+01:00</updated>
    <id>http://line-in.co.uk/illustrator-ios-template-including-ipad-3</id>
    <content type="html"><![CDATA[<p class='featuredImage'><a href="/illustrator-ios-template-including-ipad-3/"><img src="http://line-in.co.uk/images/2012/05/free-ios-illustrator-template.png" alt='Illustrator iOS Template (including iPad 3)' title='Illustrator iOS Template (including iPad 3)' /></a></p><p>Download my <a href="http://line-in.co.uk/images/2012/05/iOS-Icons.zip" title="Free Illustrator iOS template">free Illustrator iOS template</a>.</p>

<p>Since moving into <a href="http://voyagetravelapps.com/">iOS development</a>, I try to do as much of my artwork in vector so that it’s easy to scale, usually moving in to Photoshop to add effects and pretty it up.</p>

<!--more-->

<p>To speed up my workflow and to remind me not to forget any of the numerous icons you’re supposed to provide for apps, I’ve created an Illustrator template to help get me started, which works in conjunction with a Photoshop template that I’m still developing (but, thanks to Jon Hicks, now has very precise Vector masks with the correct <a href="http://hicksdesign.co.uk/journal/ios-icon-corner-radii">corner radii</a>).</p>

<h3 id="using-the-illustrator-ios-template">Using the Illustrator iOS Template</h3>

<p>All of the artboards in this illustrator iOS template have been sized and named according to Apple’s interface guidelines should you decide to go direct from Illustrator to Xcode (although Bjango’s Marc Edwards <a href="http://bjango.com/articles/illustratorandappdesign/">doesn’t recommend it</a>).</p>

<p>However, by default, Illustrator exports the files as “documentName_artboardName.png”, which would usually mean having to tediously remove the “documentName_” bit from each of the exported files but, thankfully, <a href="http://www.ericson.net/">Matthew Ericson</a> has created a <a href="http://www.ericson.net/content/2011/06/export-illustrator-layers-andor-artboards-as-pngs-and-pdfs/">super useful script</a> that solves this particular problem.</p>

<p>This script overrides the naming default and allows you to save everything out using just the artboard name, which means everything comes out ready to drop in to Xcode.</p>

<p>I would also recommend switching on Pixel Preview (<code>Cmd + Alt + y</code> on Mac) so that you can line up your vector shapes to the nearest pixel. This will make it easier to get pixel perfect pasting when moving between Illustrator and Photoshop.</p>

<p>See this <a href="http://bjango.com/articles/pixelpasting/" title="Bjango on Pixel Perfect Pasting">excellent article, again by Marc Edwards of Bjango</a> for more about this.</p>

<h3 id="license">License</h3>

<p>I’m releasing this illustrator iOS template as Freeware, so feel free to download it and use it however you like. You can use it for any of your projects without restriction and you don’t have to give me credit (though it’s always appreciated).</p>

    ]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Missed Business Opportunities]]></title>
    
    <link href="http://line-in.co.uk/missed-business-opportunities/"/>

    
    <updated>2012-04-24T16:04:00+01:00</updated>
    <id>http://line-in.co.uk/missed-business-opportunities</id>
    <content type="html"><![CDATA[<p class='featuredImage'><a href="/missed-business-opportunities/"><img src="http://line-in.co.uk/images/2012/04/sunset_koh_jum.jpg" alt='Missed Business Opportunities' title='Missed Business Opportunities' /></a></p><p>While motorbiking around the island of Koh Jum (pictured, featuring one of the stunning sunsets we witnessed), we visited a cafe that was part of a larger resort. The cafe was overlooking the pool, which was entirely empty as it is currently coming in to the low season in Thailand. We had our swimming stuff with us as we had planned to hit the beach but the pool was becoming more enticing. </p>

<p>Some hotels have a policy of charging outside guests for use of their pool and we were more than willing to pay for access.</p>

<p>After ordering a large lunch at their restaurant, we inquired whether we could use the pool. </p>

<!--more-->

<p>“No,” came the gruff reply. </p>

<h3 id="please-let-me-give-you-money">Please Let Me Give You Money</h3>

<p>It reminded me of another situation that I recently had with my hosting provider. We had a fixed bandwidth allowance which had been more than adequate up until that point. That was until one of our posts on <a href="http://www.neverendingvoyage.com">Never Ending Voyage</a> was shared on Stumble Upon. The resulting traffic crushed our server and our users ended up facing Bandwidth Exceeded notices.</p>

<p>I had read their hosting terms and conditions and was under the mistaken impression that they would simply charge us extra for the overage but apparently it didn’t apply to their shared hosting packages.</p>

<p>A few frantic emails later and we had upgraded our plan with the promise that we just had to email them again if we needed to increase the limit in future. This was an improvement to the situation, but still less than ideal. I can’t think of a good technical reason why, since theyre already tracking usage, they couldn’t have a script that works out how much I went over at the end of the month then bills me for the difference:</p>

<div class="bogus-wrapper"><notextile><figure class="code"> <div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class="line-number">1</span>
<span class="line-number">2</span>
<span class="line-number">3</span>
</pre></td><td class="code"><pre><code class="objectivec"><span class="line"><span class="kt">float</span> <span class="n">charge</span> <span class="o">=</span> <span class="p">(</span> <span class="n">totalBandwidthUsed</span> <span class="o">-</span> <span class="n">monthlyAllowance</span> <span class="p">)</span> <span class="o">*</span> <span class="n">overageFee</span><span class="p">;</span>
</span><span class="line">
</span><span class="line"><span class="k">if</span> <span class="p">(</span> <span class="n">charge</span> <span class="o">&gt;</span> <span class="mi">0</span> <span class="p">)</span> <span class="n">calculateAndSendBill</span><span class="p">(</span> <span class="n">charge</span> <span class="p">);</span>
</span></code></pre></td></tr></table></div></figure></notextile></div>

<h3 id="missed-business-opportunities">Missed Business Opportunities</h3>

<p>In both these situations, I was a customer that would have been happier if I had been given the opportunity to give these providers money. Surely the ultimate win/win?</p>

<p>It did make me think: Are their opportunities for not only increased income, but more importantly increased customer satisfaction, that <em>I’m</em> missing because of an inflexible policy?</p>

    ]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Illustration 24: Hotel Checklist App Icon]]></title>
    
    <link href="http://line-in.co.uk/illustration-24-hotel-checklist-app-icon/"/>

    
    <updated>2012-04-19T16:04:00+01:00</updated>
    <id>http://line-in.co.uk/illustration-24-hotel-checklist-app-icon</id>
    <content type="html"><![CDATA[<p class='featuredImage'><a href="/illustration-24-hotel-checklist-app-icon/"><img src="http://line-in.co.uk/images/2012/04/iTunesArtwork.png" alt='Illustration 24: Hotel Checklist App Icon' title='Illustration 24: Hotel Checklist App Icon' /></a></p><p>I recently finished and released my first iPhone app. It’s called <a href="http://itunes.apple.com/hk/app/hotel-checklist/id509915925?mt=8">Hotel Checklist</a> and this is the icon that I designed for it.</p>

<p>It was designed to help backpackers decide between hotels when they land in a new place and are looking for a place to stay. It’s a simple app at the moment but if there’s enough interest, then I’ll add more advanced functionality in future.</p>

<p>Given it’s illustrated nature, I’m including it as part of my <a href="http://line-in.co.uk/category/illustration156/">Illustration 156</a> project.</p>


    ]]></content>
  </entry>
  
</feed>






