Display image in iOS

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: Display image in iOS

Post by LCNeil » Thu Jan 08, 2015 10:37 am

Hi Larry,

The patches are no longer required as the issue provisioning profile issue has been resolved in the latest versions of LiveCode. As long as you are using the latest versions (Currently 7.0.1), building iOS standalones should work.

Provisioning profiles are stored within the following directory on a Mac system-

~/Library/MobileDevice/Provisioning Profiles

but the easiest way to manually manage profiles is via the iphone configuration utility that Apple provides-

http://www.macupdate.com/app/mac/27986/ ... on-utility

Xcode should manage your profiles automatically, but I still like to manually create and download these from the provisioning portal.

With that being said, It would seem that you have iCloud enabled within the App ID on your for application. Try disabling (via APP id in Apple developer centre)this and re-generating the provisioning profile.

iCloud is not yet directly supported in LiveCode, so having this enabled without the ability enable support in your standalone application settings. may produce the invalid entitlements error.

Kind Regards,

Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
--

lohill
Posts: 770
Joined: Tue Dec 08, 2009 6:37 pm

Re: Display image in iOS

Post by lohill » Thu Jan 08, 2015 8:24 pm

Thanks for responding Neil.

The link you gave me for the iPhone Utility did not work. When I pressed download at MacUpdate, it ended up at Apple with a 'Were Sorry' message and the opportunity to return to Apple Support.

I have tried a few more versions of provisioning files with no luck yet. I have a question on on the App ID. Should it end in ".*"? That one is the one with all the services disabled. The one with no "*" ends up having two services enabled by default with no opportunity to edit.

Regards,
Larry

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: Display image in iOS

Post by LCNeil » Mon Jan 12, 2015 12:24 pm

HI Larry,

It would seem that Apple have recently changed their downloads portal and a lot of links are now broken. Please find the iPhone Config Utility at the following address-

http://techsupport.on-rev.com/sostacks/icu.zip

The "*" symbol is a wildcard symbol. This means that you should be able to use any name here for development. An example is an app ID with a single "*", this means any internal app id can be used for development (e.g. com.runrev1234.test app, asd.qwer.zxc etc)

I believe that a wildcard app ID has no services enabled by default, so you may wish to try creating a new ID and from that, creating a new provisioning profile.
Screen Shot 2015-01-12 at 11.23.09.png

Kind Regards,

Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com

lohill
Posts: 770
Joined: Tue Dec 08, 2009 6:37 pm

Re: Display image in iOS

Post by lohill » Mon Jan 12, 2015 6:47 pm

Thanks Neil,

I may have found the culprit: (I would like to know how you included the graphic because it would help me explain what I see.) While using the iPhone Configuration Utility under the Devices Library/Summary section/Certificate I get an error message that says "This certificate was signed by an untrusted issuer." There is also a large "?" right under the word Summary. Other than those two things it looks like everything else describes my iPhone.

Does this give you any ideas for possible fixes?

Also under Provisioning Profiles it shows a great may profiles that are ones that I have already trashed.

Larry

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: Display image in iOS

Post by LCNeil » Tue Jan 13, 2015 10:47 am

Hi Larry,

You can add an image by first uploading an attachment and then using the option to "place inline". If that fails, simply upload and image and supply a URL and I will be able to view it that way.

I googled ""This certificate was signed by an untrusted issuer." and it came back that the warning should be nothing to worry about. More information on it can be found here-

http://stackoverflow.com/questions/7841 ... -untrusted

and here

http://forums.macnn.com/103/iphone-ipad ... ed-issuer/

Have you tried revoking, deleting and recreating all certificates/profiles? As this would ensure that there are no erroneous elements causing the issue.

Kind Regards,

Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
--

------

lohill
Posts: 770
Joined: Tue Dec 08, 2009 6:37 pm

Re: Display image in iOS

Post by lohill » Tue Jan 13, 2015 7:24 pm

Hi Neil,

I have started over and have 1 valid Development Certificate, 1 App ID with ID hill.house.*, 1 device and one Provisioning Profile called FC Development. All the old certificates,app ids and provisioning files have been deleted from the Developer portal.

When I go back to LiveCode to make my standalone I am not sure what to place in the iOS field called Internal App ID and the dropdown just below it called Profile sows two old profiles and does not contain the new Provisioning profile. What have I missed that would get my one profile there?

In the iPhone Configuration Utility I see nothing in the tab for Configuration Profiles but in the tab for Provisioning Profiles I see my new PP called FC Development. I also see in that tab another 10 or so Provisioning Profiles that have been deleted. Since the 'Remove' mutton does not seem to do anything, how do I get those off the phone?

In Xcode/Preferences/Accounts under View Details for me I see 2 signing identities called iOS Development(2) and iOS Distribution. The latter should not be there AFAIK. All the old Provisioning Profiles are also present but not my new one.

Does this give you any clues to my next step?

Larry

lohill
Posts: 770
Joined: Tue Dec 08, 2009 6:37 pm

Re: Display image in iOS

Post by lohill » Tue Jan 13, 2015 7:44 pm

Finally got 'FC Development' to show up in drop-down for profile and tried to make a standalone.

Here is a picture of my error: /Users/laurancehill/Desktop/Error.tiff
This is new but unfortunately not progress.

Larry

lohill
Posts: 770
Joined: Tue Dec 08, 2009 6:37 pm

Re: Display image in iOS

Post by lohill » Tue Jan 13, 2015 7:46 pm

Error.tiff
Snapshot I tried to get in earlier.

lohill
Posts: 770
Joined: Tue Dec 08, 2009 6:37 pm

Re: Display image in iOS

Post by lohill » Tue Jan 13, 2015 8:00 pm

Neil,

I got it on the phone!! Went back to Keychain Access and deleted a bunch of old keys. Standalone was made and put in the iPhone. I haven't tested yet but think I'm over the hump for now.

Thanks for being patient.
Larry

Post Reply