Search results for

Xcode

92,315 results found

Post

Replies

Boosts

Views

Activity

Reply to UIKit flip animation bugged in 26.1
@Mathias_ Thanks for providing this, can you please zip up that project and file a bug where will let you upload the zip file. Please make sure to provide the information the bug is still on 26.2 and also using the latest Xcode beta. Once you open the bug report, please post the FB number here for my reference. If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why? Albert Pascual
  Worldwide Developer Relations.
Topic: UI Frameworks SubTopic: UIKit Tags:
3w
Icon Composer: Any way to add icons to the app bundle for older macOS versions?
Several app developers are struggling with the inability to provide a separate app icons that looks nice on older macOS versions while at the same time provide Icon Composer icons that look great on macOS Tahoe 26. An ability to provide separate icons is super important to those who have app icons that follow the curvature of the default icon borders (as the corner rounding radius is different for Sequia and Tahoe). Take a look at this for example: https://github.com/ghostty-org/ghostty/issues/7564#issuecomment-3042061547 Question: Is there a definitive/recommended way to address this issue? How can a developer add a glass icon variant that looks good on Tahoe and provide a bitmap icon for older macOS versions? Some background info: Prior to Xcode 26 beta 4, one could add an App Icon to Assets to be used as app icon for legacy macOS versions (Sequia and older) and use a new Icon Composer icon (placed in the project root) for macOS Tahoe 26. Enabling Include all app icon assets under target settings e
14
0
1.4k
3w
Xcode 26.1 / OS 26.1 regression with schema and macros
After Xcode 26.1 was updated and installing the OS 26.1 simulators, my app started crashing related to transformable properties. When I checked my schema, I noticed that properties with array collection types are suddenly set with an option transformable with Optional(NSSecureUnarchiveFromData)], even though I do not use any transformable types. I verified the macros, no transformable was specified. This is causing ModelCoders to encode/decode my properties incorrectly. This is not an issue when I switch back to OS 26.0 simulators.
4
0
228
3w
Reply to Container Failing to Initialize After a Successful Migration & Initialization
[quote='808442021, totallyGeneric, /thread/808442, /profile/totallyGeneric'] I have cleared all data associated with all previews multiple times [/quote] Hi, Sorry to hear you are having trouble. You mentioned you've cleared the data, but not how. I'd expect the migration/schema issue to go away for previews if you cleared out your apps data container in the processes used by previews. For iOS, watchOS, tvOS and visionOS previews the easiest way to do so would be to run xcrun simctl --set previews delete all. Could you give that a try and see if you see any improvements on the xcode previews side of things?
3w
Unable to upload an app with ExtensionFoundation
I have an iOS app with ExtensionFoundation. It runs well on my local device, but when I upload on the AppStore it gets rejected with: Validation failed Invalid Info.plist value. The value of the EXExtensionPointIdentifier key, AsheKube.app.a-Shell.localWebServer, in the Info.plist of “a-Shell.app/Extensions/localWebServer.appex” is invalid. Please refer to the App Extension Programming Guide at https://developer.apple.com/library/content/documentation/General/Conceptual/ExtensibilityPG/Action.html#/apple_ref/doc/uid/TP40014214-CH13-SW1. (ID: ae8dd1dd-8caf-4a48-9651-7a225faed4eb) The Info.plist in my Extension is: EXAppExtensionAttributes EXExtensionPointIdentifier com.example.example-extension so the Info.plist that causes the issue has been automatically generated by Xcode. I can access it as well, and it says: { BuildMachineOSBuild => 25A354 CFBundleDevelopmentRegion => en CFBundleDisplayName => localWebServerExtension CFBundleExecutable => localWebServer CFBundleIdentifier =>
13
0
515
3w
Reply to Unable to upload an app with ExtensionFoundation
Thank you so much for the detailed, step-by-step instructions. I have now also uploaded a build to the AppStore, with an in-app extension. The key step that I had missed in my previous attempts is number 3 on your list: remove the Info.plist for the Extension that was generated by Xcode (and probably number 4, delete the INFOPLIST_FILE in build Settings). The extension is not yet doing what I want it to, but that's another problem. I can upload, so it's worth pursuing this line of work.
Topic: App & System Services SubTopic: General Tags:
3w
Reply to UIToolbar + liquid glass = autolayout warnings?
I'm using the current version of XCode from the App Store (Version 26.1.1 (17B100)). I set translatesAutoresizingMaskIntoConstraints to false on everything in sight and it has no effect on this debug pane spam. I appreciate your suggestion to just use Auto Layout, but I have a large project that does a ton of explicit layout that has been working great for many years now. I don't like the idea that I might have to rewrite huge amounts of code because Apple is trying to strong-arm me into using Auto Layout.
Topic: UI Frameworks SubTopic: UIKit Tags:
3w
Reply to Archive Fails: Conflict with Existing KEXT Developer ID Certificate
Hi everyone, After extensive testing and verification, we have finally resolved the persistent DriverKit archiving and signing errors. The core issue lies in the fact that Xcode enforces distinctly different certificate requirements for DriverKit targets during the Build Phase versus the Distribution Phase. We are sharing our successful experience to help other developers facing the same trap. 💡 Core Conclusion Do not attempt to configure the Distribution Profile directly in Xcode’s Target settings, as this will cause the build to fail. The correct workflow is: Use Development Certificates (Auto) during the Build/Archive phase, and only swap in the Distribution Certificates (Manual) during the Organizer Distribution phase. 🔍 Root Cause Analysis The DriverKit Linker mandates linking against the Development SDK during the build phase. If you force a manual Distribution Profile in Xcode’s Signing & Capabilities tab, Xcode will fail because it cannot find a matching devel
3w
Reply to UIKit flip animation bugged in 26.1
Thanks for the file, the project is missing and the storyboard as well. Any chance to put it on a repository where I can download the zip file? So I can see as well all the project settings? I see you have created the setupViewx() in the code. Xcode 26.2 beta 2 is available for download, have you tried that version? Thanks, Albert Pascual
  Worldwide Developer Relations.
