Hello,
I’m encountering an issue where an alert dialog keeps appearing repeatedly in my swift playground project. I pressed "Allow" button but it keeps appearing again.
Does anyone can help me about it?
Dive into the vast array of tools, services, and support available to developers.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I am facing a severe audio routing instability issue when using CallKit and the Zego Express SDK on iOS. The problem is that the audio route immediately reverts from the Speaker back to the Earpiece, effectively disabling the Speaker button functionality.📝 Observed BehaviorWhen the user taps the native CallKit Speaker Button, the audio route is correctly changed to the Speaker, but then instantly flips back to the Receiver (Earpiece), as shown in the system log captured via AVAudioSession.routeChangeNotification monitoring.🧾 Log Evidence (Flapping Occurs in 0.4 seconds)The following log snippet clearly illustrates the system overriding the user's action (reason: 4) with an unexpected CategoryChange (reason: 3) event:
TimestampComponentReason CodeDescriptionRouteIs
Speaker16:31:18.009[CallKitManager]4Override (CallKit/ControlCenter)Loa ngoài
(Speaker)true16:31:18.411[CallKitManager]3CategoryChangeThiết bị nhận (Receiver)false
Recently, I have experienced this issue and the alert keep popping on my playground non-stop although I pressed "
allow". I have attached the issue screenshot in this post. Can anyone help me with that.
There are multiple iOS simulator runtimes located at /System/Library/AssetsV2/com_apple_MobileAsset_iOSSimulatorRuntime which I don't need. I tried the following approaches to delete them but not working.
Xcode > Settings > Components > Delete (It can delete some but not all of them)
xcrun simctl runtime list (It doesn't show the old runtimes)
sudo rm (Operation not permitted)
sudo rm -rf cc1f035290d244fca4f74d9d243fcd02d2876c27.asset
Password:
rm: cc1f035290d244fca4f74d9d243fcd02d2876c27.asset/AssetData/096-69246-684.dmg: Operation not permitted
rm: cc1f035290d244fca4f74d9d243fcd02d2876c27.asset/AssetData: Operation not permitted
rm: cc1f035290d244fca4f74d9d243fcd02d2876c27.asset/Info.plist: Operation not permitted
rm: cc1f035290d244fca4f74d9d243fcd02d2876c27.asset/version.plist: Operation not permitted
rm: cc1f035290d244fca4f74d9d243fcd02d2876c27.asset: Operation not permitted
I have two questions:
Why "xcrun simctl runtime list" is unable to list some old runtimes?
How to delete them?
I am building a data logging app that logs the iphone's movement data at 120 hertz and 200 but for some reason its always capped at 100. does anyone know if there a hardware issue or is there a code problem that could be linked to this.
made in Xcode.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Hi,
Since Xcode 26.2 beta 1, till now (I thought RC or actual release will solve this issue) I have problems exporting archive to appstore via Xcode Cloud (locally everything works and using Xcode 26.2 I was able to submit app to AppStore).
Build is archived successfully but during export I get an error Exporting for App Store Distribution failed. Please download the logs artifact for more information.
In xcodebuild-export-archive.log I see multiple attempts & errors like this
2025-12-13T08:29:34.040644840Z 2025-12-13 00:29:33.900 xcodebuild[10889:58988] DVTServices: Sending request 9A4173F4-CD87-4A76-95FC-501B4D11EF22 to <http://172.16.55.70:8089/services/v1/capabilities> for session DVTFoundation.DVTServicesSessionProxy.
2025-12-13T08:29:34.040647258Z Method: POST
2025-12-13T08:29:34.040648780Z
2025-12-13T08:29:34.040650230Z Headers:
2025-12-13T08:29:34.040651730Z {
2025-12-13T08:29:34.040653539Z Accept = "application/vnd.api+json";
2025-12-13T08:29:34.040655403Z "Accept-Encoding" = "gzip, deflate";
2025-12-13T08:29:34.040673847Z "Content-Length" = 124;
2025-12-13T08:29:34.040675883Z "Content-Type" = "application/vnd.api+json";
2025-12-13T08:29:34.040677903Z "User-Agent" = Xcode;
2025-12-13T08:29:34.040681998Z "X-HTTP-Method-Override" = GET;
2025-12-13T08:29:34.040684468Z "X-Xcode-Version" = "26.2 (17C52)";
2025-12-13T08:29:34.040686326Z }
2025-12-13T08:29:34.040688028Z
2025-12-13T08:29:34.040689711Z Payload:
2025-12-13T08:29:34.040692163Z {"urlEncodedQueryParams":"teamId=8CKLLLC9UE&filter%5BreferenceType%5D=bundle&filter%5BincludeRequestable%5D=true&limit=200"}
2025-12-13T08:29:34.308538247Z 2025-12-13 00:29:34.208 xcodebuild[10889:58988] DVTServices: Received response for 9A4173F4-CD87-4A76-95FC-501B4D11EF22 @ <http://172.16.55.70:8089/services/v1/capabilities>. Code = 0
2025-12-13T08:29:34.308555026Z 2025-12-13 00:29:34.208 xcodebuild[10889:58988] DVTServices: Response payload: {
2025-12-13T08:29:34.308557639Z "errors" : [ {
2025-12-13T08:29:34.308569919Z "id" : "0316154c-332b-4f9d-a90a-5770d4f8dc1a",
2025-12-13T08:29:34.308573588Z "status" : "400",
2025-12-13T08:29:34.308575871Z "code" : "PARAMETER_ERROR.INVALID",
2025-12-13T08:29:34.308578343Z "title" : "A parameter has an invalid value",
2025-12-13T08:29:34.308581767Z "detail" : "A parameter 'filter[includeRequestable]' has an invalid value : ''includeRequestable' is not a valid field name.'",
2025-12-13T08:29:34.308584989Z "source" : {
2025-12-13T08:29:34.308587270Z "parameter" : "filter[includeRequestable]"
2025-12-13T08:29:34.308589531Z }
2025-12-13T08:29:34.308591437Z } ]
2025-12-13T08:29:34.308593381Z }
2025-12-13T08:29:34.308595389Z
2025-12-13T08:29:34.308597297Z
2025-12-13T08:29:34.308600188Z 2025-12-13 00:29:34.208 xcodebuild[10889:58988] DVTServices: Could not fetch capabilities from network due to error: error = 'A parameter has an invalid value'
When I use Xcode 26.1.1 to export the same commit, eveything works and workflow sends build to AppStoreConnect, any ideas what might cause this issue? Unfortunately I need to use Xcode 26.2 if I want to use tabViewBottomAccessory(isEnabled:content:) bcs even though this api is available since iOS 26.1, it's not available in Xcode 26.1
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Tags:
Entitlements
Provisioning Profiles
Xcode Cloud
I recently had my developer account terminated. In the final termination email, it said:
"If applicable, no further payments will be made to you pursuant to Section 7.1 of the Paid Applications agreement (Schedules 2 and 3 to the ADP Agreement)."
I've talked to multiple different developers who also had 3.2f account terminations. Some of them say that they got all their remaining earnings paid out 3-6 months later. Others have said that Apple just kept the money forever.
How can I find out if Apple will pay me my account's remaining balance?
When I got the original pending termination notice, I was still able to log into App Store Connect to view everything.
But immediately after I got the final termination notice email, I could no longer even log into App Store Connect.
Could anybody please help me? I'm dependent on the unpaid earnings as a young 21 indie developer.
Thank you!! :)
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
[Submitted as FB20950954]
Xcode Simulator causes crackling and distortion in audio playback across all apps (Apple Podcasts, Music, third-party).
REPRO STEPS
Open any audio app and start playback
Note the audio quality
Launch Xcode Simulator
After a few seconds, note audio quality again
Quit Xcode Simulator
Audio returns to normal
CURRENT
Audio has crackling and distortion while Simulator is running.
EXPECTED
Clean audio playback regardless of whether Simulator is running.
SYSTEM INFO
macOS 26.1 (25B78)
Xcode 26.1 (17B55)
Simulator 26.0 (1058)
Hi everyone,
We run our CI builds on a Mac mini. On my local MacBook, incremental builds work properly and build times are fast, but on CI it looks like Xcode rebuilds everything from scratch every time, and the build is about 6 minutes slower than local.
In Xcode 26, “compilation caching” became available. My understanding was that if DerivedData is preserved between CI runs, compilation caching / incremental builds should reduce build time.
So I tried specifying the DerivedData path as an absolute path in our xcodebuild command to reuse it across builds. However, it still seems to do a full rebuild every time and the build time didn’t improve.
Has anyone seen a similar issue with incremental builds on CI (Mac mini) with Xcode 26? Any advice on what to check or how to configure CI so incremental builds / caching actually work would be greatly appreciated.
Thanks!
Hi Apple Developer Community and Enrollment Team,
Update on organization enrollment H6899PPP9F for AI Prosperity Limited (D-U-N-S [yours]): All initial issues (D-U-N-S, email blocks, docs) resolved weeks ago, with enrollment number issued—yet final activation remains pending over 7 weeks since full submission on 11/27/2025. No ETA or outreach despite prior calls/emails/forum posts.
To highlight the stakes: Our app powers a joint venture under the "Freedom Mastery" brand (planners promising QR-app access), with ~+10K customer engagements via physical sales trying to download the app. Key proof (attachments), 500-1000 customers added every day from now on:
Amazon Seller Central (Nov 1–Dec 11, 2025): 9,360 units, $323K+ sales, avg $30/order—listings here tease app integration (1K–4K reviews/SKU).
Shopify (same period): 9,999+ orders, $63K+ sales, 195K sessions—direct traffic to app waitlist.
Redacted JV agreement excerpt: Confirms AI Prosperity Limited's legal authority/control over "Freedom Mastery" branding and sales.
Dev entity (AI Prosperity Limited) matches all docs/D-U-N-S, but the JV tie may need verification—happy to provide full details. These buyers (many iOS users) are inquiring daily; delays risk churn/refunds in our habit-tracking space.
Request: Escalate to senior review for activation/ETA. Ready for any clarifications.
Thanks—excited to launch on Apple!
Frederik
AI Prosperity Limited
Enrollment ID: H6899PPP9F
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
Tags:
Subscriptions
Developer Tools
Accounts
Apple Business Manager
“Side Button Access” Capability cannot be found under capabilities and when trying to add the entitlement com.apple.developer.side-button-access.allow manually, I got the invalid entitlement error.
Xcode: 26.2, MacOS: 26.2.
In previous versions of the simulator, it was possible to import files into the Files app by dragging them from the Finder into the Simulator. It appears that in the iOS 26 Simulator, this opens the file in Safari.
I've only tried it with .json files so far.
The documentation at https://developer.apple.com/documentation/xcode/sharing-data-with-simulator says that the original behaviour should happen:
To add files to Simulator, select one or more files in Finder on your Mac, then click the Share button. Select Simulator from the share destination list. Choose the simulated device from the drop-down list. Simulator opens the Files app, and lets you select where to save the files.
I'd love to learn if this is intentional behaviour, and if so, what workarounds there might be. I use this pattern quite a lot, as I have a HealthKit app, and I've built a system that allows me to export workouts as JSON files from a real device, that I can then import into a simulator for testing.
Edit: I found a workaround. Make a folder in Files.app, then search for it within ~/Library/Developer/CoreSimulator/Devices. Open the folder in Finder, then add any files you want to be available in the Simulator.
We’re facing an issue with Xcode 26.1 where code coverage is not being generated. All our test cases run and pass successfully, but the .xccovreport / .xccovarchive files are never produced.
Code coverage is enabled in the scheme, and this setup used to work correctly in earlier Xcode versions. We are trying to determine whether this is a configuration issue on our end or a possible Xcode 26.1 bug.
Is anyone else experiencing the same problem with code coverage in Xcode 26.1?
Any insights or workarounds would be appreciated.
I'm using Vision framework (DetectFaceLandmarksRequest) with the same code and the same test image to detect face landmarks. On iOS 18 everything works as expected: detected face landmarks align with the face correctly.
But when I run the same code on devices with iOS 26, the landmark coordinates are outside the [0,1] range, which indicates they are out of face bounds.
Fun fact: the old VNDetectFaceLandmarksRequest API works very well without encountering this issue
How I get face landmarks:
private let faceRectangleRequest = DetectFaceRectanglesRequest(.revision3)
private var faceLandmarksRequest = DetectFaceLandmarksRequest(.revision3)
func detectFaces(in ciImage: CIImage) async throws -> FaceTrackingResult {
let faces = try await faceRectangleRequest.perform(on: ciImage)
faceLandmarksRequest.inputFaceObservations = faces
let landmarksResults = try await faceLandmarksRequest.perform(on: ciImage)
...
}
How I show face landmarks in SwiftUI View:
private func convert(
point: NormalizedPoint,
faceBoundingBox: NormalizedRect,
imageSize: CGSize
) -> CGPoint {
let point = point.toImageCoordinates(
from: faceBoundingBox,
imageSize: imageSize,
origin: .upperLeft
)
return point
}
At the same time, it works as expected and gives me the correct results:
region is FaceObservation.Landmarks2D.Region
let points: [CGPoint] = region.pointsInImageCoordinates(
imageSize,
origin: .upperLeft
)
After that, I found that the landmarks are normalized relative to the unalignedBoundingBox. However, I can’t access it in code. Still, using these values for the bounding box works correctly.
Things I've already tried:
Same image input
Tested multiple devices on iOS 26.2 -> always wrong.
Tested multiple devices on iOS 18.7.1 -> always correct.
Environment:
macOS 26.2
Xcode 26.2 (17C52)
Real devices, not simulator
Face Landmarks iOS 18
Face Landmarks iOS 26
Moving the cursor left and right becomes extremely sluggish, though up-down movement and mouse clicks are normal. The Apple Store Genius checked the hardware and even reinstalled the OS, but the issue remains.
Topic:
Developer Tools & Services
SubTopic:
Swift Playground
Tags:
Developer Tools
Swift
Swift Playground
I have been using Xcode Version 26.1.1 on macOS Tahoe Version 26.1. In VIM mode, whenever I quickly tap d twice, to delete the complete line, most of the time Xcode crashes. Is anyone else facing this issue? Should I move to any older version of Xcode or any other solve for this?
Hello.
I migrated yesterday two machines from OS15 to OS26 (same Ram; M1Max chip). On the first one, a MBP, everything is allright, and my old Metal projects can compile and run, even with MacOS12 as a destination.
On the second computer (MacStudio) I got a compile "error: cannot execute tool 'metal' due to missing Metal Toolchain; use: xcodebuild -downloadComponent MetalToolchain".
I spent hours on many forums and tried all proposed solutions and still get the same error. Any idea? Thanks
Hello, colleagues.
I am reaching out to the community with an issue that is likely quite common. Unfortunately, I have not been able to resolve it independently and would like to confirm if my approach is correct.
Core Problem: VoIP push notifications are not delivered to the application when it is in the background or terminated. After reviewing existing discussions on the forum, I concluded that the cause might be related to CallKit not having enough time to register. However, in my case, I am using AppDelegate, and in theory, CallKit registration should occur quickly enough. Nevertheless, the issue persists.
Additional Question: I would also like to clarify the possibility of customizing the CallKit interface. Specifically, I am interested in adding custom buttons (for example, to open a door). Please advise if such functionality is supported by CallKit itself, or if a different approach is required for its implementation.
Thank you in advance for your time and attention to my questions. For a more detailed analysis, I have attached a fragment of my code below. I hope this will help clarify the situation.
Main File
@main
struct smartappApp: App {
@UIApplicationDelegateAdaptor private var delegate: AppDelegate
@StateObject private var navigationManager = NavigationManager()
init() {
print("Xct")
if !isRunningTests() {
DILocator.instance
.registerModules([
ConfigModule(),
SipModule(),
AuthModule(),
NetworkModule(),
CoreDataModule(),
RepositoryModule(),
DataUseCaseModule(),
SipUseCaseModule()
])
}
}
func application(_ application: UIApplication,
didReceiveRemoteNotification userInfo: [AnyHashable: Any],
fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) {
print("Axtest")
completionHandler(.newData)
}
var body: some Scene {
App Delegate File
class AppDelegate: UIResponder, UIApplicationDelegate {
private let voipRegistry = PKPushRegistry(queue: .main)
private var provider: CXProvider?
func application(_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
setupPushKit()
setupCallKit()
return true
}
public func regist(){
setupPushKit()
setupCallKit()
}
private func setupPushKit() {
voipRegistry.delegate = self
voipRegistry.desiredPushTypes = [.voIP]
DispatchQueue.main.async {
self.voipRegistry.pushToken(for: .voIP)
}
}
// MARK: - CallKit Setup
private func setupCallKit() {
let configuration = CXProviderConfiguration(localizedName: "MyApp")
configuration.maximumCallGroups = 1
configuration.maximumCallsPerCallGroup = 1
configuration.supportsVideo = true
configuration.iconTemplateImageData = UIImage(named: "callIcon")?.pngData()
provider = CXProvider(configuration: configuration)
provider?.setDelegate(self, queue: .main)
}
// MARK: - Background Launch Handling
func application(_ application: UIApplication,
didReceiveRemoteNotification userInfo: [AnyHashable: Any],
fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) {
print("Axtest")
completionHandler(.newData)
}
}
extension AppDelegate: PKPushRegistryDelegate {
func pushRegistry(_ registry: PKPushRegistry,
didUpdate pushCredentials: PKPushCredentials,
for type: PKPushType) {
APNsImpl().registerToken(token: pushCredentials.token.map { String(format: "%02.2hhx", $0) }.joined())
}
func pushRegistry(_ registry: PKPushRegistry,
didReceiveIncomingPushWith payload: PKPushPayload,
for type: PKPushType) {
guard type == .voIP else {
return
}
print("call kit")
let payloadDict = payload.dictionaryPayload
let update = CXCallUpdate()
update.remoteHandle = CXHandle(type: .phoneNumber, value: "dsfsdfddsf")
update.hasVideo = payloadDict["hasVideo"] as? Bool ?? false
provider?.reportNewIncomingCall(with: UUID(),
update: update,
completion: { error in
if let error = error {
print("Failed to report incoming call: \(error.localizedDescription)")
} else {
print("Successfully reported incoming call")
}
})
}
}
Hi everyone,
I’m currently integrating AlarmKit into an app and would like to offer users the same selection of built-in iOS alarm sounds that the native Clock app provides.
So far, I haven’t found any API in AlarmKit (or elsewhere in the SDK) that exposes the system’s default alarm tones. Before implementing a custom sound library, I wanted to check:
Is there any way to access or present the iOS system alarm sounds when creating alarms with AlarmKit?
Or are developers limited to custom audio files that we provide ourselves?
If anyone has experience with AlarmKit or knows whether this is technically possible (or explicitly restricted), I’d really appreciate your insights.
Thanks!
Topic:
Developer Tools & Services
SubTopic:
Instruments
iPhone, iPad, MacOS Build numbers are all the same but each actual platform reports the actual version.