Since upgrading to Xcode 16, I've noticed that when I add new files to my local Swift packages, the "Update Package" option is no longer available when I right-click on my local package.
In previous versions of Xcode, I used this feature to make Xcode recognize newly added files without any issues.
Now, with Xcode 16, the only way I've found to get Xcode to recognize new files is to remove and re-add the entire package, which is obviously not ideal.
I've tried cleaning the build folder and rebuilding the project, but it doesn't seem to help.
Is there a new workflow or method in Xcode 16 to refresh or update local Swift packages without needing to remove and re-add them every time?
Any suggestions or workarounds would be greatly appreciated!
What I’ve tried so far:
Cleaning and rebuilding the project
Looking for any options under "File > Packages" menu
Environment:
Xcode 16
Local Swift Package
Thanks in advance!
Post
Replies
Boosts
Views
Activity
Hi everyone,
since the release of the new macOS Moterey operating system (12) my MacCatalyst application does not load some views at startup until I resize the window or change focus.
If I look at XCode's Debug View Hierarchy these views are not present.
If, on the other hand, I use the classic debug (while they are not shown) it turns out that they have the correct frame (origin and size), superviews and window.
To show them I have to resize the window (manually, using the mouse) or remove the focus from the app (for example by clicking on another window and then clicking the app window again).
Only after doing one of these two things are the views loaded.
Has anyone experienced the same behavior? The application is developed in Swift only with UIKit and various Storyboards (without SwiftUI).
Thanks a lot to everyone.
I'm developing an app that manages events and I have an annoying problem that affects both EKEventViewController and EKEventEditViewController, some buttons wont work.On EKEventViewController - "Show All Notes" does nothing when you tap over it both on iPhone/iPad and on Mac Catalyst AppScreenshot: https://i.stack.imgur.com/pPnjN.pngOn EKEventEditViewController - "End time" can't be edited only on Mac Catalyst App (and the edit of start time is horrible).Screenshot: https://i.stack.imgur.com/4xask.pngCan someone help me?
I'm trying to create a Mac Catalyst version of my iPad app. I checked the "Mac" checkbox (under Device in General section), I selected the "My Mac" scheme, I ran... and then, xcode show me code signing errors!When I checked the checkbox, the Signing & Capabilties tab added a new macOS platform entry, and a bundle identifier: maccatalyst.com.mycompany.myapp. That maccatalyst.com bundle ID isn't dispalyed in my Certifiicates, Identifiers & Profiles section of the Apple developer site. When I try to add it manually, by adding an App ID, choosing Mac and specifying the explicit bundle ID, I get the following error: An App ID with Identifier 'maccatalyst.com.mycompany.myname' is not available. Please enter a different string.As suggested here, I also tried to: 1. Go to Certificates, Identifiers & Profiles. 2. Select Profiles 2. Select iOS app that you are trying to catalyze from. 3. Enable "Mac". 4. Wait for hours.How I have to proceed?