Uncategorized

Code signing problems with iPhone and XCode

Posted in Uncategorized on September 3rd, 2009 by Les – Be the first to comment

I was having a mare with the “code signing: no provisioning profile found for app id com.yourname… etc.”

I’d followed all the guides, Googled myself half to death and everything, I mean EVERYTHING looked right.

My provisioning profile used a wildcard app id.

Eventually I decided that XCode may not be using the right profile even though it SAID it was and thats when I found this.

http://www.frogameleon.com/blog/iphone-sdk-codesign-error-a-valid-provisioning-profile-is-required-for-product-type-application-in-sdk-device-iphone-os-22

That post did indeed show that the profile was blank. This enabled me to get the right profile in use for the sample app I was working in. However, it still complained about the mismatch in the app id but this time the error message was a bit more helpful.

Although I never got this from any of the documentation, and even though I know the answer now, the videos and Apple’s documentation STILL doesn’t lead me to this conclusion, here’s what my problem finally was:

In my provisioning profile I’d used app id com.jobb.*

This has of course been prefixed with a weired id so it actually looked had an alphanumeric prefix before it along the lines of ABCDEF.com.jobb.*

Everything I read lead me to believe that my bundle id in the info plist for my app should be set to this.

Not the case though. The bundle name just needs to be com.jobble.appname

Although XCode has screwed up my project initially, fixing that lead me to this simple solution.

To test my new found oh-so-obvious knowledge I created a new app from scratch, set the bundle name to com.jobbl.testapp2 and built it straight to my phone without any problems.

So, a mere 6 months after I got my developer certificate I finally have the ability to deploy dev versions direct to the phone. Now I just have to go back to learning objective C and try to come up with some interesting App.

And, just as my friend Craig told me… the answer when I find it is so obvious and so sensible that I can scarcely believe I ever had the problem.

Perhaps this post will help someone. Tonight’s effort was three hours straight and there have been several nights spent on this problem. So, I shall retire to my bed bathed in the warm smugness of having finally figured out something that should never have needed figuring!

Radcliffe & Maconie

Posted in Uncategorized on June 18th, 2009 by Les – Be the first to comment

It’s the 2nd best show on Radio. After Wogan of course.

Idea for new social networking site

Posted in Silliness, Uncategorized on June 17th, 2009 by Les – 1 Comment

“Facebaulk.com”. A social network to make you vomit with boredom.

It’s great. It’s basically the same as Facebook but instead of the ability to type status updates you are only able to select from the following list.

  • “I’m bored”
  • “I’m drunk”
  • “I’m going to get drunk”
  • “I’m going to be bored”
  • “I was bored, now I’m drunk and bored”
  • “Facebaulk is so boring I want to vomit”
  • “I wish I was drunk”
  • “I’m going out”
  • “I went out, it was boring, I’m drunk”
  • “OMG I’m so bored!”

It also has an option to automatically pick one of the above and post it at 3am for those nights when you are just too bored or too drunk to actually type.

I think it’s a winner.

Diy 3d

Posted in Uncategorized on June 13th, 2009 by Les – Be the first to comment

I wonder… A pair of polarized glasses and similarly polarized sheets placed in front of a of monitor should be all that’s needed, then generate left and right images on relevent side of the screen.

Digital Cinema

Posted in Uncategorized on June 13th, 2009 by Les – Be the first to comment

Aha! So, last night I had a better than typical cinema experience at Gloucester Cineworld. I watched Terminator Salvation which was actually much better than I was expecting and the picture quality was ok this time. Only ok mind you. Not sharp by any stretch. 35mm film may well have much higher resolution than any digital source but if your man on the projector hasn’t tweaked his lens right then the focus will be soft and all that resolution is for naught.
The good news is that it turns out this cinema does have one digital projector. I still haven’t managed to find anyone who can tell me which screen that is (if only because, the screen itself must be better quality than typical screens in order to work with the new 3d digital movies and so, I reason even if what’s playing is a film from a reel at least part of the setup must be improved).
It does seem as though the only way to be assured of seeing a digital film is to see a 3d one. TS, while chock full of CGI you would have thought would be showing in digital but now, only film.
A friend saw Bolt in 3D at the same cinema and tells me there was no blurring as was common in the first generation of polarised light 3d solutions and the experience was tremendous.
So, I hope to take the kids to see Ice Age 3 in 3d when that shows up later in the year. Previous Ice Age films were very watchable so I’m hoping this will be an all-new cinema experience for the whole family.
My eldest wears glasses… does that affect the 3d experience at all? My instinct says it shouldn’t so long as the polarized glasses fit over the regular ones.

Ether perfume hoax email

Posted in Uncategorized on June 12th, 2009 by Les – Be the first to comment

So, my Wife received a hoax email. We get a lot of these so I always go straight to google, and try to see if it’s a known hoax. It is so I helpfully told the sender and the other recipients. One of the stunningly clever ones asked…

“How do you know it’s a hoax?”

Well, I don’t KNOW it is a hoax. I believe it is a hoax though. Because to believe it is true also requires me to believe that…

Criminals the world over have tried a slight variation on a theme and the would-be-victims have relayed their worrysome ordeal in such a way that it has found its way into a rich variety of email forms with a remarkable number of words and phrases in common.

Or, there is only a small band of dedicated criminals trying the same scam whilst globetrotting and, judging by the prodigious number of near-misses, being very bad at the criminal game while still being able to fund their travels. A “Whicker’s Gang” if you will. If an email comes to light where the victim is duped by a small group of elderly, charming men wearing horn rimmed glasses and smart blazers you’ll know I’m right.

Or, this is a crime pandemic that Interpol, The FBI, our own home office and regional police forces deem so unimportant that none of us have ever seen a poster, tv ad, crimestoppers, window sticker or a sign in a car park or an appeal from whoever that bloke is who says “Don’t have nightmares”.

