When I have a TextField or TextEditor, tapping into it produces these two console entries about 18 times each: CHHapticPattern.mm:487 +[CHHapticPattern patternForKey:error:]: Failed to read pattern library data: Error Domain=NSCocoaErrorDomain Code=260 The file “hapticpatternlibrary.plist” couldn’t be opened because there is no such file. UserInfo={NSFilePath=/Library/Audio/Tunings/Generic/Haptics/Library/hapticpatternlibrary.plist, NSURL=file:///Library/Audio/Tunings/Generic/Haptics/Library/hapticpatternlibrary.plist, NSUnderlyingError=0x600000ca1b30 {Error Domain=NSPOSIXErrorDomain Code=2 No such file or directory}} <_UIKBFeedbackGenerator: 0x600003505290>: Error creating CHHapticPattern: Error Domain=NSCocoaErrorDomain Code=260 The file “hapticpatternlibrary.plist” couldn’t be opened because there is no such file. UserInfo={NSFilePath=/Library/Audio/Tunings/Generic/Haptics/Library/hapticpatternlibrary.plist, NSURL=file:///Library/Audio/Tunings/Generic/Haptics/Library/hapticpatternlibrary.plist, NSUnd
Search results for
xcode github
94,727 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hi, Did you create a new CSR? Or re-submit an existing one? I run openssl and then on apple developer I have edited the certificate and submitted the new CSR. openssl genrsa -out ALDencryption.key 2048 openssl req -new -key ALDencryption.key -out csr2048ALDEncrypt.certSigningRequest -subj /emailAddress=****, CN=****, C=CH openssl genrsa -out ALDsigning.key 2048 openssl req -new -key ALDsigning.key -out csr2048ALDSigning.certSigningRequest -subj /emailAddress=****, CN=****, C=CH Then I downloaded the certificates and installed them. Provisioning profiles authorise, amongst other things, specific code-signing certificates. If you create a new certificate, you need to regenerate your profile. Xcode generates usually the embedded provisioning profile, but my Xcode setup isn't working. The archive action fails. I build from my makefile all dependencies so there are build directories for arm64, x86_64 and the final universal app build from make. I am unsure what Xcode actually does? Last
Topic:
Code Signing
SubTopic:
Certificates, Identifiers & Profiles
Tags:
Our engineering teams need to investigate this issue, as resolution may involve changes to Apple's software. Please file a bug report, include a small Xcode project and some directions that can be used to reproduce the problem, and post the Feedback number here once you do. If you post the Feedback number here I'll check the status next time I do a sweep of forums posts where I've suggested bug reports. Bug Reporting: How and Why? has tips on creating your bug report.
Topic:
Community
SubTopic:
Apple Developers
Our engineering teams need to investigate this issue, as resolution may involve changes to Apple's software. Please file a bug report, include a small Xcode project and some directions that can be used to reproduce the problem, and post the Feedback number here once you do. If you post the Feedback number here I'll check the status next time I do a sweep of forums posts where I've suggested bug reports. Bug Reporting: How and Why? has tips on creating your bug report.
Topic:
Community
SubTopic:
Apple Developers
Is it acceptable to include placeholders for features that aren’t supported by Swift Playgrounds, or features I planned but didn’t have time to fully implement (as long as the core experience works)? IMHO, that would be a bad idea, even if it were not forbidden; what would be the value for reviewer? My app relies a lot on user inputs. Is it okay to include a button that loads sample data for reviewers, or is there a preferred approach for this? App must be tested in 3 minutes. No time for a lot of user data. So, providing demo data may be a workaround, but capability to enter personal data is part of user experience. Couldn't you have some predefined (but modifiable) data but let user enter a few (less than 10) important data to experiment your app ? Besides the known constraints (< 25 MB, experienceable within ~3 minutes), are there any other limits, e.g. lines of code or overall app complexity All requirements are in the terms and conditions for submission. Read them carefully. If I remember well, there
Topic:
Community
SubTopic:
Swift Student Challenge
Tags:
Downgrading to Xcode 26.1 worked around the problem for me.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Yesterday, January 14, I installed Xcode 26.2 from XcodeReleases. The issue is still present on iPhone 12 mini and iPhone 13 mini devices.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Hello @isaacweisberg, UIKit has its own .animate you can use on observed changes of .preferredContentSize, which reflects the view's current size. For more information, ⌘+Click on a .UIHostingController in Xcode to read through the DocC comments that provides much context. Travis Trotto - DTS Engineer
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
For all of these weird errors, you'll need a matching Xcode version, Simulator version, and macOS version for everything to work. You also need all versions to be at least 26.0, otherwise the model assets simply aren't there. e.g. Xcode 26.2, iOS 26.2 simulator, macOS 26.2 Hi there I started seeing this after I updated my Mac (and XCode) to 26.2. To clarify, are you saying that I must use iOS version 26.2 with in Simulator if I am developing with Foundation Models now? I have been developing my app for iOS 26.0 and above and all of my calls to Foundation Models now give this error. I can't develop for 26.0 now? That doesn't seem right.
Topic:
Machine Learning & AI
SubTopic:
Foundation Models
Tags:
This is from an Xcode generated file. var values: [String] = [] let exp = Expectation() let c = pub.filter { $0 != nil }.map { $0! }.sink( The second line gives an error: 'Expectation' cannot be constructed because it has no accessible initializers. My best guess that Expectation objects come from some other Apple Swift Testing function, but I don't know where.
I … uploaded a Certificate Signing Request using web form. Did you create a new CSR? Or re-submit an existing one? What about the provisioning profile? Provisioning profiles authorise, amongst other things, specific code-signing certificates. If you create a new certificate, you need to regenerate your profile. If you’re curious how this actually works, see: TN3125 Inside Code Signing: Provisioning Profiles TN3161 Inside Code Signing: Certificates [quote='872512022, joel2001k, /thread/812624?answerId=872512022#872512022, /profile/joel2001k'] I would expect to be able to add Mac Application Distribution in Xcode Manage Certificates, but it is missing. [/quote] Indeed. And you should choose Apple Distribution. Historically we used to issue separate iOS and macOS code-signing certificates. There are still bits of that past world lurking in various subsystems, but in most cases these days you want to use the generic stuff, meaning Apple Development and Apple Distribution. [quote='872512022, joel2001k, /t
Topic:
Code Signing
SubTopic:
Certificates, Identifiers & Profiles
Tags:
Hello, I just updated my Xcode to 26.2 and downloaded the relevant simulator for it to test how my app looks in general. I use the newest iPhone and mini version, in this case, iPhone 13 mini, and the SE (3rd generation). Everything is working as expected, but for the iPhone mini simulator, this weird red line is showing. Is anyone having this issue?
OK, so definitely not your project. If you temporarily remove the iCloud key-value storage capability capability, the app builds, right? If so, look in the build log for an entry like this: CodeSign …/Test811382.app (in target 'Test811382' from project 'Test811382') cd …/Test811382 Signing Identity: Apple Development: Quinn Quinn (7XFU7D52S4) Provisioning Profile: iOS Team Provisioning Profile: com.example.apple-samplecode.Test811382 (5db3ba83-07fb-4780-8ca4-f87de64fd20d) Note For info on how to get the build log, see Command [something] failed with a nonzero exit code. The UUID in that entry is the UUID of the provisioning profile that Xcode is using to sign your app. You should find that in ~/Library/Developer/Xcode/UserData/Provisioning Profiles. Now dump the contents of that profile like so: % security cms -D -i 5db3ba83-07fb-4780-8ca4-f87de64fd20d.mobileprovision | plutil -p - { … Entitlements => { application-identifier => SKMME9E2Y8.com.example.apple-samplecode.Test811382 com.ap
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags:
SOLUTION: Delete workspace user state files If Xcode crashes when opening the AI Intelligence tab in a specific project, the issue is corrupted UI state data in your workspace. Fix: Close Xcode completely Navigate to your project directory in Terminal and delete UserInterfaceState.xcuserstate: rm YourProject.xcodeproj/project.xcworkspace/xcuserdata/YOUR_USERNAME.xcuserdatad/UserInterfaceState.xcuserstate This resolved the crash for me in Xcode 26.2 on macOS 26.2. What this does: Deletes the corrupted workspace UI state (including Intelligence chat history). Xcode will recreate it fresh. You'll lose panel positions and open tabs, but all your code and project settings remain intact.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
I know this post isn't going to give a lot of details, but what I experienced tonight was so completely weird that I wanted to get it posted here in case others run into it: FIRST: All was well until I made a trivial change to a large Objective-C++ module. I suddenly got the idea to look at that line in the code review pane, to see if that area of code had ever had recent modifications. But, the entire module showed up as modified -- one giant change bar, with nothing on the right side of the code review pane, no matter what commit I selected. Then I noticed that the two lines of code which had all of 4 characters edited were no longer showing any change bars. Yet, the file showed up as modified. Still, the exact line changes were not showing in the source code navigator, even though other files showed their changes. Note I'm connected to our remote repo on github. I did some command line git checks of the local repo, and the changes were there (as yet unstaged). So -- I figured, I'm gonna ask the Ap