codesigning problem after update to OS X 10.11
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 14
- Joined: Sat Nov 12, 2011 4:53 pm
Re: codesigning problem after update to OS X 10.11
Hmm. This workaround doesn't seem to work any more in 8.0.0 rc1.
If you apply the change to the script of of revSaveAsIOSStandalone and hit command-S you get
"Can't save stack revSaveAsIOSStandalone due to an error: can't open stack script file"
Also, I have the exact combination of resources (and only those) as described in Thierry's helpful update of his official versions for LC-Xcode-iOS:
LiveCode 8.0.0 RC1 – Xcode 7.3 -Mac OS 10.10/10.11 – iOS 9.3
...and I can't even test on the simulator any more. I just get an alert "iPhone simulator 9.2".
Any ideas? I have to say that at the moment this just seems to be one ****ing thing after another...
Cheers
If you apply the change to the script of of revSaveAsIOSStandalone and hit command-S you get
"Can't save stack revSaveAsIOSStandalone due to an error: can't open stack script file"
Also, I have the exact combination of resources (and only those) as described in Thierry's helpful update of his official versions for LC-Xcode-iOS:
LiveCode 8.0.0 RC1 – Xcode 7.3 -Mac OS 10.10/10.11 – iOS 9.3
...and I can't even test on the simulator any more. I just get an alert "iPhone simulator 9.2".
Any ideas? I have to say that at the moment this just seems to be one ****ing thing after another...
Cheers
-
- VIP Livecode Opensource Backer
- Posts: 858
- Joined: Wed Jun 24, 2009 1:17 pm
- Location: Plymouth, UK
- Contact:
Re: codesigning problem after update to OS X 10.11
@creepyTowel
Yep with LiveCode's new installation-by-dmg we can no longer mess with stuff in the app bundle (http://thread.gmane.org/gmane.comp.ide. ... ser/225061) - so until they bring out a new version that fixes the MachO bug you need to apply Panos' work-around each time you launch LiveCode - see comment 13 at http://quality.livecode.com/show_bug.cgi?id=17292
It actually works fine - onwards and upwards!
EDIT: that should read "you need to apply Panos' work-around each time you want to build for iOS"
Yep with LiveCode's new installation-by-dmg we can no longer mess with stuff in the app bundle (http://thread.gmane.org/gmane.comp.ide. ... ser/225061) - so until they bring out a new version that fixes the MachO bug you need to apply Panos' work-around each time you launch LiveCode - see comment 13 at http://quality.livecode.com/show_bug.cgi?id=17292
It actually works fine - onwards and upwards!
EDIT: that should read "you need to apply Panos' work-around each time you want to build for iOS"
Last edited by dave.kilroy on Thu Apr 14, 2016 7:06 pm, edited 1 time in total.
"...this is not the code you are looking for..."
Re: codesigning problem after update to OS X 10.11
I see the same error as CreepyTowel. However, as long as you apply the change, the save error doesn't seem to matter: an iOS standalone builds fine.
Cheers,
Adrian.
Cheers,
Adrian.
-
- Posts: 14
- Joined: Sat Nov 12, 2011 4:53 pm
Re: codesigning problem after update to OS X 10.11
dave.kilroy said Yep with LiveCode's new installation-by-dmg we can no longer mess with stuff in the app bundle
So does this mean the hack to allow iOS apps to run in the background will also no longer work? Oh lordy...
So does this mean the hack to allow iOS apps to run in the background will also no longer work? Oh lordy...
-
- VIP Livecode Opensource Backer
- Posts: 858
- Joined: Wed Jun 24, 2009 1:17 pm
- Location: Plymouth, UK
- Contact:
Re: codesigning problem after update to OS X 10.11
My take on it is that we can hack things like we used to, but can't expect to save them
So in-memory hacks = good - attempting to save hacks to the app bundle = bad
So in-memory hacks = good - attempting to save hacks to the app bundle = bad
"...this is not the code you are looking for..."
Re: codesigning problem after update to OS X 10.11
Damn - I hadn't realised this. I guess there's no way now to do the iOS running in the background change at all now?
I suppose we need to start lobbying for the setting to be in Standalone settings ...
I suppose we need to start lobbying for the setting to be in Standalone settings ...
-
- VIP Livecode Opensource Backer
- Posts: 858
- Joined: Wed Jun 24, 2009 1:17 pm
- Location: Plymouth, UK
- Contact:
Re: codesigning problem after update to OS X 10.11
@Adrian - I don't know, maybe there is a super-hack that allows you to - Scott Rossi asked this very question in this thread http://runtime-revolution.278305.n4.nab ... 03345.html but I don't think got a reply - Peter Brett answered several times on that thread so may ask and see if he replies?
"...this is not the code you are looking for..."
Re: codesigning problem after update to OS X 10.11
Hmmm. Thanks Dave. I think I'll try further messing with revsaveasiosstandalone to see if that at least works. (Though, of course, it's more hassle to do it every time a standalone is built).
Edit: I wonder if the new "experimental" Background Audio setting sets the exits on suspend to false? I'll give it a try in the next couple of days (unless anyone already has done this?)
Edit: I wonder if the new "experimental" Background Audio setting sets the exits on suspend to false? I'll give it a try in the next couple of days (unless anyone already has done this?)
-
- VIP Livecode Opensource Backer
- Posts: 858
- Joined: Wed Jun 24, 2009 1:17 pm
- Location: Plymouth, UK
- Contact:
Re: codesigning problem after update to OS X 10.11
@Adrian - yes changing the in-memory version of revsaveasiosstandalone (what I think of as Panos' work-around) works fine for me - just have set it when you need it as you say...
"...this is not the code you are looking for..."
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: codesigning problem after update to OS X 10.11
Hi creepyTowel,creepyTowel wrote:...
Also, I have the exact combination of resources (and only those) as described in Thierry's helpful update of his official versions for LC-Xcode-iOS:
LiveCode 8.0.0 RC1 – Xcode 7.3 -Mac OS 10.10/10.11 – iOS 9.3
...and I can't even test on the simulator any more. I just get an alert "iPhone simulator 9.2".
Any ideas? I have to say that at the moment this just seems to be one ****ing thing after another...
Cheers
If you are on OS X 10.10, you have to use Xcode 7.2 with LC 8 RC-1, since Xcode 7.3 will not run on OS X 10.10.
If you are on OS X 10.11, you have to use Xcode 7.3.
So my *guess* is that you see this alert because you have tested your stack on iPhone sim 9.2 on OS X 10.10, then saved it, and then tried to test it on OS X 10.11. The stack remembers that it was tested on iPhone sim 9.2, and tries to find this option on OS X 10.11 (but this option is no longer available, so it shows an alert). If this is the case, make sure you explicitly select "iPhone sim 9.3" from the Development -> Test Target menu when you are on OS X 10.11 (and similarly, make sure you select "iPhone sim 9.2" when testing the same stack back on OS X 10.10). If this does not help, please submit a bug report
Now regarding modifying the app bundle, as Dave said, this is no longer possible because of the new dmg permissions. However, you should still make changes "in-memory", just they won't be saved.
@Adrian:
Yes, the new "experimental" Background Audio setting sets the exits on suspend to false, so ticking this checkbox should allow apps to run on the background.
Re: codesigning problem after update to OS X 10.11
Excellent - thanks Panos.
-
- Posts: 14
- Joined: Sat Nov 12, 2011 4:53 pm
Re: codesigning problem after update to OS X 10.11
Thanks Panos
>> If this does not help, please submit a bug report
It didn't help, so I have -- bug 17429.
Cheers
>> If this does not help, please submit a bug report
It didn't help, so I have -- bug 17429.
Cheers
-
- Posts: 14
- Joined: Sat Nov 12, 2011 4:53 pm
Re: codesigning problem after update to OS X 10.11
Apologies. I was looking in the wrong place for the iOS version setting. It does indeed work as you described.
Sorry for wasting your time. I've cancelled the bug report.
Thanks
Sorry for wasting your time. I've cancelled the bug report.
Thanks
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: codesigning problem after update to OS X 10.11
No worries, I am glad it worked
Re: codesigning problem after update to OS X 10.11
I have the same problem also Really disapointed for this.
Tried all the combinations,
LiveCode 7.3 with xCode 7.2
LiveCode8.0 with xCode 7.3
Erased and got the certificates again, not a change, xcode works, loads and app made there on my iPhone, but LiveCode is unable to sign any standalone.
Tried all the combinations,
LiveCode 7.3 with xCode 7.2
LiveCode8.0 with xCode 7.3
Erased and got the certificates again, not a change, xcode works, loads and app made there on my iPhone, but LiveCode is unable to sign any standalone.