• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: 'ditto' troubles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'ditto' troubles


  • Subject: Re: 'ditto' troubles
  • From: Fritz Anderson <email@hidden>
  • Date: Tue, 23 Feb 2010 14:43:21 -0600

On 23 Feb 2010, at 2:11 PM, Steve Cronin wrote:

> I have all of this working including a build step that compresses the appropriate release version of Helper
> (/usr/bin/ditto -c -k --sequesterRsrc --keepParent)
>
> At the time the user requests I initiate an NSTask and deploy:
> 	NSTask *unzipTask=[[NSTask alloc] init];
> 	[unzipTask setLaunchPath:@"/usr/bin/ditto"];
> 	[unzipTask setArguments:[NSArray arrayWithObjects:@"-x",@"-k",sourcePath,targetPath,nil]];
>
> The problem is that the deployed Helper file has the 'X' icon and displays the "application is damaged.." message.
>
> If I take the Helper.zip file from the 'contents' and manually double click it then the decompression works fine….

You don't say whether you made the intermediate test of running

/usr/bin/ditto -x -k Helper.zip SomewhereElse.app

There might be diagnostic output.

Also, did try to determine in what sense the expanded application was damaged? Did you audit the expanded Info.plist and MacOS/Helper files? Permissions (especially x bit for MacOS/Helper)? `files MacOS/Helper`?

	— F

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: 'ditto' troubles
      • From: Steve Cronin <email@hidden>
References: 
 >'ditto' troubles (From: Steve Cronin <email@hidden>)

  • Prev by Date: Re: NSPredicateEditor losing nextKeyView
  • Next by Date: Re: Core Data: Custom to-many relationship setter not being invoked
  • Previous by thread: 'ditto' troubles
  • Next by thread: Re: 'ditto' troubles
  • Index(es):
    • Date
    • Thread