• 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
Adding the com.apple.security.network.client entitlement
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding the com.apple.security.network.client entitlement


  • Subject: Adding the com.apple.security.network.client entitlement
  • From: Carl Hoefs <email@hidden>
  • Date: Sat, 29 Sep 2018 17:20:38 -0700

macOS Mojave, Xcode 10.0

I have a macOS "command line tool" in ObjC that was working fine through macOS
High Sierra. It asserts an ad-hoc network using CWInterface
-startIBSSModeWithSSID:security:channel:password:error:

Now, on Mojave, it generates an error:

Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named
com.apple.airportd was invalidated." UserInfo={NSDebugDescription=The
connection to service named com.apple.airportd was invalidated.}

My hunch is that the com.apple.security.network.client entitlement is now
required.

Running a "codesign -d --entitlements :-" on the binary shows only 1
entitlement:

<key>com.apple.security.network.client</key>
  <true/>

Since a command line tool has no associated Entitlements.plist file, how do I
add the com.apple.security.network.client entitlement to the binary?

-Carl

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Adding the com.apple.security.network.client entitlement
      • From: Daniel Jalkut <email@hidden>
  • Prev by Date: Re: A problem with big delays between 2 SCDynamicStore state events
  • Next by Date: Re: Adding the com.apple.security.network.client entitlement
  • Previous by thread: Re: A problem with big delays between 2 SCDynamicStore state events
  • Next by thread: Re: Adding the com.apple.security.network.client entitlement
  • Index(es):
    • Date
    • Thread