iOS Mobile Configuration Key File

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

haralds
Posts: 1
Joined: Fri Jul 22, 2011 9:41 pm

iOS Mobile Configuration Key File

Post by haralds » Fri Jul 22, 2011 10:13 pm

I have been trying various configurations of Xcode installations to be recognized under the mobile preferences as a legitimate SDK install.

Only the default Xcode 3.2.6 install under Snow Leopard seems to be recognized.

Neither a Snowl Leopard installation with /Developer/XCode4 folder added for dual Xcode installs, or a /Developer3 folder with Xcode 3.2.6 under Lion, which compiles and simulates fine, are recognized by the preferences.

I need some help, because for now, all I can do is run under a Snow Leopard server VM...

-- Harald

Jellicle
Posts: 453
Joined: Thu Feb 24, 2011 11:07 am

Re: iOS Mobile Configuration Key File

Post by Jellicle » Sun Jul 24, 2011 1:51 pm

haralds wrote:I need some help, because for now, all I can do is run under a Snow Leopard server VM...
-- Harald
Welcome to the club - there are many of us (probably all of us who installed Lion) who can't test our apps because of this. RunRev would be aware of the problem - I've reported it and it's come up on other lists; we eagerly await a response.
14" MacBook Pro
Former LiveCode developer.
Now recovering.

Jellicle
Posts: 453
Joined: Thu Feb 24, 2011 11:07 am

Re: iOS Mobile Configuration Key File

Post by Jellicle » Mon Jul 25, 2011 12:17 pm

I hear that an update to LC will happen in a few days that'll fix this problem.

g
14" MacBook Pro
Former LiveCode developer.
Now recovering.

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: iOS Mobile Configuration Key File

Post by Klaus » Mon Jul 25, 2011 12:22 pm

Jellicle wrote:I hear that an update to LC will happen in a few days that'll fix this problem.
Yep, they cannot afford to NOT fix this very soon! 8)

minx
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 43
Joined: Tue May 31, 2011 3:47 am

Re: iOS Mobile Configuration Key File

Post by minx » Tue Jul 26, 2011 2:20 am

Hello, I've just signed up for the Developer's program. Can someone tell me if I'll be able to test a build on my iPhone4? I still have Xcode 3.2.6 and am running on Snow Leopard. I'd hold off upgrading, if it would allow me to do some preliminary testing on the real phone.
Thanks!

Jellicle
Posts: 453
Joined: Thu Feb 24, 2011 11:07 am

Re: iOS Mobile Configuration Key File

Post by Jellicle » Tue Jul 26, 2011 12:52 pm

Yup, you should be fine.
14" MacBook Pro
Former LiveCode developer.
Now recovering.

minx
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 43
Joined: Tue May 31, 2011 3:47 am

Re: iOS Mobile Configuration Key File

Post by minx » Wed Jul 27, 2011 12:44 am

Thanks G! Hoping all will go smoothly with provisioning :roll:

minx
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 43
Joined: Tue May 31, 2011 3:47 am

Re: iOS Mobile Configuration Key File

Post by minx » Sun Jul 31, 2011 2:40 am

Hey Guys, Just wanted to give you an update that I tried it out and all works as expected on my phone. Thanks for your reply, really helped! :D

marksmithhfx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 931
Joined: Thu Nov 13, 2008 6:48 am

Re: iOS Mobile Configuration Key File

Post by marksmithhfx » Tue Aug 09, 2011 2:21 am

Probably a silly question but what have people been using for an appid? I just want something I can use to test apps. There might be lots of little ones I want to test... do I create a new appid for each? or can I reuse the same appid over and over (and what is the purpose of the appid anyway)? What is this reverse domain name string all about. Do I use the wildcard thing they were talking about on the apple site? Since I don't run a site would I just make something up like .com.marksmith.testapps or .com.marksmith.*

??

Thanks for your advice

-- Mark
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS

minx
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 43
Joined: Tue May 31, 2011 3:47 am

Re: iOS Mobile Configuration Key File

Post by minx » Wed Aug 10, 2011 12:44 am

Hi Mark,
I've created a wildcard appid, using the reverse domain name (com.myname.*) with the asterisk at the end. I don't think it has to actually point to a real domain name, although mine is. When I test, I don't have to create a new appid, just replace the "*" part with my app name and it builds and loads on my phone. I don't understand about how it works, but I know that if the appID name doesn't match up, and/or your device ID doesn't match up, it'll give you an error when you try to load it onto your phone. Unfortunately, there's lots of ways to do it wrong, but once you get it working, it's pretty straight forward.
Hope that helps,
Diane

