Page 1 of 1

Building Standalone Application

Posted: Wed Dec 31, 2014 6:10 pm
by jnmediaGAd195
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

Posted: Thu Jan 01, 2015 1:41 am
by PBH
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

Re: Building Standalone Application

Posted: Thu Jan 01, 2015 2:00 am
by jnmediaGAd195
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

Re: Building Standalone Application

Posted: Thu Jan 01, 2015 2:18 am
by jnmediaGAd195
I get nothing returned when I run this in Terminal:
ls /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs

Re: Building Standalone Application

Posted: Thu Jan 01, 2015 2:26 am
by PBH
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

Re: Building Standalone Application

Posted: Thu Jan 01, 2015 3:59 am
by jnmediaGAd195
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.

Re: Building Standalone Application

Posted: Thu Jan 01, 2015 4:15 am
by jnmediaGAd195
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.

Re: Building Standalone Application

Posted: Thu Jan 01, 2015 2:03 pm
by jnmediaGAd195
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'

Re: Building Standalone Application

Posted: Thu Jan 01, 2015 4:08 pm
by jnmediaGAd195
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.

:(

Re: Building Standalone Application

Posted: Thu Jan 01, 2015 4:15 pm
by jnmediaGAd195
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!!!!

:D :D :D :D :D :D :D :D :D :D :D :D :D

Re: Building Standalone Application

Posted: Thu Jan 01, 2015 6:49 pm
by PBH
That's great news, Happy LiveCoding New Year! :D

Paul