Hi all, I'm developing a standalone SwiftUI watchOS app (no iOS host or extension), targeting watchOS 11.5, and running into persistent connection issues with Xcode. Xcode rarely detects my Apple Watch (Series 7, watchOS 11.5) Sometimes it appears nested under the iPhone; most of the time, it doesn’t Errors include: OS version is lower than the deployment target (both are 11.5) Unable to install... device not supported Connection error 4000, Tunnel timeout error 1001 Ensure Wi-Fi is enabled on both machines (Wi-Fi is on and on the same network) Once in a while, the app does install, but mostly I’m blocked. What I’ve Tried Verified pairing and trust Cleaned builds, nuked Derived Data and caches Reset iPhone privacy settings Removed and re-added my Apple ID Used xcrun xctrace list devices (watch inconsistently appears) Despite this, the app only installs about 5% of the time. Testing (or even running) on real hardware is nearly impossible, and has become incredibly frustrating for me. Any help
Search results for
xcode github
92,017 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Getting the same issue 'ITMS-90717: Invalid large app icon' when building my app on Xcode Cloud using the latest beta versions. The versions listed in the workflow are as follows: Xcode Version: Xcode 26 beta 6 (17A5305f) macOS Version: macOS Tahoe 26 beta 7 (25A5346a) Hoping for some updates to this issue soon!
Topic:
Developer Tools & Services
SubTopic:
Instruments
Tags:
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
When the delete button is clicked, it invokes the deleteRecord() method, as defined in the preceding code. Subsequently, the system outputs the message successful delete deleteRecordIDS = ..., (The deleteRecordIDs is not empty.) Finally, I refreshed the CloudKit dashboard and clicked the Query Records button on the web interface; however, the deleted CKRecord still appears to exist. When I reinstalled the app, The record was downloaded again. I would like to upload the minimal Xcode test project, but I am currently unsure of the procedure.
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags:
@DTS Engineer Hi Quinn, I double checked, in an iOS playground, this time with an older Xcode (13.2) on an older Mac. And it does work, as it did with Xcode 16.4, as shown by the screenshot.
Topic:
Programming Languages
SubTopic:
Swift
Tags:
@kthchew First off, I'd like to say thank you very much for your timely reply. Second, I'd like to just say Wow! Yes, an LLM slid that in and I didn't even think to question its authenticity. I would have thought that Xcode would have told me something wasn't right and the error it did report reinforced to me that there was a legitimate entitlement missing. I removed that entitlement from the entitlements file and the error went away immediately and the app built to my device. Again, thank you so much. Who knows how much longer I would have battled this fake entitlement. Lesson learned.
Topic:
App & System Services
SubTopic:
Notifications
Same problem here. Using Xcode 26 beta 6 and the latest version of icon composer (checked today). If I get the icon composer exported icons and use Preview to remove the alpha channel, I can submit with no problems, but the whole point of icon composer is to have those transparency/Liquid Glass effects…
Topic:
Developer Tools & Services
SubTopic:
Instruments
Tags:
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?
I'd make sure that the endpoint that you're configuring in Xcode settings complies with the industry Chat Completions specification. — Ed Ford, DTS Engineer
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
in this example: struct ContentView: View { var body: some View { Button(Tap Me) { // Action to perform when the button is tapped print(Button was tapped!) startAccelerometer() } } } you see the error Cannot find 'startAccelerometer' in scope because startAccelerometer is outside the scope of the structure ContentView (which begins at its { and ends at its }. The compiler doesn't know you mean the function called startAccelerometer inside your MyViewController class. That's a good thing, because names are often re-used in different places in code. In your more recent example, your ContentView doesn't refer to startAccelerometer, and there is no code to call it (what happened to your button? Your screen is blank and white because that's what an empty content view looks like. Your startAccelerometer function, if called, would call itself again and again until your program ran out of stack space and was terminated. You usually don't need a UIViewController in a SwiftUI app. Interfacing between
Topic:
Developer Tools & Services
SubTopic:
Xcode
You must provide iMessage App Icon when building sticker packs. Select the Stickers file in your Xcode project, then confirm that you provided all icons in the iMessage App Icon well.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
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 = IDELaunchiPhoneSimulat
You must provide iMessage App Icon when building sticker packs. Did you add al the required icons in the iMessage App Icon well in your Xcode project?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
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: 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?