> On 26 Jan 2016, at 10:20, Jens Alfke <j...@mooseyard.com> wrote: > > Can an OS X command-line tool, i.e. a plain unbundled executable, have a > bundle ID? I’ve got a tool that I’d like to store user defaults for, but > without a bundle ID it doesn’t get any persistent defaults storage. >
I knew I’d done this but couldn’t remember how nor did google help me. But I found this on the project build settings ‘other linker flags’ -sectcreate __TEXT __Info_plist $(PROJECT_DIR)/nrfjprog/nrfjprog-Info.plist how I found that originally I really will never know. But the program has an info plist file which contains a bundle id and I I use NSBundle methods on it, and it stores persistent preferences. Perhaps that’s enough to get you started. _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (Xcode-users@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to arch...@mail-archive.com