Re: App's r/w access to /Library/Preferences/OurAppPrefsFolder, using Xcode 3.2.6
Re: App's r/w access to /Library/Preferences/OurAppPrefsFolder, using Xcode 3.2.6
- Subject: Re: App's r/w access to /Library/Preferences/OurAppPrefsFolder, using Xcode 3.2.6
- From: Jim Prouty <email@hidden>
- Date: Tue, 02 Jul 2013 16:10:58 -0700
On Jul 2, 2013, at 2:45 PM, Scott Ribe wrote:
>> which is why I'm asking on an Xcode list: how can I get these entitlements into our app using Xcode 3.2.6?
>
> So how are you trying to sign??? The built-in stuff in Xcode 3.2.6 pre-dates Gatekeeper, so I'm using a script phase to codesign and productbuild after Xcode is done with everything else:
>
> codesign -vv -f -s "3rd Party Mac Developer Application: ...." --entitlements ./sources/something.plist $CODESIGNING_FOLDER_PATH
Well, that may be exactly the problem. I've got a certificate installed in my keychain, and my Xcode project's Build Settings simply has
CODE_SIGN_IDENTITY = Developer ID Application: WaveMetrics, Inc.
The name (“common name”) of a valid code-signing certificate in a keychain within your keychain path. A missing or invalid certificate will cause a build error. [CODE_SIGN_IDENTITY]
There *is* a Code Signing Entitlements I'm not using because the Xcode documentation says it is only for iOS:
"CODE_SIGN_ENTITLEMENTS (Code Signing Entitlements)
Description: Filename. Specifies the name of the application’s entitlements property-list file. This build setting applies only to iOS applications.
Example value: Entitlements.plist"
but probably I need to ignore that and use it to set my app's entitlements anyway, or use a build phase script.
--Jim
========================================================================
Jim "How does it work?" Prouty
Voice: (503) 620-3001, FAX: (503) 620-6754
Makers of IGOR Pro, scientific data analysis and graphing for Mac and PC
http://www.wavemetrics.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden