Search results for

xcode github

94,037 results found

Post

Replies

Boosts

Views

Activity

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
Container Failing to Initialize After a Successful Migration & Initialization
I'm experiencing the following error with my SwiftData container when running a build: Code=134504 Cannot use staged migration with an unknown model version. Code Structure - Summary I am using a versionedSchema to store multiple models in SwiftData. I started experiencing this issue when adding two new models in the newest Schema version. Starting from the current public version, V4.4.6, there are two migrations. Migration Summary The first migration is to V4.4.7. This is a lightweight migration removing one attribute from one of the models. This was tested and worked successfully. The second migration is to V5.0.0. This is a custom migration adding two new models, and instantiating instances of the two new models based on data from instances of the existing models. In the initial testing of this version, no issues were observed. Issue and Steps to Reproduce Reproduction of issue: Starting from a fresh build of the publicly released V4.4.6, I run a new build that contains both Schema Versions (V4.4.7 and V5.
2
0
570
3w
Unable to Generate .ipa for .NET MAUI iOS App – Codesign Fails With “unable to build chain to self-signed root”
Hi everyone, I am trying to generate an .ipa file for my .NET MAUI (net9.0-ios) application, but every attempt fails with the same codesigning error. I have tried multiple approaches, including building from Windows paired to macOS, and directly building through the macOS terminal, but nothing is working. Below are the exact steps I followed: Steps I Performed 1.>Generated the Apple Development certificate using Keychain Access on macOS. 2.>Added that certificate into my developer account and created the corresponding provisioning profile. 3.>Created an App ID, attached the App ID to the provisioning profile, and downloaded it. 4.>Added the provisioning profile into Xcode. Verified that the certificate is correctly visible in Keychain Access (private key available). Attempted to build/publish the MAUI app to generate the .ipa file. Issue Whenever I run the publish command or build via Windows/macOS, codesigning fails with the following error: /usr/bin/codesign exited with code 1: Framewor
1
0
143
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
Project Overhaul: Can a New Xcode Project Upload to an Existing App ID?
Hello everyone, I'm currently developing an iOS application and have a question regarding project architecture changes and App Store Connect submissions. My app is already uploaded to App Store Connect and is being used for internal testing via TestFlight. During development, I've realized my initial project architecture is flawed and unsustainable. The Problem and Proposed Solution I've decided the best approach is to completely redevelop the app from scratch using a new, clean Xcode project that implements a better architecture (e.g., MVVM, Clean Architecture). The Core Question If I create a brand new Xcode project for the redeveloped app, can I: Use the same Bundle Identifier (com.mycompany.myapp) in the new project? Successfully archive and upload the build from this new Xcode project to the existing app on App Store Connect? In essence, does App Store Connect require the new build to originate from the same Xcode project structure as the previous builds, or does it on
1
0
141
3w
How to stop Xcode for sending me reminders about Coding Intelligence?
Once in a while I get from Xcode a reminder to test Coding Intelligence. I am today not interested in Coding Intelligence and it's unlikely that I will be in the future. Therefore, I would like to get rid of these for me useless reminders to activate Coding Intelligence. I have not found anywhere anything for doing so. Or do I get rid of the reminders when activating it and deactivating it immediately again (if this is possible)?
0
0
105
3w
VisionOS Spatial Accessory inputs help
The “explore spatial accessory input on visionOS” presentation from WDC25 interests me. I bought both the MUSE Logitech stylus and the PS VR2 sense controllers to try out with the sculpting app presented by the author, engineer Amanda Han. Unfortunately the app itself was not included. Could the app be made available for downloading as well as the Xcode project? I appreciate any assistance the author and your team could provide. Thank you.
0
0
145
3w
Product.SubscriptionInfo subscriptionPeriod does not provide the same result between the Sandbox/App Store environment and the StoreKit Testing in Xcode for a "1 week" subscription. "1 week" vs "7 days"
Hello, I noticed the Product.SubscriptionInfo subscriptionPeriod (of type Product.SubscriptionPeriod) is different for the same product between StoreKit Testing in Xcode and the sandbox/App Store (production) environment. For a “1 week” auto-renewable subscription, we get the following: StoreKit Testing in Xcode: 1 week gives a subscriptionPeriod with value of 1 and a unit of Product.SubscriptionPeriod.Unit.week Sandbox/App Store: 1 week gives a subscriptionPeriod with value of 7 and a unit of Product.SubscriptionPeriod.Unit.day This created issues in my app because I used the localizedDescription of a Product.SubscriptionPeriod to display a text similar to “$4.99 per week”. This is what I obtain with the StoreKit Testing in Xcode, but in the Sandbox/App Store environment, it displays “$4.99 per day” (because the subscriptionPeriod is “7 Days” and the unit is then .day). Obviously, this is not what I wanted to display. Other periods like “1 month”, “2 months”, “3 months”, “6 months,
0
0
58
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
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
Crashing build when testing my app
The Test target not build for not such file or directory: 'CoreGraphics'. Not sure why I get this error, but I configured the target without forgetting the variables BUNDLE_LOADER with $(BUILT_PRODUCTS_DIR)/MyExistingApp.app/MyExistingApp value and TEST_HOST with $(BUNDLE_LOADER) value. App target (not the test target), the Symbols Hidden by Default build setting its equal to NO, unlike the Test target that is set to YES. Any variable more for this? I'm not sure if I should take anything into account when using Xcode 26.1.1 and Swift Testing framework.
1
0
187
3w
Signing / Provisioning Profile Error After Enabling CloudKit + MusicKit Entitlements
Hi everyone, after enabling CloudKit in my project, my app started showing conflicts between MusicKit and CloudKit entitlements — and now Xcode is failing to generate the provisioning profile entirely. Current issue (Signing / Provisioning Profile Failure) Xcode shows this error: “Provisioning profile ‘iOS Team Provisioning Profile: team8.groovefy.dev’ doesn’t include the entitlements: com.apple.developer.media-library, com.apple.developer.music-user-token, com.apple.developer.musickit, com.apple.developer.playable-content, com.apple.security.exception.mach-lookup.global-name” Automatic signing fails, and Xcode cannot create or update the provisioning profile. This started right after CloudKit was enabled in the project. Context Before enabling CloudKit, MusicKit worked normally, including Apple Music authentication and playlist creation. After activating CloudKit capabilities: MusicKit stopped generating the Apple Music user token Playlist creation broke Now the provisioning profil
1
0
119
3w