Why can't I test my program with iOS simulator?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 11
- Joined: Tue Mar 31, 2015 2:14 pm
Why can't I test my program with iOS simulator?
I am tying to test my app with iOS simulator but the test buttons are all grey. I have the latest xCode 6.3 and put it into livecode's preference. Also I checked build for iOS at standalone setting. However the test buttons are still grey and I could not even save my program as standalone application. I am using livened 8.0(d2). Please help me out!
Re: Why can't I test my program with iOS simulator?
Hi zhangyouwen,
LiveCode is not yet compatible with Xcode 6.3 so you will not be able to test simulator deployment from this version. We should have a new release available shortly. Until this is ready, please use the latest 7.0.* release of LiveCode (8.0 has some deployment issues) and Xcode 6.2
Older version of Xcode can be downloaded from the iOS developer downloads portal here-
https://developer.apple.com/downloads/index.action
Kind Regards,
Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
--
LiveCode is not yet compatible with Xcode 6.3 so you will not be able to test simulator deployment from this version. We should have a new release available shortly. Until this is ready, please use the latest 7.0.* release of LiveCode (8.0 has some deployment issues) and Xcode 6.2
Older version of Xcode can be downloaded from the iOS developer downloads portal here-
https://developer.apple.com/downloads/index.action
Kind Regards,
Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
--
-
- Posts: 11
- Joined: Tue Mar 31, 2015 2:14 pm
Re: Why can't I test my program with iOS simulator?
Thank you, but I still couldn't test it with Xcode 6.2 using Livecode 7.0.4. Even when I am trying to save it as standalone app livecode answered"could not find a valid identity to use for the selected profile". What can I do to fix this?
LCNeil wrote:Hi zhangyouwen,
LiveCode is not yet compatible with Xcode 6.3 so you will not be able to test simulator deployment from this version. We should have a new release available shortly. Until this is ready, please use the latest 7.0.* release of LiveCode (8.0 has some deployment issues) and Xcode 6.2
Older version of Xcode can be downloaded from the iOS developer downloads portal here-
https://developer.apple.com/downloads/index.action
Kind Regards,
Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
--
Re: Why can't I test my program with iOS simulator?
You will receive this error when trying to build an iOS standalone and there is a discrepancy in your iOS development setup.The sound like a certificate issue but I would double check both your profile and certificates are correct and valid.
Its worth noting that you should not receive this error when deploying to the simulator as no provisioning profile is required for this form of testing
Kind Regards,
Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
-
Its worth noting that you should not receive this error when deploying to the simulator as no provisioning profile is required for this form of testing
Kind Regards,
Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
-
Re: Why can't I test my program with iOS simulator?
Neil,
I have this problem, as well.
I am trying to create an iOS standalone in both LiveCode ver 6.7 and 7.0.3, and LiveCode told me that I needed Xcode version 6.1, which contains the iOS 8.1 SDK. After deleting Xcode 6.3 and reverting to Xcode 6.1.1, which I verified does contain the right SDK, I am getting the "could not find a valid identity to use for the selected profile" error.
I have triple-checked that my Internal App ID was copy/pasted correctly from my Apple Developer account, and I selected the profile I made from the Apple Developer portal. What else could be mismatched to cause this error?
Thanks,
Phil E.
I have this problem, as well.
I am trying to create an iOS standalone in both LiveCode ver 6.7 and 7.0.3, and LiveCode told me that I needed Xcode version 6.1, which contains the iOS 8.1 SDK. After deleting Xcode 6.3 and reverting to Xcode 6.1.1, which I verified does contain the right SDK, I am getting the "could not find a valid identity to use for the selected profile" error.
I have triple-checked that my Internal App ID was copy/pasted correctly from my Apple Developer account, and I selected the profile I made from the Apple Developer portal. What else could be mismatched to cause this error?
Thanks,
Phil E.
Re: Why can't I test my program with iOS simulator?
Hi Phil,
I've deleted your new topic just to keep everything in the one place.
First, I would recommend upgrading to LiveCode 7.0.5 as this is now compatible with Xcode 6.3.
The could not find a valid identity to use for the selected profile generally means that a valid production certificate is not valid/present for the profile you are trying to use. I would double check that this is present in your key chain.
If everything looks ok, then the easiest thing to do would be to remove all profiles/certificates from your system and re-download them directly from your iOS develpoer account. This will ensure you are using the most recent and correct versions
Kind Regards,
Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
-
I've deleted your new topic just to keep everything in the one place.
First, I would recommend upgrading to LiveCode 7.0.5 as this is now compatible with Xcode 6.3.
The could not find a valid identity to use for the selected profile generally means that a valid production certificate is not valid/present for the profile you are trying to use. I would double check that this is present in your key chain.
If everything looks ok, then the easiest thing to do would be to remove all profiles/certificates from your system and re-download them directly from your iOS develpoer account. This will ensure you are using the most recent and correct versions
Kind Regards,
Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
-
Re: Why can't I test my program with iOS simulator?
Hello Neil,
Thanks for your reply, and yes that's fine about the thread.
As for the versions, I went ahead and upgraded to LiveCode 7.0.5 rc2 and upgraded my Xcode to 6.3. I have had the same results. I even went ahead and recreated my Certificate and Provisioning Profile. Again, same results.
I have now deleted all Profiles and Certificates and Certificate Signing Requests from my computer to try and see if that somehow helps, but my hopes are not high.
Where do I look next?
Thanks,
Phil E.
Thanks for your reply, and yes that's fine about the thread.
As for the versions, I went ahead and upgraded to LiveCode 7.0.5 rc2 and upgraded my Xcode to 6.3. I have had the same results. I even went ahead and recreated my Certificate and Provisioning Profile. Again, same results.
I have now deleted all Profiles and Certificates and Certificate Signing Requests from my computer to try and see if that somehow helps, but my hopes are not high.
Where do I look next?
Thanks,
Phil E.
Re: Why can't I test my program with iOS simulator?
Update:
I got it to give me a different error:
"code signing failed with Warning: --resource-rules has been deprecated in Mac OS X >= 10.10!
iPhone Developer: *Name* (*Code*): ambiguous (matches "iPhone Developer" *Name* (*Code*)" in *filepath*)"
What does this mean?
Thanks,
Phil
I got it to give me a different error:
"code signing failed with Warning: --resource-rules has been deprecated in Mac OS X >= 10.10!
iPhone Developer: *Name* (*Code*): ambiguous (matches "iPhone Developer" *Name* (*Code*)" in *filepath*)"
What does this mean?
Thanks,
Phil
Re: Why can't I test my program with iOS simulator?
Never mind - I realized I needed to learn a little more about the Keychain. Went ahead and deleted a key that had been copied there, and things seem to be working well.
Thanks Neil for your help!
Phil E.
Thanks Neil for your help!
Phil E.
Re: Why can't I test my program with iOS simulator?
Hi Phil,
Its great to hear you are up and running
Kind Regards,
Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
-
Its great to hear you are up and running

Kind Regards,
Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
-
Re: Why can't I test my program with iOS simulator?
I'm also trying to save it as standalone app livecode answered"could not find a valid identity to use for the selected profile". What can I do to fix this?
I'm using LiveCode 7.0.1 and Xcode 6.1.1. The iOS 7.1 simulator worked. My problem started in the new year. My apps no longer available on iPads.(blank icon left) I went to reload the file and get this error - a valid provisioning profile for this executable was not found.(IOs team provisioning profile expires April 26, 2016) The apps were built using LC 6.7 so i installed 7.0.1(rc2). Now I cannot save as a standalone - getting error "could not find a valid identity to use for selected profile". So I went back to LC 6.7 and i get error " iOS device build requires the iOS 7.1 sdk platform to be installed with Xcode 5.1.
Please let me know which version of LC works with which version of Xcode and how can i reload my file back onto iPads.
I made 6 test apps for testing on 6 iPads they all worked fine until January. Very frustrating.Thanks
I'm using LiveCode 7.0.1 and Xcode 6.1.1. The iOS 7.1 simulator worked. My problem started in the new year. My apps no longer available on iPads.(blank icon left) I went to reload the file and get this error - a valid provisioning profile for this executable was not found.(IOs team provisioning profile expires April 26, 2016) The apps were built using LC 6.7 so i installed 7.0.1(rc2). Now I cannot save as a standalone - getting error "could not find a valid identity to use for selected profile". So I went back to LC 6.7 and i get error " iOS device build requires the iOS 7.1 sdk platform to be installed with Xcode 5.1.
Please let me know which version of LC works with which version of Xcode and how can i reload my file back onto iPads.
I made 6 test apps for testing on 6 iPads they all worked fine until January. Very frustrating.Thanks
Re: Why can't I test my program with iOS simulator?
Hi Sue,
take a look at this compatibility list:
http://forums.livecode.com/phpBB2/viewt ... 04#p136604
Best
Klaus
take a look at this compatibility list:
http://forums.livecode.com/phpBB2/viewt ... 04#p136604
Best
Klaus
Re: Why can't I test my program with iOS simulator?
Thank you for the compatibility list. Still cannot save my original files as standalone app in LC 7.0.1 or LC 6.7(original built in 6.7).When saving as standalone still get this error "could not find a valid identity to use for selected profile". And when trying to load the original file back onto iPad get error. valid provisioning profile for this executable not found.
If i update all to LiveCode 7.1.1 - Xcode 7.1- Mac OS 10.10/10.11 – iOS 9.1 and redo profile certificates, will i be able to open original stack in LC , save a standalone and load to iPad.
If i update all to LiveCode 7.1.1 - Xcode 7.1- Mac OS 10.10/10.11 – iOS 9.1 and redo profile certificates, will i be able to open original stack in LC , save a standalone and load to iPad.
Re: Why can't I test my program with iOS simulator?
Update: I can now save as standalone in LC 7.0.1(rc2) but when loading to device i get error - application does not specify CFBundleExecutable. How do i solve this error?? Thankssab2 wrote:Thank you for the compatibility list. Still cannot save my original files as standalone app in LC 7.0.1 (rc2)or LC 6.7(original built in 6.7).When saving as standalone still get this error "could not find a valid identity to use for selected profile". And when trying to load the original file back onto iPad get error. valid provisioning profile for this executable not found.
If i update all to LiveCode 7.1.1 - Xcode 7.1- Mac OS 10.10/10.11 – iOS 9.1 and redo profile certificates, will i be able to open original stack in LC , save a standalone and load to iPad.
Re: Why can't I test my program with iOS simulator?
If I update all to LiveCode 7.1.1 - Xcode 7.1- Mac OS 10.10/10.11 – iOS 9.1 and have valid profile certificates, will I be able to open (app original stack LC files built using LC 6.7) in updated LC , save a standalone and load to iPad? Thank you