On Tue, Jan 27, 2015, at 11:20 AM, Jon Baumgartner wrote: > My app uses this call, and it worked fine until I sandboxed it. The > documentation for this call says: > > > For sandboxed apps in OS X, the current home directory is not the same as > > the user’s home directory. For a sandboxed app, the home directory is the > > app’s home directory. So if you specified a path of > > /Users/<current_user>/file.txt for a sandboxed app, the returned path would > > be unchanged from the original. However, if you specified the same path for > > an app not in a sandbox, this method would replace the > > /Users/<current_user> portion of the path with a tilde. > > So how do I get /Users/<current_user>/file.txt to output as ~/file.txt > when my app is sandboxed?
Could you please file a Radar describing your use case and share the number here? --Kyle Sluder _______________________________________________ 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