Hi everyone, I'm totally new to this and am just having fun making an app for myself. I'm attempting to get a broadcastupload extension working, but whatever i do i cant get the replaykit to work. I keep getting this error in xcode:
Provisioning profile "Project v6 Broadcast Upload Development" doesn't include the com.apple.developer.replaykit.broadcast entitlement.
What I've tried:
Created separate App IDs for each target (Explicit App IDs, not Wildcard)
Enabled App Groups capability on all three App IDs in Apple Developer Portal
Selected the correct App Group for all App IDs
Added App Groups capability in Xcode for all targets and all build configurations
Created entitlements file with com.apple.developer.replaykit.broadcast: true for Broadcast Upload extension
Recreated provisioning profiles multiple times
Used manual code signing with correct certificates
I'm completely lost. I reached out directly to apple developer support and they just told me to come here...
Any help would be grgeatly appreciated.
Xcode
RSS for tagBuild, test, and submit your app using Xcode, Apple's integrated development environment.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I've filed a FB already through standard channels (FB ID: FB19032008) but I'll post it here in case it may get some attention from others experiencing similar issues. On macOS 26 Beta 5 and Xcode 26 Beta 5 (and earlier revisions afaik) Icon Composer specifies a minimum window size that greatly exceeds the bounds of the 1280x800/832pt video modes available on 13in MacBooks, and which also is too large for the default 1440x900 video mode on non-notched 13in MacBook Air/Pro models as this causes a default-size 64pt dock to occlude the window. I've attached screenshots depicting this behaviour in the two above described cases. Best solution seems like reducing min window size to something that will fit reasonably in a 1280x800pt viewport including the dock and menu bar (e.g. 1000x600 or something).
Hi. I have the following code with results in an error message
//
// ViewController.swift
// Accelerometer
//
//
import UIKit
import CoreMotion
let motion = CMMotionManager()
class ViewController: UIViewController {
@IBOutlet var xaxis: UILabel!
@IBOutlet var yaxis: UILabel!
@IBOutlet var zaxis: UILabel!
let movementManager = CMMotionManager()
override func viewDidLoad() {
super.viewDidLoad()
movementManager.startAccelerometerUpdates()
movementManager.accelerometerUpdateInterval = 0.1
Timer.scheduledTimer(withTimeInterval: 0.1, repeats: true) { _ in
if let data = self.movementManager.accelerometerData {
// self.xaxis.text = String(data.acceleration.x)
//self.yaxis.text = String(data.acceleration.y)
//self.zaxis.text = String(data.acceleration.z)
var xoutput: () = self.xaxis.text = String(data.acceleration.x)
var xoutput = xoutput * 9.81
print(xoutput)
}
}
}
}
I realize that it is not working since the whole value of "xoutput" has a string in it. Any advice on making it so it will be a Double?
THANK YOU!
Topic:
Developer Tools & Services
SubTopic:
Xcode
Hi everyone. I am trying to place accelerometer data on my iPhone App. However, when printing the data, the data is on top of each other and sometimes at the top of the screen. Labels are also abbreviated. I am clueless. I would appreciate any help. Below are photos.
Thank you!!
Topic:
Developer Tools & Services
SubTopic:
Xcode
Hi everyone. I have the following code that I am trying to execute in Xcode. I then install it on my iPhone. It doesn't run at all and I don't know why. Any thoughts?
Thank you.
import CoreMotion
class MyViewController: UIViewController {
let motionManager = CMMotionManager()
func startAccelerometer() {
if motionManager.isAccelerometerAvailable {
motionManager.accelerometerUpdateInterval = 0.1 // 10 updates per second
motionManager.startAccelerometerUpdates(to: .main) { (data, error) in
guard let accelerometerData = data else { return }
let x = accelerometerData.acceleration.x
let y = accelerometerData.acceleration.y
let z = accelerometerData.acceleration.z
// Process the x, y, and z acceleration values here
print("X: \(x), Y: \(y), Z: \(z)")
}
}
}
}
Topic:
Developer Tools & Services
SubTopic:
Xcode
Hi all,
I'm trying to install the Xcode 26 beta on Tahoe (M4 Mac mini). I tried the latest beta 6 both the universal and the apple silicon version, but at startup the system says the app is corrupted and will be deleted. I tried this multiple times - always with a fresh download. Then I downloaded the beta 5, which told me at startup that there is no macOS SDK available and then Xcode also quits.
I want to update/test my macOS apps for the upcoming Tahoe and want to adapt for the new design. On my Mac is the Xcode version 16.4 installed and this is working correctly. In the last years I started with earlier versions of Xcode betas, but this year I'm a little bit more late.
Are there any steps I missed or is this a known issue yet? I had never before so much trouble installing any beta. What can I do?
Best regards,
Jürgen Terpe
I have managed to configure Apple Intelligence in Xcode to access my deployed models in Azure AI Foundry.
However, when I would try to chat with the selected model, I get the following error:
Message from Azure OpenAI: Failed request due to: bad request
Additional context:
{"error": {"code": "BadRequest", "message": "Response API v1 is in GA, please use remove api-version or use api-version=latest."}}
Is there a way to remove v1 from the endpoint used or to define an explicit api-version?
Or do I have to change my deployment in Azure AI Foundry?
Hello everyone,
I am currently developing an iMessage Sticker Pack in Xcode 16.4 (Build 16F6) on macOS 15.6.1.
The project builds without errors, but when running in the iOS 18.6 Simulator (iPhone 15 Pro, iPhone 16, etc.), the Sticker Pack does not show up inside Messages. Instead, the Simulator displays a white screen or the sticker drawer simply does not include my extension.
In the logs I consistently see this error:
FrontBoard[app] error: Application "de.eazyapp.smileystickerpack.StickerPackExtension" is unknown to FrontBoard
Simulator device failed to launch de.eazyapp.smileystickerpack.
Domain: FBSOpenApplicationServiceErrorDomain
Code: 1
Failure Reason: The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "de.eazyapp.smileystickerpack" is unknown to FrontBoard").
User Info: {
BSErrorCodeDescription = RequestDenied;
DVTErrorCreationDateKey = "2025-08-21 10:11:22 +0000";
FBSOpenApplicationRequestID = 0x6e63;
IDERunOperationFailingWorker = IDELaunchiPhoneSimulatorLauncher;
SimCallingSelector = "launchApplicationWithID:options:pid:error:";
}
The request to open "de.eazyapp.smileystickerpack" failed.
Domain: FBSOpenApplicationServiceErrorDomain
Code: 1
Failure Reason: The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "de.eazyapp.smileystickerpack" is unknown to FrontBoard").
User Info: {
BSErrorCodeDescription = RequestDenied;
FBSOpenApplicationRequestID = 0x6e63;
}
The operation couldn’t be completed. Application "de.eazyapp.smileystickerpack" is unknown to FrontBoard.
Domain: FBSOpenApplicationErrorDomain
Code: 4
Failure Reason: Application "de.eazyapp.smileystickerpack" is unknown to FrontBoard.
User Info: {
BSErrorCodeDescription = NotFound;
}
Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : {
"device_identifier" = "A3986FB9-55ED-42CC-9336-F695C4CB9451";
"device_model" = "iPhone17,1";
"device_osBuild" = "18.6 (22G86)";
"device_platform" = "com.apple.platform.iphonesimulator";
"device_thinningType" = "iPhone17,1";
"dvt_coredevice_version" = "443.24";
"dvt_coresimulator_version" = "1010.15";
"dvt_mobiledevice_version" = "1784.140.4";
"launchSession_schemeCommand" = Run;
"launchSession_state" = 1;
"launchSession_targetArch" = arm64;
"operation_duration_ms" = 23478;
"operation_errorCode" = 1;
"operation_errorDomain" = FBSOpenApplicationServiceErrorDomain;
"operation_errorWorker" = IDELaunchiPhoneSimulatorLauncher;
"operation_name" = IDERunOperationWorkerGroup;
"param_debugger_attachToExtensions" = 0;
"param_debugger_attachToXPC" = 1;
"param_debugger_type" = 3;
"param_destination_isProxy" = 0;
"param_destination_platform" = "com.apple.platform.iphonesimulator";
"param_diag_113575882_enable" = 0;
"param_diag_MainThreadChecker_stopOnIssue" = 0;
"param_diag_MallocStackLogging_enableDuringAttach" = 0;
"param_diag_MallocStackLogging_enableForXPC" = 1;
"param_diag_allowLocationSimulation" = 1;
"param_diag_checker_tpc_enable" = 1;
"param_diag_gpu_frameCapture_enable" = 0;
"param_diag_gpu_shaderValidation_enable" = 0;
"param_diag_gpu_validation_enable" = 0;
"param_diag_guardMalloc_enable" = 0;
"param_diag_memoryGraphOnResourceException" = 0;
"param_diag_mtc_enable" = 1;
"param_diag_queueDebugging_enable" = 1;
"param_diag_runtimeProfile_generate" = 0;
"param_diag_sanitizer_asan_enable" = 0;
"param_diag_sanitizer_tsan_enable" = 0;
"param_diag_sanitizer_tsan_stopOnIssue" = 0;
"param_diag_sanitizer_ubsan_enable" = 0;
"param_diag_sanitizer_ubsan_stopOnIssue" = 0;
"param_diag_showNonLocalizedStrings" = 0;
"param_diag_viewDebugging_enabled" = 1;
"param_diag_viewDebugging_insertDylibOnLaunch" = 1;
"param_install_style" = 2;
"param_launcher_UID" = 2;
"param_launcher_allowDeviceSensorReplayData" = 0;
"param_launcher_kind" = 0;
"param_launcher_style" = 0;
"param_launcher_substyle" = 0;
"param_runnable_appExtensionHostRunMode" = 0;
"param_runnable_productType" = "com.apple.product-type.application.messages";
"param_structuredConsoleMode" = 1;
"param_testing_launchedForTesting" = 0;
"param_testing_suppressSimulatorApp" = 0;
"param_testing_usingCLI" = 0;
"sdk_canonicalName" = "iphonesimulator18.5";
"sdk_osVersion" = "18.5";
"sdk_variant" = iphonesimulator;
}
System Information
macOS Version 15.6.1 (Build 24G90)
Xcode 16.4 (23792) (Build 16F6)
Timestamp: 2025-08-21T12:11:22+02:00
Steps I already tried:
Verified Bundle Identifiers (App + Extension)
Confirmed Stickers.xcstickers is only in the Extension target, not the App target
Checked that the Extension is properly listed under Embed Foundation Extensions
Performed Clean Build Folder, Simulator reset, and reinstall
Tried on a fresh Mac with clean Xcode install
Reproduced consistently across multiple iOS 18 Simulators
Steps to reproduce
Create new iMessage Sticker Pack App in Xcode
Add PNG/APNG stickers into Stickers.xcstickers
Run on Simulator (iOS 18.6)
Open Messages → App Drawer
Sticker Pack is missing, extension does not load
Environment
Xcode 16.4 (16F6)
macOS 15.6.1 (24G90)
iOS Simulator 18.6
Project type: iMessage Sticker Pack
Question
Has anyone else experienced this issue with iMessage Sticker Packs on iOS 18 Simulators?
Any guidance would be appreciated
Thank you,
Hakan
When I create a sticker app in any version of Xcode or for any iOS version, I keep running into the following error:
Error acquiring assertion: <Error Domain=RBSAssertionErrorDomain Code=2 "Could not find attribute name in domain plist" UserInfo={NSLocalizedFailureReason=Could not find attribute name in domain plist}>
I only added stickers after creating the project and this is what happens after running it. I have cleared Derived Data, tried creating a new Info.plist, but nothing seems to solve this core issue. This also occurs both when attempting to run the project on a simulated phone and a physical device. This error also only happens when the sticker app is opened in iMessage. I have looked for solutions everywhere, but none seem to solve my problem. Am I overlooking something?
I'm experiencing some rare crash but only if I enable Xcode's "thread performance checker". The crash typically ends with these lines:
std::_1::hash_table<std::_1::hash_value_type<long
qosWaiterSignallerInvariantCheck
...
and sometimes with "findPrimitiveInfoNoAssert" on the second line.
I wonder if I am doing anything wrong, or is it a (hopefully known) issue in thread performance checker itself? It does look like some sort of data race bug, if to guess there's some internal dictionary that's not properly protected with a mutex or something.
I'm using Xcode 16.4 running on macOS 15.5, building and running an app on iPhone with iOS 18.5.
Cheers!
Good day!
When your project have total 887 or more SPM local targets and then you try to build it, xcodebuild will be crash.
Crash log:
SWBBuildService-2025-08-11-151103.ips
Thread 2 Crashed:: Dispatch queue: com.apple.root.default-qos.cooperative
0 libxpc.dylib 0x197c4826c _availability_version_check + 8
1 libswiftCore.dylib 0x1a9b44428 __isPlatformVersionAtLeast + 92
2 libswiftCore.dylib 0x1a9a6e054 _swift_allocObject_ + 1100
3 SWBMacro 0x104a9c408 specialized _ArrayBuffer._consumeAndCreateNew(bufferIsUnique:minimumCapacity:growForAppend:) + 116
4 SWBMacro 0x104a97b58 specialized Array.append<A>(contentsOf:) + 116
5 SWBMacro 0x104a954e8 MacroEvaluationProgram.executeInContext(_:withResultBuilder:alwaysEvalAsString:) + 160
6 SWBMacro 0x104a96548 MacroEvaluationProgram.executeInContext(_:withResultBuilder:alwaysEvalAsString:) + 4352
7 SWBMacro 0x104a96548 MacroEvaluationProgram.executeInContext(_:withResultBuilder:alwaysEvalAsString:) + 4352
8 SWBMacro 0x104a96548 MacroEvaluationProgram.executeInContext(_:withResultBuilder:alwaysEvalAsString:) + 4352
9 SWBMacro 0x104a96548 MacroEvaluationProgram.executeInContext(_:withResultBuilder:alwaysEvalAsString:) + 4352
10 SWBMacro 0x104a96548 MacroEvaluationProgram.executeInContext(_:withResultBuilder:alwaysEvalAsString:) + 4352
But if you try to build Package.swift via swift build command, it works.
Here you can open sample project:
Just Package.swift with SPM 900 targets
Open Package.swift via Xcode 26 any beta and try to build
Xcode workspace with SPM 900 targets
Open MyApp.xcworkspace and try to build
You can also make by self the Package.swift (also make required directories for SPM):
// swift-tools-version: 5.9
import PackageDescription
// let count = 800 // no crash
let count = 900 // crash
let targetsNames = (1...count).map { "Pkg1Target\($0)" }
let targets = targetsNames.map { Target.target(name: $0) }
let package = Package(
name: "Pkg1TargetLibrary",
platforms: [.iOS(.v16)],
products: [
.library(name: "Pkg1TargetLibrary", targets: targets.map(\.name)),
],
targets: targets
)
Do I need this permission to test out development on my local phone? I believe I do since I cannot get the monitor extension to embed AND sign, making it so i cannot test this feature. As in the class will not instantiate and trigger after specific time has happened
The issue I am facing is that even when I run my app from a physical device, I get
the error "No FCM token found," while push notifications are enabled in my
Xcode capabilities. I don't see the FCM token generated in the users' collection on
Firestore. While the code setup seems good, the same error persists. I have implemented the logic to retrieve the FCM token,
hat the necessary permissions are granted in my app.Here are my Firestore rules:
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
// Allow authenticated users to read and write their own user data
match /users/{userId} {
allow read: if request.auth != null;
allow update: if request.auth != null &&
(request.auth.uid == userId ||
// Allow FCM token updates
request.resource.data.diff(resource.data).affectedKeys().hasOnly(['fcmToken']));
allow create: if request.auth != null;
match /followers/{followerId} {
allow read: if request.auth != null;
allow write: if request.auth != null && request.auth.uid == followerId;
}
match /following/{followingId} {
allow read: if request.auth != null;
allow write: if request.auth != null && request.auth.uid == userId;
}
match /blockedUsers/{blockedUserId} {
allow read, write: if request.auth != null && request.auth.uid == userId;
}
}
// Messages collection
match /messages/{messageId} {
allow create: if request.auth != null &&
(request.resource.data.senderId == request.auth.uid ||
request.resource.data.receiverId == request.auth.uid);
allow read, update, delete: if request.auth != null &&
(resource.data.senderId == request.auth.uid ||
resource.data.receiverId == request.auth.uid);
}
// Chats collection
match /chats/{chatId} {
allow create: if request.auth != null &&
request.auth.uid in request.resource.data.participants;
allow read, update, delete: if request.auth != null &&
request.auth.uid in resource.data.participants;
}
// Call-related documents
match /calls/{callId} {
allow create: if request.auth != null &&
request.auth.uid in [request.resource.data.callerId, request.resource.data.receiverId];
allow read, write: if request.auth != null &&
(request.auth.uid == resource.data.callerId ||
request.auth.uid == resource.data.receiverId);
}
// Posts
match /posts/{postId} {
allow read: if true;
allow create, update: if request.auth != null;
allow delete: if request.auth != null && request.auth.uid == resource.data.userId;
}
// Reports
match /reports/{reportId} {
allow create: if request.auth != null;
allow read: if request.auth != null;
allow update: if request.auth != null;
}
// ✅ New livestreams collection rule added here
match /livestreams/{document} {
allow read, write: if request.auth != null;
}
}
}
[my index.js](https://developer.apple.com/forums/content/attachment/bffd0276-ece5-4ce9-b08b-83e8770cb8f2)
[My code of class AppDelegate](https://developer.apple.com/forums/content/attachment/abba6a58-d513-49d4-a1d4-dc7dfae56e0a)
[code of class AVDelegateWrapper:](https://developer.apple.com/forums/content/attachment/acd15ac0-ba9e-415f-9503-aea88377e92f)
`
[struct ContentView](https://developer.apple.com/forums/content/attachment/4f75c535-860e-488f-835b-63c76586ac50)
`
[And for after Login code : ](https://developer.apple.com/forums/content/attachment/f6af060e-f2bb-417f-af08-a946dd650474)
`
Topic:
Developer Tools & Services
SubTopic:
Xcode
Hi,
I'm updating my iPhone app (iPhone only) to be ready with iOS 26.
I'm building my app using Xcode 26.0 beta 6 (17A5305f) and testing it on an iPad running iPadOS 26 (23A5326a).
I found an issue with my new app icon updated using Icon Composer and I was able to find the issue.
An iPhone only app running on iPadOS 26 doesn't use the provided app icon. It always displays the "standard" light icon.
I just added iPad in Supported Destinations and the app icon now respect light/dark/translucent/tinted modes on the Home Screen.
I submitted feedback FB19768667
Hi,
I'm running into an issue with App Attest in my iOS app, and I'm hoping you can help me troubleshoot.
I've registered my app in App Check for both App Attest and Device Check, and I've double-checked that my bundle ID is correct. I've also enabled App Attest in Xcode capabilities and am testing on a physical device.
However, when I run the app, I'm getting the following error in the console:
Error getting App Check token; using placeholder token instead.
Error: App attestation failed.
HTTP status code: 403
"message": "App attestation failed."
I've tried a few things, but I'm still stuck. Any suggestions on what might be causing this or how to resolve it would be greatly appreciated!
Thanks in advance
I’m migrating some XCTest cases to Swift Testing and hit a runtime error when using tuple arguments within the CI. I don't have an issue when running locally.
[2025-08-21 14:22:13.493] [unit_tests] [WARNING] Could not find test status list for -[FooManagerTests testEndpoint(region:enforce:expectedEndpoint:)]
[2025-08-21 14:22:18.054] [unit_tests] [ERROR] not enough values to unpack (expected 2, got 1)
##[error]Failed to complete Unit Tests -> not enough values to unpack (expected
@Test("Telemetry endpoint routing", arguments: [
(TelemetryRegion.value1, false, Foo.someValue1),
(TelemetryRegion.value2, false, Foo.someValue2),
(TelemetryRegion.value3, true, Foo.someValue3),
(TelemetryRegion.value4, false, Foo.someValue4),
])
func testEndpoint(region: enforce: expectedEndpoint: ) { ... }
I'm trying to distribute an app for internal testing but I'm always getting the below error and the SwiftSupport folder is not created although I tried different fixes/configurations.
How can I debug/see the reason why the SwiftSupport folder is not generated?
Xcode 16.4
Build version 16F6
I tried distributing from the Transporter, Xcode organizer, I tried to archive it both from Xcode and from the command line. There are a couple of answers on StackOverflow, nothing helped.
What could be the problem?
One of the things I tried:
xcodebuild \
-project PhotoBook.xcodeproj \
-scheme PhotoBook \
-configuration Release \
-archivePath Release/PhotoBook.xcarchive \
-destination 'generic/platform=iOS' \
-verbose \
archive
xcodebuild \
-exportArchive \
-archivePath Release/PhotoBook.xcarchive \
-exportPath Release \
-exportOptionsPlist ExportOptions.plist \
-destination 'generic/platform=iOS' \
-verbose
ExportOptions.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>method</key>
<string>app-store-connect</string>
<key>teamID</key>
<string>T672CQXP54</string>
<key>uploadSymbols</key>
<true/>
<key>uploadBitcode</key>
<false/>
<key>signingStyle</key>
<string>manual</string>
<key>provisioningProfiles</key>
<dict>
<key>com.mandelbrotsc.PhotoBook</key>
<string>iOS Distribution Profile</string>
</dict>
</dict>
</plist>
The error:
ITMS-90426: Invalid Swift Support - The SwiftSupport folder is missing. Rebuild your app using the current public (GM) version of Xcode and resubmit it.
Hey there, i start a live activity with notification , and but sometime it can not update, it happens sometime and make me so confuse;
like about 2025-08-19 +8.0 09:20:52
updatetoken : 40ead3fd4dd4a934548c5455c645fc6920edfaa0ddad98abd619dc1d2662389c15d3dc3b420bdec733d9438d25ae61cb55601ae64292b3064a71ffb8d0355633f3f0f2254e6f7438282ce83366d8430c
app can not accept push update msg, and APNs has show success when server send update msg to APP;
how can i check the APNS to APP?
Thanks
Now using Xcode 26 beta 6, and iOS/iPadOS 26 beta 7 - and I found the codes do not compiled with localized name.
Since I have been buidling the codes since beta 1, the app might have localized name in the past. Even Localizable file is there with proper translation. I have however, started to build icon using Icon Composer (before that was not).
I have also tried to add in CFBundleDisplayName and CFBundleName in Localizable file, and same (English is shown).
What have I done wrong or forget to do?
Topic:
Developer Tools & Services
SubTopic:
Xcode
I'm using the WebGPU abstraction library wgpu to build an app using compute shaders that compiles to Metal (on macOS), and in certain patterns where it uses a staging buffer for initial data, the data is just total missing from the capture, breaking other workflows such as shader debugging or seeing the completed results in the final buffer.
I wrote up details including a repro project and screen shots of the issue at https://github.com/gfx-rs/wgpu/issues/8111 . Seems like an Xcode bug. Any ideas? I'm happy to help investigate further if I can.