Having had numerous errors (including BASE SDK Missing) and sorting them, I now have an error trying to compile some simple GLBasic code.
It sounds like my developer licence or name is not being accepted - I'm not exactly sure what I need to do or how to deal with this. Can anyone help?
I've attached screenies - hopefully someone will be able to spot what's up and how to fix.
[attachment deleted by admin]
Have you added the public/private key to the Keychain ?
I followed advice from here - http://mobiforge.com/developing/story/deploying-iphone-apps-real-devices
but other than that, I really have no idea what I'm (supposed to be) doing!
The error means you need to create your provisioning profile (.mobileprovision file) and/or certificate (.cer file). Sounds like one or both hasn't been generated and added to the Keychain or the iPhone...
Have a look in the Keychain to make sure that is present (and that it can be read from). Also make sure the iPhone device ID has been used to generate the provisioning information...
This may help : http://www.youtube.com/watch?v=eGdTdmCI34w
I created a "developer_identity.cer" and it seemed to be accepted in the keychain - not that I know anything about this, other than what I followed in the link above.
I don't even know what a provisioning profile (.mobileprovision file) is. :S
And advice/hints?
The provisioning file is generated by the Create A Provision Profile in the Developer Connection - once generated you double-click on it, and add it to the Keychain. You also need to drag it to XCode to add it to the iPhone
Ah, I did drag the provisioning file to XCode - I can see it on my Mac now - "Ian_Price.mobileprovision" - I didn't even know what it was, but that was from the linked article.
Looking at the keychain certification etc. it states the iPhone developer as (N K ;)) and includes public and private keys for NK and I P.
Is it because the licence was issued for someone else. Having gone through the original profile I was able to change everything except the lecence holder's name (in profile it's now my name, but as the licence was part of a team, it still holds the original owner's name).
Will I have to register for a new licence under my name after all?
I dont know - its something that no-one has discussed :)
Its quite possible that the Provision Keys are linked to specific Mac's and thus accounts aren't transferable.
Trouble is, you need someone who is currently developing iPhone stuff :)
That's what I expected tbh. :(
So, is it possible to delete the keys and cert information from the keychain? I don't want to try to delete something that I might later need or screw up my Mac or iPod.
[EDIT] Oh well, I've now deleted all keys and certs. I'll register as a dev myself and hope this resolves the situation.
Thanks for all your help MrTaToad. It was worth a try :)
Yes - its quite possible to delete them in XCode - Look for Apple development in Certificates
Its a shame, but there we go :)
It's one of those things I guess. Apple didn't get to where they are today by allowing their stuff to be given away freely :(
Anyway I've signed up for an account. Now all I need is some time to set it all up and get testing.
Thanks again though. I'm sure this adventure is not over just yet though... ;)
Theoretically, you shouldn't have any trouble now :)
If Gernot hadn't have gone on holiday, he might have been able to have a look via TeamView... =D
Oh well, not to worry. Yet! :P
Not much can go wrong once its all been setup :)
Hi Ian,
I probably will not be much help but I have recently gone through the same process (ie switching from PC to Mac, joining the dev programme, keychain, profiles, etc, etc) & I personally found it really frustrating. My approach was just to follow the apple videos & instructions step by step- there are some useful videos on youtube as well.
I found the build for distribution & submitting the binary to itunes most difficult.
Cheers, Shawn
I'll certainly give them a try now that I have my own proper account now.
Cheers. :)
Having followed numerous "help" links about how to get it all working (including Apple's own), I finally purchased a guide that lead me through the whole process, step by step - including doing things I'd seen nowehere else. And it worked! I now have a fully operational app. on my iPod, created by me in GLBasic.
I would heartily recommend it to anyone struggling with Apple's POS development/distribution/provisioning software.
http://stuartmorrison.com/blog/iclue-app-code-signing-simplified/
It's £7.00, but it's worth it - I'd spent hours trying to get this damn thing to work before getting the guide. I went through the guide and it worked first time.
Thankyou to everyone, especially MrTaToad, for your assistance. Cheers chaps :)
Shows how tricky the whole process is if you need to buy a book in order to work out how to transfer and run a program on the machine...
It really is idiotic. Surely it should be -
Buy license
Download Dev certificate
Create your app
Distribute - either privately or via Appstore
At least it's sorted now. I know some of my problems were due to inexperience, but it really shouldn't be like it is.
Apple created a wizard for this problematic.
The wizard was anything but.... :(
The process shouldn't even need a wizard. It should just work, without the user being aware.
I was truly stunned by how difficult it was to get my first app on my test device. Both the number of steps involved and the initial complexity is very offputting.
Still, when the iDevice launches the first app, doesn't it feel exciting? :)
From the looks of it, Android is easier :)
QuoteStill, when the iDevice launches the first app, doesn't it feel exciting? :)
I totally agree. My first simple app running on my iPod Touch was far more exciting, having gone through all the other crap and failing. Wiz, GP2X etc. were far less fun. They just worked first time. I just wish I hadn't needed to get that excitement ;)
It really is wrong that a tinpot company like GPH do a better job of getting your code actually running first time.
I found the code signing & distribution very difficult. I managed in the end but more by trying little tweaks to the process then by strictly following the apple process, which was slightly inaccurate.
I have to say I'm not particularly confident that I can build for distro again so I will probably purchase the above item if it describes a 'rock solid' and replicatable process.
Cheers, Shawn
Shawnus; PM me your email addy. :)