Display image in iOS
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Display image in iOS
Should I be able to display an image on an iOS screen? When I use the iOS Simulator to show what my stack would look line on an iOS device, the images (one is an image object and the other is a button with a graphic) do not show up. Is there some trick to making them visible?
Thanks,
Larry
Thanks,
Larry
Re: Display image in iOS
Hi Larry,
yes, you should be able to display an image on iOS, everyone should!
Of course your images should appear, so we need more info!
Are this internal (imported) or referenced images?
If referenced, HOW are they referenced?
ABSOLUTE pathnames will of course not work here
And how did you add the images to your standalone?
Best
Klaus
yes, you should be able to display an image on iOS, everyone should!

Of course your images should appear, so we need more info!
Are this internal (imported) or referenced images?
If referenced, HOW are they referenced?
ABSOLUTE pathnames will of course not work here

And how did you add the images to your standalone?
Best
Klaus
Re: Display image in iOS
Thanks Klaus,
I can now see the images. I added the images to the files section of the standalone. Is that the correct way to avoid absolute path names?
The two original images are in a sub stack like in the tutorial called 'Skinning and Animation: The Basics'. Then I have two buttons on the main stack whose icons are set to match the IDs of the images.
When I look at it in the iOS simulator, the 'buttons' show up as objects that move as instructed. I can successfully compile the Android application but don't have an Android device for testing. If I can borrow one, what is the process for getting the .apk on the device.
I have an iPhone but have not yet been able to get the application to compile for lack of a 'provisioning file'. I have gotten a Developer certificate and am exploring discussions of how the provisioning file is made. Do you have any particularly good references?
I hope your Christmas was nice. I'll bet where you are is colder than San Diego.
Larry
I can now see the images. I added the images to the files section of the standalone. Is that the correct way to avoid absolute path names?
The two original images are in a sub stack like in the tutorial called 'Skinning and Animation: The Basics'. Then I have two buttons on the main stack whose icons are set to match the IDs of the images.
When I look at it in the iOS simulator, the 'buttons' show up as objects that move as instructed. I can successfully compile the Android application but don't have an Android device for testing. If I can borrow one, what is the process for getting the .apk on the device.
I have an iPhone but have not yet been able to get the application to compile for lack of a 'provisioning file'. I have gotten a Developer certificate and am exploring discussions of how the provisioning file is made. Do you have any particularly good references?
I hope your Christmas was nice. I'll bet where you are is colder than San Diego.
Larry
Re: Display image in iOS
Klaus,
I was able to create a provisioning profile and successfully create my iOS bundle which is on my desktop. I then connected my iPhone to my Mac and started Xcode. Then following these instructions:
Thanks,
Larry
I was able to create a provisioning profile and successfully create my iOS bundle which is on my desktop. I then connected my iPhone to my Mac and started Xcode. Then following these instructions:
My bundle would not drag to 'Organizer' so I went to the devices option for my phone and drug it there. It went but got rejected with the following message:1) Open Xcode
2) In the 'Window' menu select 3) "Organizer"
4) Drag your App bundle to your connected device
Where do I make changes? In the stand alone settings? In the provisioning profile? or in the Code Signing Entitlements file (whatever that is )?This executable was signed with invalid entitlements.
The entitlements specified in your application's Code Signing Entitlements file do not match those specified in your provisioning profile.
Thanks,
Larry
Re: Display image in iOS
Hi Larry,
sorry, no idea about missing profiles etc., still trying to avoid mobile development
But you can connect your Android device to your Mac via USB and it should appear in
menu "Development -> Test Target" so the app will be installed directly on the device,
when selecting "Test"!
Best
Klaus
sorry, no idea about missing profiles etc., still trying to avoid mobile development

But you can connect your Android device to your Mac via USB and it should appear in
menu "Development -> Test Target" so the app will be installed directly on the device,
when selecting "Test"!
Best
Klaus
Re: Display image in iOS
Larry take a look at the IOS version you'r running on the iPhone. It's shown in the x-code organizer window as well as in your phones control panel If it says 8.1 and your settings in the standalone builder were for 7.1 then you will get such a message. If you built for iPad only and are trying to load onto an iPhone then same message. If the iPhone screensaver has come on and locked the iPhone it also may not recognize the device. If the device is not checked on the certificate you generated on the apple developer web site as one of your 100 test devices you may get the same message. You may need to go back to the apple developer web site provisioning profiles and check the box next to that iDevice and re-download it.
Hope this helps
Dave
Hope this helps
Dave
Re: Display image in iOS
FireWorx,
My iPhone is 8.1.2 and in the standalone settings I have 8.0 or later checked. The iOS is set for iPod and iPhone. I am using LiveCode 6.7 (have tried bot 6.7 and 6.7.1 rc4). I use the Device window to put the executable on the iPhone which is not locked while trying. I have tried to put it on the iPhone both using the Plus button and by dragging. Each time I get the message about invalid entitlements and I have done this with three different versions of the provisioning file. You did say something I am not sure how to check though.
Larry
My iPhone is 8.1.2 and in the standalone settings I have 8.0 or later checked. The iOS is set for iPod and iPhone. I am using LiveCode 6.7 (have tried bot 6.7 and 6.7.1 rc4). I use the Device window to put the executable on the iPhone which is not locked while trying. I have tried to put it on the iPhone both using the Plus button and by dragging. Each time I get the message about invalid entitlements and I have done this with three different versions of the provisioning file. You did say something I am not sure how to check though.
How do I check the certificate to see in the device checked is correct?If the device is not checked on the certificate you generated on the apple developer web site as one of your 100 test devices you may get the same message. You may need to go back to the apple developer web site provisioning profiles and check the box next to that iDevice and re-download it.
Larry
Re: Display image in iOS
When creating an iOS standalone there is a drop down on the iOS tab called Profile which is where the Provisioning Profile is chosen. What determines what profiles show up in that dropdown? I now see 5 profiles there but four of those have been deleted from the Developer Portal. Why do the deleted ones still show up? If they are in my keychain, how do I identify them?
This is really a PITA and all the LiveCode people keep sending mw emails on the Pot of Gold I will be making with iOS development.
Larry
This is really a PITA and all the LiveCode people keep sending mw emails on the Pot of Gold I will be making with iOS development.
Larry
Re: Display image in iOS
Hi Larry,
OK, another reason may be the fact, that I do not even own a cellphone or something, just an old iPod Touch
Best
Klaus
this is one of the reasons why I still hesitate to start mobile development!lohill wrote:When creating an iOS standalone there is a drop down on the iOS tab called Profile which is where the Provisioning Profile is chosen. What determines what profiles show up in that dropdown? I now see 5 profiles there but four of those have been deleted from the Developer Portal. Why do the deleted ones still show up? If they are in my keychain, how do I identify them?
OK, another reason may be the fact, that I do not even own a cellphone or something, just an old iPod Touch

