Cannot add Wi-Fi Aware entitlement due to automatic signing failure

I tried to test out the new Wi-Fi aware framework but encountered the issue in the title. My operation steps are as follows: 1) create a hello world project using Xcode 26.0 beta 2) add Wi-Fi Aware entitlement and service following the sample code in "Building peer-to-peer apps" 3) run my code on an iPhone 16 Pro and fail at the building stage.

The error message is "Provisioning profile "iOS Team Provisioning Profile: [my project name]" doesn't include the com.apple.developer.wifi-aware entitlement." I also tried to build the sample app but faced the same issue.

Answered by DTS Engineer in 844555022

Hmmmm, this is working for me. Here’s what I did:

  1. Using Xcode 26.0 beta on macOS 15.5, I created a new project from the iOS > App template.

  2. In Signing & Capabilities, I added Wi-Fi Aware.

  3. And enabled the Publish option.

  4. I selected Any iOS Device as my run destination.

  5. And then built the app.

This is what I see:

% codesign -d --entitlements - Test788807.app 
Executable=/Users/quinn/Library/Developer/Xcode/DerivedData/Test788807-dcmkbvkgvfliviecoruqexidkqbe/Build/Products/Debug-iphoneos/Test788807.app/Test788807
[Dict]
	[Key] application-identifier
	[Value]
		[String] SKMME9E2Y8.com.example.apple-samplecode.Test788807
	[Key] com.apple.developer.team-identifier
	[Value]
		[String] SKMME9E2Y8
	[Key] com.apple.developer.wifi-aware
	[Value]
		[Array]
			[String] Publish
	[Key] get-task-allow
	[Value]
		[Bool] true
% security cms -D -i Test788807.app/embedded.mobileprovision | plutil -p -
{
  …
  "Entitlements" => {
    "application-identifier" => "SKMME9E2Y8.com.example.apple-samplecode.Test788807"
    "com.apple.developer.team-identifier" => "SKMME9E2Y8"
    "com.apple.developer.wifi-aware" => [
      0 => "Publish"
      1 => "Subscribe"
    ]
    "get-task-allow" => 1
    "keychain-access-groups" => [
      0 => "SKMME9E2Y8.*"
      1 => "com.apple.token"
    ]
  }
  …
}

The app claims com.apple.developer.wifi-aware with the Publish option and that claim is authorised by the development profile.


Are you a member of a paid team? Many capabilities are only available to paid teams. The canonical listing of such things is Developer Account > Reference > Supported capabilities (iOS). It hasn’t been updated to cover the Wi-Fi Aware capability yet (r. 153813100) but, when it is, I suspect that there will only be checks in the first two columns.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Hmmmm, this is working for me. Here’s what I did:

  1. Using Xcode 26.0 beta on macOS 15.5, I created a new project from the iOS > App template.

  2. In Signing & Capabilities, I added Wi-Fi Aware.

  3. And enabled the Publish option.

  4. I selected Any iOS Device as my run destination.

  5. And then built the app.

This is what I see:

% codesign -d --entitlements - Test788807.app 
Executable=/Users/quinn/Library/Developer/Xcode/DerivedData/Test788807-dcmkbvkgvfliviecoruqexidkqbe/Build/Products/Debug-iphoneos/Test788807.app/Test788807
[Dict]
	[Key] application-identifier
	[Value]
		[String] SKMME9E2Y8.com.example.apple-samplecode.Test788807
	[Key] com.apple.developer.team-identifier
	[Value]
		[String] SKMME9E2Y8
	[Key] com.apple.developer.wifi-aware
	[Value]
		[Array]
			[String] Publish
	[Key] get-task-allow
	[Value]
		[Bool] true
% security cms -D -i Test788807.app/embedded.mobileprovision | plutil -p -
{
  …
  "Entitlements" => {
    "application-identifier" => "SKMME9E2Y8.com.example.apple-samplecode.Test788807"
    "com.apple.developer.team-identifier" => "SKMME9E2Y8"
    "com.apple.developer.wifi-aware" => [
      0 => "Publish"
      1 => "Subscribe"
    ]
    "get-task-allow" => 1
    "keychain-access-groups" => [
      0 => "SKMME9E2Y8.*"
      1 => "com.apple.token"
    ]
  }
  …
}

The app claims com.apple.developer.wifi-aware with the Publish option and that claim is authorised by the development profile.


Are you a member of a paid team? Many capabilities are only available to paid teams. The canonical listing of such things is Developer Account > Reference > Supported capabilities (iOS). It hasn’t been updated to cover the Wi-Fi Aware capability yet (r. 153813100) but, when it is, I suspect that there will only be checks in the first two columns.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Are you a member of a paid team? Many capabilities are only available to paid teams.

Thanks Quinn! I am not a member of the apple developer program and this is probably the reason that I cannot use the Wi-Fi Aware capability.

When I tried to enroll in the program as an individual, I encountered an issue that "Your enrollment in the Apple Developer Program could not be completed at this time". I have contacted the support team but got no response yet. Do you know any common reason of this issue, or is there anything I can try for successful enrollment?

Update: after changing my primary email as a gmail and adding a US credit card to the payment methods, Apple finally allowed me to enroll in the developer program. Now I'm waiting for the purchase to be processed.

Cannot add Wi-Fi Aware entitlement due to automatic signing failure
 
 
Q