
Building Standalone Application
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 58
- Joined: Mon Dec 05, 2011 5:35 pm
Building Standalone Application
I'm not new to Livecode, just kind of rusty.
I am trying to do a save as a standalone application but I get a message that this requires the iOS 8.1 SDK platform to be installed. I have Xcode 6.1.1 and LiveCode 7.0.1 installed. I have an app (Number Wizard) in the App Store that doesn't run under iOS 8 and I am trying to fix it. Any help is appreciated.

Re: Building Standalone Application
Just tested this and it works fine here: Mac OS X 10.10.1 - LC7.0.1 - Xcode 6.1.1
Go to LiveCode > Preferences > Mobile Support, if you see a red square to the right of "Available Device SDKs" then you just need to click on "Add Entry" and locate your copy of Xcode.
If you already have a bright green square, I would click the "Remove Entry" button to remove the current Xcode link and then replace it.
If that still doesn't work and your copy of Xcode etc. is up-to-date and your system permissions are all good then you may need to contact RunRev.
Paul
Go to LiveCode > Preferences > Mobile Support, if you see a red square to the right of "Available Device SDKs" then you just need to click on "Add Entry" and locate your copy of Xcode.
If you already have a bright green square, I would click the "Remove Entry" button to remove the current Xcode link and then replace it.
If that still doesn't work and your copy of Xcode etc. is up-to-date and your system permissions are all good then you may need to contact RunRev.
Paul
-
- Posts: 58
- Joined: Mon Dec 05, 2011 5:35 pm
Re: Building Standalone Application
Paul,
Thanks for the help. This was helpful. I had a directory listed already but I do have the dreaded red square. I deleted the entry and tried to add a new one. My Xcode is in judy -- library -- developer -- Xcode. I previously had \developer as the entry. When I try to add a new one, I keep getting 'cancel' or 'open' as the only options so I never get to save a path. It starts out in the Xcode folder and tells me to select my Xcode app bundle. I uninstalled and reinstalled Xcode later today. I hope I didn't delete something that I shouldn't.
Thanks.
Judy
Thanks for the help. This was helpful. I had a directory listed already but I do have the dreaded red square. I deleted the entry and tried to add a new one. My Xcode is in judy -- library -- developer -- Xcode. I previously had \developer as the entry. When I try to add a new one, I keep getting 'cancel' or 'open' as the only options so I never get to save a path. It starts out in the Xcode folder and tells me to select my Xcode app bundle. I uninstalled and reinstalled Xcode later today. I hope I didn't delete something that I shouldn't.
Thanks.
Judy
-
- Posts: 58
- Joined: Mon Dec 05, 2011 5:35 pm
Re: Building Standalone Application
I get nothing returned when I run this in Terminal:
ls /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
ls /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
Re: Building Standalone Application
Judy, that should be easy to sort…
Click the "Add Entry" button, answer "4.3 or later" at the next prompt, then in the window that opens next navigate to your main Applications folder and click on the Xcode.app application to highlight it then choose the "Open" button at the bottom of the window.
Now you should see a green square in the the LC Preferences Mobile Support panel.
LiveCode needs to link to the Xcode.app in your Applications folder, and not the stuff in the ~/Library/Developer folder.
HTH
Paul
Click the "Add Entry" button, answer "4.3 or later" at the next prompt, then in the window that opens next navigate to your main Applications folder and click on the Xcode.app application to highlight it then choose the "Open" button at the bottom of the window.
Now you should see a green square in the the LC Preferences Mobile Support panel.
LiveCode needs to link to the Xcode.app in your Applications folder, and not the stuff in the ~/Library/Developer folder.
HTH
Paul
-
- Posts: 58
- Joined: Mon Dec 05, 2011 5:35 pm
Re: Building Standalone Application
Thanks (again), Paul. This definitely fixed my problem. I still can't do a build though. Now I get 'could not find a valid identity to use for the selected profile.' I made sure that my provisioning profile is valid. My certificate expired so I created a new one (in case that mattered). I also added my new iPad mini as a device.
-
- Posts: 58
- Joined: Mon Dec 05, 2011 5:35 pm
Re: Building Standalone Application
I don't know what I did but I am getting 'codesigning failed with Warning: ---resource-rules have been deprecated in Mac OS X >= 10.10! iPhone Developer: Judy Novotny (7HVHP9W3KJ): ambiguous (matches "iPhone Developer: Judy Novotny (7HVHP9W3KJ)" and "iPhone Developer: Judy Novotny (7HVHP9W3KJ)" in /users/judy/library/Keychains/login.keychain).
uh-oh.
uh-oh.
-
- Posts: 58
- Joined: Mon Dec 05, 2011 5:35 pm
Re: Building Standalone Application
I restored my keychain and was able to get rid of "'codesigning failed with Warning: ---resource-rules have been deprecated in Mac OS X >= 10.10! iPhone Developer: Judy Novotny (7HVHP9W3KJ): ambiguous (matches "iPhone Developer: Judy Novotny (7HVHP9W3KJ)" and "iPhone Developer: Judy Novotny (7HVHP9W3KJ)" in /users/judy/library/Keychains/login.keychain)."
I am still getting 'could not find a valid identity to use for the selected profile'
I am still getting 'could not find a valid identity to use for the selected profile'
-
- Posts: 58
- Joined: Mon Dec 05, 2011 5:35 pm
Re: Building Standalone Application
I revoked my certificate and requested a new one. I got rid of the missing identity error back am back to: "'codesigning failed with Warning: ---resource-rules have been deprecated in Mac OS X >= 10.10! iPhone Developer: Judy Novotny (7HVHP9W3KJ): ambiguous (matches "iPhone Developer: Judy Novotny (7HVHP9W3KJ)" and "iPhone Developer: Judy Novotny (7HVHP9W3KJ)" in /users/judy/library/Keychains/login.keychain)."
I deleted any expired entries but I am still getting this.

I deleted any expired entries but I am still getting this.

-
- Posts: 58
- Joined: Mon Dec 05, 2011 5:35 pm
Re: Building Standalone Application
OMG. I found an old post that suggested looking for my name in Keychain. It displayed an entry that wasn't displayed before and it worked!!!!














Re: Building Standalone Application
That's great news, Happy LiveCoding New Year! 
Paul

Paul