On Mar 22, 2012, at 2:58 PM, Markus Spoettl wrote:

> On 3/22/12 7:38 PM, Alex Zavatone wrote:
>> As a guy who HATES WITH A BURNING PASSION the bouncy elastic
>> NSScrollViews and sudden app termination when they are on my
>> computer's OS, I'd like to ask a few questions in the hopes of
>> minimizing this atrocity against mankind (for me) when/if I have to
>> switch to Lion.
>> 
>> As far as I can tell in Lion codesigned apps, you can't open up the
>> guys of the app and change ANYTHING, even if it's in a pList file
>> within the app.
>> 
>> IIRC, Codesigning prevents any modification of any codesigned app's
>> internals on Lion.
>> 
>> Am I correct in this assumption?
> 
> No. It depends on whether the app or the system check if its signature is 
> valid. If neither cares, nothing will happen.

OK.  I just went over to a fresh Mac running Lion, duplicated TextEdit, edited 
the info.plist inside the app, added a space, saved it and tried to launch the 
app.

It immediately quit due to a codesigning error.  This tells me that codesigned 
apps can't be modified at all.

If you are right and I am wrong, Is there a project setting in Xcode that 
allows us to control this?  Or some other flag somewhere?

> 
> I'm using Xcode with a switched-out GIT IDE plugin so that I can get rid of 
> the GIT integration. Xcode is code signed, but doesn't seem to mind me 
> rearranging it's bowels.
> 

OK, so that tells me that you answer is the right one.  But still, something is 
preventing a codesigned app from being edited.

Hmmm.

- Alex Zavatone



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to