marksmithhfx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 931
Joined: Thu Nov 13, 2008 6:48 am

Re: iOS Mobile Configuration Key File

Post by marksmithhfx » Wed Aug 10, 2011 1:09 am

minx wrote:Hi Mark,
I've created a wildcard appid, using the reverse domain name (com.myname.*) with the asterisk at the end. I don't think it has to actually point to a real domain name, although mine is. When I test, I don't have to create a new appid, just replace the "*" part with my app name and it builds and loads on my phone. I don't understand about how it works, but I know that if the appID name doesn't match up, and/or your device ID doesn't match up, it'll give you an error when you try to load it onto your phone. Unfortunately, there's lots of ways to do it wrong, but once you get it working, it's pretty straight forward.
Hope that helps,
Diane
Hi Diane, that is exactly what I was thinking of trying so nice to get some confirmation that it will work. Thanks for posting.

-- Mark
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS

marksmithhfx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 931
Joined: Thu Nov 13, 2008 6:48 am

Re: iOS Mobile Configuration Key File

Post by marksmithhfx » Wed Aug 10, 2011 4:03 am

minx wrote:Hi Mark,
I've created a wildcard appid, using the reverse domain name (com.myname.*) with the asterisk at the end. I don't think it has to actually point to a real domain name, although mine is. When I test, I don't have to create a new appid, just replace the "*" part with my app name and it builds and loads on my phone. I don't understand about how it works, but I know that if the appID name doesn't match up, and/or your device ID doesn't match up, it'll give you an error when you try to load it onto your phone. Unfortunately, there's lots of ways to do it wrong, but once you get it working, it's pretty straight forward.
Hope that helps,
Diane
Hi Diane, I have created a provisioning profile (with the unlikely name of "my_first_profile") and its sitting on my hard disk. Where do I stick it next, and if its on an iPhone or something how should I get it there? (did you follow the Xcode instructions?)

Also, I have 2 more questions. I've attached a screen shot of the iOS pane in the standalone settings. When I created my provisioning profile I created an app id of com.marksmith.* In the internal app id field on the iOS pane should I enter the same thing or should I enter something along the lines of com.marksmith.my long program name?

2nd question... how do you get the provisioning profile to show up under the Profile drop-down menu? Thanks

-- Mark
Attachments
Screen shot.jpg
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS

minx
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 43
Joined: Tue May 31, 2011 3:47 am

Re: iOS Mobile Configuration Key File

Post by minx » Wed Aug 10, 2011 6:14 pm

Hiya Mark,
Here you go:
1) Prov Profile: Just drag in onto your Xcode app and it should install it. I have mine on my dock, so that was easy to access. Yes, I did use the Xcode instructions (from Apple). I recommend going back later and reading the part about backing up your keychain.
In Livecode:
2) For your internal app id, give it the specific name "com.marksmith.your long program name"
3) To get prov profile to show in Livecode, about about 4 items below the internal app id, you'll see profile. If your prov profile installed OK from step 1, it will appear in the pull down menu.
Diane

marksmithhfx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 931
Joined: Thu Nov 13, 2008 6:48 am

Re: iOS Mobile Configuration Key File

Post by marksmithhfx » Thu Aug 11, 2011 3:02 am

minx wrote:Hiya Mark,
Here you go:
1) Prov Profile: Just drag in onto your Xcode app and it should install it. I have mine on my dock, so that was easy to access. Yes, I did use the Xcode instructions (from Apple). I recommend going back later and reading the part about backing up your keychain.
In Livecode:
2) For your internal app id, give it the specific name "com.marksmith.your long program name"
3) To get prov profile to show in Livecode, about about 4 items below the internal app id, you'll see profile. If your prov profile installed OK from step 1, it will appear in the pull down menu.
Diane
Thanks Diane. This was a great help and got me going. I managed to test my first iOS app, and (having confirmed it would not blow-up my iPhone) posted it in the User Samples section of RevOnline (search for "smith" in All or Utility).

Cheers,

-- Mark

PS I've added Xcode to the doc as well. Too bad you can't just drag your bundle onto the icon on the doc... but hey, its almost as simple (as you said) once you get the hang of it.
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS

minx
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 43
Joined: Tue May 31, 2011 3:47 am

Re: iOS Mobile Configuration Key File

Post by minx » Thu Aug 11, 2011 8:01 pm

Hey Mark,
Very cool! So glad it works!!! Whoo, it's a great feeling isn't it? The first time you see your app running on the iPhone!!!
:D :D :D :D
Running off to check out your app!
Have fun, (I know you will)
Diane

Post Reply