Topic: UI Frameworks SubTopic: UIKit Tags:
3w
Sign in with Apple error reported by App Review, but impossible to reproduce (iPadOS 26.1)
Hi everyone, I’m currently facing a blocking issue during App Review, and I’d really appreciate some help from anyone who has experienced something similar. My app was rejected under Guideline 2.1 – App Completeness with the following message: “An error message appeared after trying to Sign in with Apple. Device: iPad Air (5th generation), iPadOS 26.1.” The problem is: I cannot reproduce this bug at all, even when testing under the same conditions. ✔ What I tested: Physical iPad Air M2 on iPadOS 26.1 Physical iPhone devices iOS/iPadOS simulators (latest Xcode) TestFlight build (clean install) Debug build installed via Xcode (device connected) In every case, Sign in with Apple works correctly: Authentication sheet displays properly Callback returns the credential User is created/logged in without error No crash, no rejected promise, no empty credential ✔ Environment Using ASAuthorizationAppleIDProvider + ASAuthorizationController Default Apple Sign In button No custom nonce/redirect modificat
1
0
167
3w
Reply to Incorrect menu consistency warnings logged in Tahoe for NSStatusItem, performance issues related?
Same problem here, App was compiling and working before Tahoe, Using only the default menu bar, Get many of these error messages, App also not working properly (main window not displaying), App still compiles and works properly on another Mac with same latest Xcode version but with Sequoia, Working App copied over from old Mac to new Mac says The application <...> can't be opened. Really hoping Apple will fix this and magically solve this problem!
Topic: UI Frameworks SubTopic: AppKit Tags:
3w
Side-by-side comparison in source code changes view
I am trying to move over from AppCode/Intellij to Xcode. I am however having a hard time with the version control tools. I know that you can choose side-by-side when you activate code review and select single files. However, if you go into changes and view the list of files that have changed, i can only get inline-view to work. This is really frustrating to me, is there any way to get side-by-side also when you select a file from the changes list? Cheers
1
0
114
3w