Bonjour,
Depuis la mise jour de Xcode, j'ai deux erreurs dans le Runner que je n'arrive pas à résoudre.
Merci pour votre aide.
Dive into the vast array of tools, services, and support available to developers.
Post
Replies
Boosts
Views
Activity
We have noticed that the hang reports provided in Xcode include the percentage of hang time, which are used to sort from high to low (effectively sorting by priority).
However when adding these percentages up we do not get 100%. For newer releases the total may be quite low (5-20%) but even for older releases we only get up to around 85%.
Are there reports we are missing? Is there a threshold or something that lower percentage reports are not hitting?
Any level of understanding here would be appreciated!
In my macos app with swiftui i need to hide the content from screen recoding and screen sharing from own device. its not the matter from external device. i used sharingtype = .none for hiding content from screen shot. but didnt got any answer for screen recording.
Do anyone having idea?
Thanks.
In my macos app with swiftui i need to hide the content from screen recoding and screen sharing from own device. its not the matter from external device. i used sharingtype = .none for hiding content from screen shot. but didnt got any answer for screen recording.
Do anyone having idea?
Thanks.
Hi everyone,
I recently made a purchase for my Apple Developer Account, and while I can see the transaction in my bank and have also received an email confirmation from Apple, my account status is still showing “In Progress” after almost 5 days.
What’s worrying me is that some of my friends/colleagues who made the payment at the same time got their accounts activated almost immediately, while mine is still stuck. I’ve already reached out to Apple Support, but so far, I haven’t had any luck resolving the issue.
Has anyone else experienced this kind of delay? Is there anything specific I should do, or should I just keep waiting it out?
Thanks in advance for any advice or suggestions!
Best,
Erris
Hi everyone,
I recently made a purchase for my Apple Developer Account, and while I can see the transaction in my bank and have also received an email confirmation from Apple, my account status is still showing “In Progress” after almost 5 days.
What’s worrying me is that some of my friends/colleagues who made the payment at the same time got their accounts activated almost immediately, while mine is still stuck. I’ve already reached out to Apple Support, but so far, I haven’t had any luck resolving the issue.
Has anyone else experienced this kind of delay? Is there anything specific I should do, or should I just keep waiting it out?
Thanks in advance for any advice or suggestions!
Best,
Erris
It just won't debug any macos widget, not even the default template provided.
I have updated my firebase with the latest version, but on simulator, apple log in and parsing from firebase server is not working on iOS 18 when working fine on the actual test device. However iOS 17 simulator works perfect as X-Code 15.
And previews are not working as well with my current app coding, which was coded in previous X-code 15.
Is there any API changes? Any help?
Or 18.1 might fix this bug?
用Xcode连接真机运行app没问题,断开xcode再打开app tableview点击没反应
我的ID拥有App的测试资格,我借给了身边的朋友进行下载,就在设备满员时,我想进行删除部分设备,发现无法删除,只要退出重新进入App,那些设备仍然在,求解决问
题
I installed Xcode version 16 from the App Store on my new Macbook Pro this month to use the iOS simulator. When browsing with Safari on the iOS Simulator, an internal Webkit error or a Webkit networking error occurs and it does not work properly. Can you tell me how to solve this problem?
Sequoia 15:0
Xcode version 16
I can sign into AppStore Connect from Chrome, not sometimes in Safari.
I get an error dialog that says
The operation couldn’t be completed. Unable to log in with account ''.
An unexpected failure occurred while logging in (Underlying error code -1001).
Apple servers all seem up, so it's just me apparently
I have a number of utility functions/extensions in a .swift file at a central location. In Xcode 15, I used to be able to Add File... and uncheck the box that said COPY. The project would then have a REFERENCE to the file. I could make changes to the shared file and all projects that referenced that file would see the latest version.
I don't see how to do that in Xcode 16. Add File... opens a dialog and the only options (in a drop-down) are Copy and Move -- neither of which I want to do.
How do you make a reference in Xcode 16?
Hi
I am on an iphone 15 pro (US version) running ios 18 build number 22A5282m and the software update page of settings says that beta updates are off (cannot be turned on (there are no public or developer beta options either)) and the main page displays this error message:
“Unable to Check for Update
An error occurred while checking for a software update.
Try Again“ <— in blue
i tried to put my device into recovery mode to restore but it just started bootlooping and only stopped when i let go of the power button.
next was the factory reset. i completely emptied the phone and set it up again. i restored from an earlier backup but the problem still remained. I am unable to update and my battery life is really suffering (3-4h of screen on time. Background app refresh and location services are turned off and low power mode is turned on)
any ideas would be appreciated
thanks
So I have a MacOS application that was working just fine before Xcode 16. The Widgets are not working anymore.
The main application and the widgets share a file in a common App Group.
The widget app now get a permission error when accessing the file.
Also, the Widget Kit simulator keeps crashing.
I also try to start a new project in Xcode, add a target with a Widget extension with an App Intent and run it, and it also crashes.
Sometimes, it doesn't crash but just display the error: "Failed to load widget. The operation couldn't be completed. (WidgetKit_Simulator.WidgetDocument.Error error 2.).
Edited to attach WidgetKit error log
widgetKitError.txt
Since a few days now, I'm using Xcode 16 and I try to install a newly made provisioning profile for my app. On the development profile I always get the message "Failed to install one or more provisioning profiles on the device". But no message at all for the distribution profile. I even tried setting up completely new certificates as I updated to macOS 15 and Xcode 16. No success.
When checking the installed profiles via Finder under
open ~/Library/MobileDevice/Provisioning\ Profiles
I only see profiles from my last project from june this year. It does not matter how often I press "Download Manual Profiles" in Xcode nothing new lands here.
Is there any other way to install newly created profiles? As my project is done with .NET and not a native Xcode project I do not have the option to let Xcode it generate for me (if this would even work).
Any Apple Engineers out there who wrote this error message?
DeviceLinkListener.c:_copyMobileDeviceValue| ERROR: Attempt to copy a value from an unpaired device. Cowardly refusing to do so
ERROR: .... Cowardly refusing to do so
Any thoughts?
I click on 'trust this computer' (on the iPhone) and the error is triggered.
FB15285137
MacOS Sequoia
iOS 18, iPhone 13 mini (previously paired happily with Xcode 15)
Here's a concise post for the Apple Developer Forums:
Title: Swift Macro for SwiftUI Previews Not Recognized in Xcode
Hello everyone,
I've developed a Swift macro swift-inject-preview that generates SwiftUI previews (PreviewProvider or #Preview). However, Xcode seems to ignore the previews generated by the macro, likely because it searches for PreviewProvider/#Preview or similar text in the file before macro expansion.
Has anyone encountered a similar issue or found a workaround for getting Xcode to recognize previews created through Swift macros?
Any help or insight would be greatly appreciated!
Thank you!
Daniil Voidilov
I recently upgraded my Mac to Sequoia 15.0 (24A335) so I had to upgrade Xcode & command line tools to 16. I need command line tools 15 also on the mac due to some of the legacy projects depending on it. I want to install command line tools 15 and choose it in the Settings-->Location, but Xcode doesn't display "Command line tools 15" although i download & install from https://developer.apple.com/download/all/
I’m missing all the features like camera 3D, Apple intelligence along with note intelligence and mail features tied up with Apple intelligence . Is this normal?