Problem after upgrading to el capitan

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Pistris
Posts: 148
Joined: Mon Jul 20, 2015 2:40 am

Problem after upgrading to el capitan

Post by Pistris » Sat Apr 02, 2016 7:07 am

HI Guys
I did a clean install of el capitan on my laptop today
so i installed indy 8 the latest release and Xcode 7.2

i had to fix the problem with the apple expired certificate
re installed my certificates (all new ones)

and i get the following error when trying to build a stand alone

codesigning failed with Warning:
--resource-rules has been deprecated in
Mac OS X >= 10.10!
/Users/Edd/Desktop/Eventdriven/eventdriven.app:
signed app bundle with Mach-O universal
(armv7) [com.eventdriveninc.eventdriven]

Please help

rca
Posts: 16
Joined: Wed Aug 03, 2011 8:22 pm

Re: Problem after upgrading to el capitan

Post by rca » Sat Apr 09, 2016 8:13 pm

Hi
I get the same problem - codesigning failed...

The warning is identical text with the addition of arm64 alongside armv7

Builds had been working for months with 6.7.8, and Xcode 7.1.1 on 10.11.x
related events seems to be
- just created a new provisioning profile
- upgraded to 10.11.4 from 10.11.3

I found this reference to build scripts and resource-rules, but it didn't work
http://www.jayway.com/2015/05/21/fixing ... d-scripts/

I checked, and my builds do include a resource-rules.plist, which is what the warning is about, as I understand

It might be some combination with certificates as well? - I have tried replacing all certificates, with no luck

I have tried Livecode 6.7.8 and 7.1.1 with Xcode 7.1.1 - no luck
I have tried LiveCode 7.1.2 and 7.1.3 with Xcode 7.2.1 - no luck
and now Xcode 7.3 is out!

In the end, I have taken an older mac, and installed Yosemite (10.10.5), Xcode 7.1.1 and Livecode 6.7.8 and installed the certificates (the ones that don't work in the above combos) - and it works
any suggestions would be appreciated - I've lost 7 or 8 hours on this so far..

rca
Posts: 16
Joined: Wed Aug 03, 2011 8:22 pm

Re: Problem after upgrading to el capitan

Post by rca » Tue Apr 19, 2016 4:05 pm

OK
so there is a fix to this

See forum->Board Index->Platform Specific-> iOS Deployment
http://forums.livecode.com/phpBB2/viewt ... 49&t=26958

to summarize, the above thread points out that it is a bug, and describes a fix - a new build is pending. I applied the fix to 6.7.8 which I use, and it seems to be fine.
The fix takes a few seconds to do, and worked perfectly for me - I had spend a dozen hours testing, and setting up different machines..

Bug Report is here
http://quality.livecode.com/show_bug.cgi?id=17292

For the fix, see Panos's comment - moment 9, summarized here
-----------------
1. Type in the msg box:
edit the script of stack "revsaveasiosstandalone"

2. In the script editor window that appears, find the code snippet:

delete file tEntitlementsFile
if not (tResult contains "signed bundle") then
throw "codesigning failed with" && tResult
end if

it is at the end of the revSaveAsMobileStandaloneMain() handler.

3. Modify it as follows:

delete file tEntitlementsFile
if not (tResult contains "signed bundle" or tResult contains "signed app bundle") then
throw "codesigning failed with" && tResult
end if

4. Press cmd + S to save the stack.
-----------
good luck
r

dave.kilroy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 858
Joined: Wed Jun 24, 2009 1:17 pm
Contact:

Re: Problem after upgrading to el capitan

Post by dave.kilroy » Tue Apr 19, 2016 7:06 pm

Hi both - yep @rca has found the work-around that the rest of us building for iOS are also using - until rc2 comes out...

Dave
"...this is not the code you are looking for..."

Post Reply