• 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: App's r/w access to /Library/Preferences/OurAppPrefsFolder, using Xcode 3.2.6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: App's r/w access to /Library/Preferences/OurAppPrefsFolder, using Xcode 3.2.6
      • From: Scott Ribe <email@hidden>
References: 
 >App's r/w access to /Library/Preferences/OurAppPrefsFolder, using Xcode 3.2.6 (From: Jim Prouty <email@hidden>)
 >Re: App's r/w access to /Library/Preferences/OurAppPrefsFolder, using Xcode 3.2.6 (From: Scott Ribe <email@hidden>)
 >Re: App's r/w access to /Library/Preferences/OurAppPrefsFolder, using Xcode 3.2.6 (From: Jim Prouty <email@hidden>)
 >Re: App's r/w access to /Library/Preferences/OurAppPrefsFolder, using Xcode 3.2.6 (From: Scott Ribe <email@hidden>)

  • Prev by Date: Link fails for test but not app build
  • Next by Date: Re: Link fails for test but not app build
  • Previous by thread: Re: App's r/w access to /Library/Preferences/OurAppPrefsFolder, using Xcode 3.2.6
  • Next by thread: Re: App's r/w access to /Library/Preferences/OurAppPrefsFolder, using Xcode 3.2.6
  • Index(es):
    • Date
    • Thread