Sad, but truelohill wrote:This is really a PITA and all the LiveCode people keep sending mw emails on the Pot of Gold I will be making with iOS development.

Best
Klaus
Re: Display image in iOS
Or let me put it this way:
The higly efficient marketing department of RR is definitively separated from the development team!
The higly efficient marketing department of RR is definitively separated from the development team!

Re: Display image in iOS
Thanks Klaus,
Your humor is appreciated! I may need to fly Neil to San Diego to get this solved.
Larry
Your humor is appreciated! I may need to fly Neil to San Diego to get this solved.
Larry
Re: Display image in iOS
LiveCode is reading the profiles stored in your keychain and can't know if they exist in the dev portal. You need to update your keychain. Open Keychain Access and look in the Keys pane. You may be able to identify the deleted profiles by date. If any profiles are expired, they will be labelled that way. Delete those.I now see 5 profiles there but four of those have been deleted from the Developer Portal. Why do the deleted ones still show up? If they are in my keychain, how do I identify them?
When I create new profiles I try to name them differently in the "Common name" field of the certificate request form. That makes it easier to tell them apart.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Display image in iOS
My Keys pane does not show any dates in the Date Modified column (nor in the Expires column). A quick look at Keychain Preferences didn't seem to suggest anything that might help.LiveCode is reading the profiles stored in your keychain and can't know if they exist in the dev portal. You need to update your keychain. Open Keychain Access and look in the Keys pane. You may be able to identify the deleted profiles by date. If any profiles are expired, they will be labelled that way. Delete those.
Larry.
Re: Display image in iOS
Right, but you should have some keys with little flipper arrows at the left of their names. If you expand those, the dates show. If you don't see any keys like that then they haven't been imported to Keychain yet.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Display image in iOS
Thanks Jacque,
I did expand the things in Keychain Access and found the dates and they were all in line with the ones created today. I then went back to LiveCode standalone settings and I still had profiles that I threw away a few days ago. Then I went to the Accounts section of Xcode Preferences and saw the new ones along with the ones I thought were gone. I pressed the regenerate button (lower left hand corner) and now have only the new ones. I'm pretty sure when I go back to LC I'll see just the new. But while I'm here this is what I see in the Accounts preference:
Signing Identities Platform Status
iOS Development iOS Valid
iOS Distribution iOS Valid
Provisioning Profiles Expiration Entitlements
iOSTeam Provisioning Profile: hill.house 1/7/16 2 icons - keychain,inAppPurchase,gamecenter
Flash Cards 2 1/7/16 3 icons - keychain,cloud,inAppPurchase,gamecenter
Flash Cards 1/7/16 2 icons - keychain,inAppPurchase,gamecenter
iOSTeam Provisioning Profile: hill.house.* 1/7/16 3 icons - keychain,,cloud,inAppPurchase,gamecenter
I don't think I purposely chose inAppPurchase and Game Center I just got them by default. I chose the cloud from something in a Google search I read. There seems to be volumes of information on this problem on the web including patches that Neil has offered and a You Tube video. Unfortunately the print on the video is too small to read and and my ear does not translate Scottish very well.
Can you suggest a combination of the above that will help me get my app on my iPhone.
Thanks and regards,
Larry
I did expand the things in Keychain Access and found the dates and they were all in line with the ones created today. I then went back to LiveCode standalone settings and I still had profiles that I threw away a few days ago. Then I went to the Accounts section of Xcode Preferences and saw the new ones along with the ones I thought were gone. I pressed the regenerate button (lower left hand corner) and now have only the new ones. I'm pretty sure when I go back to LC I'll see just the new. But while I'm here this is what I see in the Accounts preference:
Signing Identities Platform Status
iOS Development iOS Valid
iOS Distribution iOS Valid
Provisioning Profiles Expiration Entitlements
iOSTeam Provisioning Profile: hill.house 1/7/16 2 icons - keychain,inAppPurchase,gamecenter
Flash Cards 2 1/7/16 3 icons - keychain,cloud,inAppPurchase,gamecenter
Flash Cards 1/7/16 2 icons - keychain,inAppPurchase,gamecenter
iOSTeam Provisioning Profile: hill.house.* 1/7/16 3 icons - keychain,,cloud,inAppPurchase,gamecenter
I don't think I purposely chose inAppPurchase and Game Center I just got them by default. I chose the cloud from something in a Google search I read. There seems to be volumes of information on this problem on the web including patches that Neil has offered and a You Tube video. Unfortunately the print on the video is too small to read and and my ear does not translate Scottish very well.
Can you suggest a combination of the above that will help me get my app on my iPhone.
Thanks and regards,
Larry