Posts under Developer Tools & Services topic

Post

Replies

Boosts

Views

Created

ChatGPT in Xcode 26 not recognizing Plus subscription
Hi all, Has anyone else run into this issue in Xcode 26? I’m logged into my paid ChatGPT Plus account, but the Xcode integration doesn’t seem to recognize the subscription. After a short period of use, I get the following error: “Over daily limit. ChatGPT in Xcode will be unavailable for up to 24 hours. For higher limits, sign in with a paid ChatGPT account.” Since I’m already signed in with a paid account, this looks like either a bug or a limitation specific to Xcode. Is this expected behavior, or has anyone found a workaround to make Xcode properly recognize Plus accounts? Thanks in advance for any guidance.
16
10
531
3w
Xcode 26 and Plugin Support: Any Updates?
I’m new to iOS development. Previously, I’ve worked with Python and Django, mainly using JetBrains PyCharm PRO. In PyCharm, I really benefit from plugins like "Rainbow Brackets" , which help a lot with readability and code navigation. As someone who wears glasses, I find such visual aids very helpful for reducing eye strain. While exploring Xcode, I noticed that similar built-in features or up-to-date plugin support seem limited. Considering Apple’s strong focus on accessibility and user experience, I was a bit surprised by this. With Xcode 26 coming soon, I’m also wondering if there will be improvements in plugin support or built-in tools like Swift Linter and Swift Format. Are there any current tools or plugins you’d recommend to fill these gaps?
2
0
97
4w
Output is stuck on String
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!
1
0
90
4w
Fail to archive XCode
I’m trying to archive my app in Xcode but keep running into issues. When I attempt to archive, I see two errors: “Communication with Apple failed. Your team has no device from which to generate a provisioning profile. Connect a device to use or manually add a device ID in the certificate.” “No profiles were found” — Xcode can’t locate a matching iOS development provisioning profile. I’ve already added the device ID manually, set up my bundle identifier in Apple Connect (which was detected), and signed in with my Apple ID in Xcode. What steps should I take to resolve this? If there’s a thread, article, or anything that explains the fix, I will appreciate if you can share it as well. Also, is it common that I created the project, but my role shows as Admin instead of Account Holder? I tried to find a way to change my role from Admin to Account Holder, but I couldn’t find any resources. Thank you in advance for your help!
2
0
175
4w
Learn to code / beginner
Hello everyone, I’m completely new to programming and Apple development, but I’ve always had the strong wish to learn coding and to work more deeply with Apple’s system structures. My main questions are: How should I best start learning? For example, is Swift Playgrounds the right first step? How should I continue afterwards to gain further knowledge, possibly in areas like system architecture, cybersecurity, or cloud computing (even though I don’t want to commit too early to one direction)? Can you recommend a learning schedule or intensity (e.g., how often per day or week I should practice) for someone who works full-time? Is my current MacBook Air (2020, Intel i3, 8 GB RAM, 250 GB SSD) still suitable for learning and beginner development, or would you recommend upgrading to a newer model? On top of that, my English is not perfect yet – is it possible to improve it alongside learning coding? I’m very motivated to finally start this journey, even though I once turned down an IBM apprenticeship when I was younger. Now I want to give it a real try. Any advice, personal experiences, or learning resources would be very much appreciated. Thank you in advance!
4
0
149
4w
Swift Package Fails iOS Validation
My app (called "MuVis - Music Visualizer") passes the macOS App Store verification, but is failing the iOS verification. The errors indicate a problem with the Swift package github.com/Treata11/CBass.  I have been in touch with the CBass package developer (Treata11) as well as the original BASS developers (un4seen.com).  We think the problem is related to CBass swift-package config (which apparently works fine for mac, but doesn’t for iOS). The source code for the package is at the site package.  All of us think that the package is configured correctly in accordance with the latest Apple package development documentation.  Please tell us what is wrong with this package, and how to make it pass the iOS App Store verification. The Xcode error messages from validation testing include several items similar to: Upload Symbols Failed: inline-code The archive did not include a dSYM for the bass.framework with the UUIDs [18D5DBE2-3250-3EDE-B75C-D81B4E9F05AC, A88554A0-9087-3776-AC05-424B2D52F973, DEB682F5-ABBE-39D5-A0F8-8C01C14E178A]. Ensure that the archive's dSYM folder includes a DWARF file for bass.framework with the expected UUIDs. Since the MuVis app is long and complex, I have written a minimal reproducible example app (called "SwiftCBassDemo") for which source code is available at DemoApp. I am using macOS 15.6.1, Xcode 16.4, and iOS 18.6.2.
1
0
104
4w
Updated my iPhone--now none of my testflight builds appear! Please help!
I am a recently joined developer. However, I have 5 app builds, and 3 are in live in the App Store. I recently updated from iPhone 13 mini to iPhone 16e. I am logged into iCloud with my personal Apple ID, but in media & purchases, I am logged in with my Apple dev ID (email has my company domain). For some reason, only my oldest app build is visible in testflight on my iPhone. Logging in on MacBook, I see all 5 apps and current builds. Under testflight tab there, the correct group with my email (same as developer account ID) is listed as invited. Yet, none are visible in my iPhone testflight. Clicking on the invite email gives "Couldn't Load App This invitation cannot be accepted because your Apple Account, (redacted) has already been associated to this app." Does anyone, please, have any advice???
0
0
72
4w
Xcode 26 betas not work working
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
1
0
139
4w
Please enable line-by-line staging of changes in Xcode's code review tool
Right now, if I added a large swatch of contiguous code, the stage feature in Xcode is all or nothing — either I stage all the changes or I stage none of them. It would be a better UX if after spotting the isolates changes within that swatch that are final if I could select them and stage them. This way, it would be easy for me to easily green light all the changes I know are production ready, and then when I'm done, clearly see those which are not and easily be able to hone in on the changes that require some more thought.
1
0
141
4w
Please enable staging from the code review pane
There is a code review (split view) feature. Which is nice. But then when I see a change I want to stage and right click the blue bar in the gutter next to the change, I'm only presented with the option to discard the change, nothing else. So in order to stage I either have to go to the source control window (accessed via the project navigator) or close the code review tool, stage, and then go back to the code review tool.
1
0
104
4w
Xcode won't execute code?
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)") } } } }
7
0
148
4w
Apple Intelligence in Xcode with models hosted in Azure AI Foundry
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?
1
0
64
4w
No FCM token found
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) `
0
0
61
Aug ’25
Issue with creating Sticker Apps
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?
1
0
73
Aug ’25
Where's the replacement for Quartz Debug?
Hi, This can't be right. Is there really no replacement for Quartz Debug?!? As the sole developer on a project who has an Intel Mac and Quartz Debug, I am basically a god now. Everyone else has Apple Silicon and... I think they're randomly guessing at this point. Because I have entire teams sending me Intel Mac builds of stuff just so I can test it in QD. This is THE TOOL we used at NewTek to find performance issues, and THE TOOL I used for a dozen companies after that, to help them with similar issues. If there's no replacement, is there a reason there's no replacement? This feels like a massive step backwards, having to guess at problems like this. -Chilton
1
0
105
Aug ’25
Swift Testing Failed to complete Unit Tests -> not enough values to unpack (expected 2, got 1)
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: ) { ... }
0
0
64
Aug ’25
iMessage Sticker Pack Extension not appearing in iOS 18.6 Simulator (Xcode 16.4)
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
1
0
78
Aug ’25
Not able to enroll
We are facing an issue with creating a developer account for our organisation on the App Store. Apple mentions that there was already an account with this entity whose membership got terminated 4 years back and they can't create another one. We don't have any idea who created that account. It was created and terminated before we got our DUNS number. Despite us submitting proofs that me and my partner are the authorised person for this organisation and creating a case multiple times, we have made no progress on this. How can we escalate this and ensure someone from team actually looks at our case carefully?
0
0
71
Aug ’25