Archive for the ‘sdk’ Category

Code Signing. And me.

Thursday, March 27th, 2008

‘Perry’ wrote (on the RogueAmoeba blog post “Code Signing and You”):

“…the case for Code Signing on a Mac - in the service of its administrator/owner - is very compelling. In a sense, the Mac is living on borrowed time - viruses and worms and other nasty bit-critters will surely come our way, and going to an all-signed environment is one the most potent weapons we have to keep your systems from being overrun. I realize this capability *could* eventually be abused in various ways, and I trust you’ll all keep Apple honest about it. But it can also be a powerful force *for* you.

Oh, and to put that to rest: I do work for Apple, and I designed and implemented Code Signing in Leopard. If you think it’s going to usher in a black wave of OS fascism, you have every right to blame me - it was, pretty much, my idea.”

Like some, I see code-signing as a necessary neutral. It’s neither good nor evil but it could be used for evil purposes (where evil is really just a shade of ‘not good’).

It’s all about trust again. When we first heard of Intel’s Palladium, there was an uproar. When we heard about processor serial numbers on the Intel platform, there was an uproar (despite the fact they had been quietly present for years on PowerPC).

The other commenters on the blog put forward scenarios where corporations will use this facility for evil and point to Apple’s DRM’ed music (using FairPlay) and also Apple’s odd restrictions within DVD Player.app on Mac OS X as an example of how the company is ‘evil’.

Of course it’s bollocks.

It took FairPlay to get the media owners (record labels) to start to play ball. Now we have DRM-free music available from multiple sources. Similar Apple’s DVD Player is compliant with the law because they want to avoid litigation. You can get round it by using other DVD-playing applications but Apple plays it safe. They’re not interfering with other third party apps.

It may be blind and stupid faith but I know enough people within Apple and I’ve read enough accounts of people working there that I trust them to do the right thing. Individual end users do need help in discovering which applications are bad and which are good and Apple, in order to reduce the amount of legwork required, is bound to have a review process where they solicit information from users of iPhone applications. This will have the dual effect of speeding up the eventual distribution of applications and also making sure there’s a peer review process.

I’d like to hear more from Perry on this debate as individual security on computing devices is important to me from the point of view of working in the IT business. There’s always a considerable difference in working with Macs and PCs - the latter is always slower in my experience (considering that my day job gives me a Core Duo machine running XP and my home machine is a Core Duo machine running Leopard) due to the need to perpetually run AV and firewall software and if not running them, due to the amount of malware that has been picked up.

Not enough people hear the reasons for design decisions and this is an Apple fault. They don’t make individuals publicly known. Every time there has been an outcry, I’ve always managed to speak to someone within Apple and they’ve given me the reasons for this and that. And yeah, in the wake of their spin doctoring I’ve always agreed.

For the average end user there needs to be a helping hand, an additional way to reduce the contact they have with malware. It’s something that will piss off some people who for political reasons want to have 100% access to their devices but I’m confident that the jailbreaking crowd will cater for them adequately.

XCode is hurting my patience

Wednesday, March 19th, 2008

So how am I meant to deal with the light blue blobs. I can’t ‘edit’ that text in any sensible fashion when what I really want to do is remove the space just after the * character. I end up just typing the whole thing which removes the point of autocomplete.

Apple makes it clear…

Wednesday, March 19th, 2008

For the hard of thinking….

According to iLounge, Apple today sent out a mass e-mail with helpful development links and a more detailed message regarding their status.

“We have many more requests than we can serve during this initial beta period,” explains the follow-up e-mail, “so we must limit the Program at this time. We plan to expand it during the beta period, and we will contact you regarding your enrollment status at the appropriate time. We appreciate your patience.”

Okay? We done crying about it?

Distribution of iPhone apps

Saturday, March 8th, 2008

So, there’s three categories of applications which can be installed onto the iPhone without Jailbreak.

  1. Payfer Apps - you write your application, sign it, give it to Apple and they host it on the App Store and you get 70% of all proceeds.
  2. Free Apps - you write the application, sign it, give it to Apple and they host it on the App Store for free.
  3. Source - you write the application, give the code to someone else, they sign it themselves and then they can install on their own iPhone via XCode

The last method changes things. It’s no longer just a case of just releasing source code, there’s the signing too. You’re attaching your identity to the code. A bit more than just running ports or apt.

But it does mean that for the select few who can install apps (been accepted into the Beta program, paid their $99, uploaded their CSR, downloaded their certificate), there’s a method of swapping test code and with a bit of luck a community will build.

For my part, I’d like to play with Kalimba on my iPhone!

iPhone stuff

Friday, March 7th, 2008

At some point last night, Apple’s development servers fell over and died. These servers can hold 40 000+ concurrent download streams but there were so many people downloading the new iPhone SDK that the whole server became unresponsive. After several hours of trying, I finally got a connection at 11 pm and left the SDK and iTunes videos to download overnight, which they did. At the same time, I watched the video of the introduction of the SDK and demos from AOL, Saleforce and EA. As it drew to a close, so did my eyes.

  • This morning I installed the SDK and started to read what teh internets was saying about the day before. There are guys from Apple on Twitter providing links and snippets of info to help people get started. And of course, teh internets have spoken.

    Jason at 37signals sounds off on his vision for the iPhone.

    “What we saw today was the beginning of two-decades of mobile domination by Apple. What Microsoft and Windows was to the desktop, Apple and Touch will be to mobile.”

    Steve Job’s Fortune interview (which I covered here yesterday) talks about how bad it feels to not be able to capture market share even though you might have a much better product. The iPod shows that it’s possible to capture a market by crafting a good product. Apple’s history has been full of examples of how to lose a market in the past so it’s nice to see them taking the lead for once.

  • TUAW reports that iPlayer is actually working for the iPhone. Content is limited but I’d encourage everyone with an iPhone to give it a go.

    “A limited selection of shows from the iPlayer have been made available to UK residents on their iPhones. … At the moment only the BBC-produced ‘Whistleblower’ documentary seems to be working from the iPlayer website, with content being streamed-only via the iPhone’s built-in QuickTime player “

  • Apple has posted the video of the SDK Roadmap here so if you have a spare hour or so, give it a go.
  • From the iPhone Human Interface Guidelines

    Only one iPhone application can run at a time, and third-party applications never run in the background. This means that when users switch to another application, answer the phone, or check their email, the application they were using quits.

    This is a serious consideration when you’re managing things like editing documents or wanting to save progress in a game. There has to be some continuation - do you ‘journal’ progress? Are there spare cycles in the CPU to do a quick save every second?

  • We had a bit of an emergency meeting in the wee small hours this morning over IM regarding the futures of our software development efforts and we’re going to publish that news in a few days.