Or, despite the fact that there are apparently several perpetrators, instead of rushing the victim and bundling them into the car they send just one of their number to go do it using some Ether and a dubious story. Lots of things to go wrong there. For one thing, Ether is heavier than air so you will need to give it a pretty good sniff to make sure it gets up your snozzle instead of meandering over the neck of the bottle and falling to the floor; secondly – and I expect to be put right by some medical type on the cc list, but what the hell, let’s live dangerously – my lay person’s understanding of Ether is that one gets high, possibly in an explosive and troubling way for some time before becoming compliant and finally, helpless and unconscious. Not very efficient on the abduction front is it?

So, that’s why I (and people who collect these things and put them on hoax slayer et al to help others) believe it’s a hoax. Because it just doesn’t sound plausible. Does anyone think it does sound plausible, really?

No offence to Alan Whicker by the way. I like him. I’m sure if one were to be abducted in the style of Alan Whicker it would be charming and he’d probably apologise afterwards. Of course he’d probably use sherry instead of Ether.

Retro cinema experience

Posted in Uncategorized on June 3rd, 2009 by Les – Be the first to comment

So, I’ve been to the cinema twice in the last 10 days. First, to see Star Trek and then to see Angels & Demons. Both good films. Star Trek way better in my opinion that any of the other Star Trek films and Angels & Demons is better than the book and better than the previous film, The Da Vinci Code.

Anyway, the point of this particular post is to whine a little about what spoiled the experience for me and, in fact what always spoils the cinema experience for me… PROJECTION!

I’m always amazed that in these days where even DVD is now being replaced by BluRay and digital technology in the home is old-hat, the Nation’s cinemas are still showing brand new films on such old technology. It’s just miserable. Start Trek suffered throughout by what seemed to be an unstable picture with closeups being marred by the whole scene shifting up and down perceptibly. Angels and Demons less so (different cinema as well) but both viewings were grainy, blurry, indistinct, “low-res” pictures. It was (and has been on all cinema trips I can remember of recent years) a very disappointing experience visually. It really did look like watching a VHS tape at home on a modest sized TV. Obviously it is higher resolution being purely optical, resolution may not even be the right word to use but the fact is the quality of picture I get at home on a large (42 inch) but budget plasma TV is in a different league.

Contrast is the other victim of cinema. Not so much with Star Trek but Angels looked like the entire lot was shot through cheesecloth with dull colours and contrast.

It just feels like a waste of money. The only way to see the film soon after release is at the cinema and the quality is dire.

instant access my arse

Posted in Uncategorized on January 26th, 2009 by Les – Be the first to comment

So, while I’m frustrated by communications difficulties with a… communications company I’ll share another frustrating experience with you.

I sign up for an online share dealing account. It says instant access, just give your bank details etc. So I do this and yes, it really does take just 10 minutes to fill in all the forms. And the final step… “You will now receive a temporary password through the post…”

In which universe exactly does that count as “instant access”?

conference call etiquette

Posted in Uncategorized on January 26th, 2009 by Les – Be the first to comment

Please, if you invite someone to a conference call, make sure you are there. Is it too much to expect the host to be there when one dials in at the right time? or a minute later? or five minutes later?

As I write this out of frustration it’s been six minutes… that’s just rude.

Iphone software unlock

Posted in Uncategorized, iPhone on January 2nd, 2009 by Les – 1 Comment

So, here’s what worked for me to get my iPhone unlocked.
First some definitions because if you were an iPhone virgin as I was until just two weeks ago these terms may be unfamiliar to you.
Jailbreak – this refers to the practice of getting the iPhone to a state where you can install third party software without going through the apple app store and hence opens up the opportunity of using hacks written by people cleverer than either you or I.
Unlocking – is what needs to be done to get the phone to work with a sim from a provider other than o2 (in the uk)

Now I got my iPhone second hand without a warranty or contract so I had little to lose if this process turned the phone into a pretty brick. Doing this will invalidate your warranty so if that scares you don’t go any further.

Now I have a mac at the moment and although I’d prefer to be able to do this via the pc, i am making an effort to learn mac so that’s all I can do.

The first thing is to use iTunes to upgrade to firmware 2.2. If you are currently using a turbo sim of some sort this will likely break it. You have been warned!

Now if you don’t have a bittorrent client go get one then use it to search for quickpwn you are looking for the 2.2 version since that’s the firmware you now have.

Once you have downloaded quickpwn just connect iPhone to mac and run quickpwn. It will check your phone is suitable then it will download the firmware package you need. This replaces the operating system on your phone with a hacked version. It takes a while but once done you will see a pineapple at startup rather than the apple logo. You will also see the cydia application which is basically a third party appstore!

Now point your browser at iPhone-dev.org then follow the link to their blog. Scroll down till you see the cydia source URL. Go into cydia on your phone and add the URL as a source repository. Once done you can browse for the yellowsn0w app version 0.9.4 is the one that worked for me.

Finally then install the app and follow the directions on the blog.

5 minutues after getting my hands on version 0.9.4 I had orange 3g and could makes calls with my regular sim card.

Thank you to the awsome developers who made this. I think apple deep down don’t want to work too hard to prevent something that increases iPhone uptake but I’m equally sure that o2 must be pissed and apple will do something because they have to been seen to do so. As long as you don’t restore your phone from backup though I guess all could be well for some time.

I typed this whole post on my iPhone using the wordpress app available from the app store. Anyone who says the keyboard input on iphone is anything less than genius is looking in the wrong place. I only get two and a half little fat index fingers to cover the screen width yet I can type as fast as I can think. Still loving ‘miphone’