Search results for

xcode github

94,736 results found

Post

Replies

Boosts

Views

Activity

nable to Distribute iOS App to App Store – Archive Shows Only 'Distribute Content'
Hello Apple Developer Support Team, I am writing to request assistance with an issue preventing me from distributing my iOS app to the App Store. I am able to successfully build and archive my app in Xcode without errors. However, after archiving, Xcode only shows the option “Distribute Content” instead of “Distribute App”. Because of this, I am unable to upload the app to App Store Connect. App & Account Details • App Bundle Identifier: com.yesbuy.yesbuyapp • Team Name: Fathima Sayed Mohamed • Team ID: Z327MG963D • Xcode Version: 26.2 • macOS Version: macOS 15.6.1 Signing & Certificates • Signing Method: Automatically manage signing (enabled) • Signing Certificate (Release): Apple Distribution: Fathima Sayed Mohamed • Provisioning Profile: Xcode Managed / App Store Distribution • Archive Status: Build succeeded What I’ve Already Verified • The archive is created using Release configuration • Skip Install is set to No for the main app target (Runner) • The app targe
1
0
177
Jan ’26
nable to Distribute iOS App to App Store – Archive Shows Only 'Distribute Content'
Hello Apple Developer Support Team, I am writing to request assistance with an issue preventing me from distributing my iOS app to the App Store. I am able to successfully build and archive my app in Xcode without errors. However, after archiving, Xcode only shows the option “Distribute Content” instead of “Distribute App”. Because of this, I am unable to upload the app to App Store Connect. App & Account Details • App Bundle Identifier: com.yesbuy.yesbuyapp • Team Name: Fathima Sayed Mohamed • Team ID: Z327MG963D • Xcode Version: 26.2 • macOS Version: macOS 15.6.1 Signing & Certificates • Signing Method: Automatically manage signing (enabled) • Signing Certificate (Release): Apple Distribution: Fathima Sayed Mohamed • Provisioning Profile: Xcode Managed / App Store Distribution • Archive Status: Build succeeded What I’ve Already Verified • The archive is created using Release configuration • Skip Install is set to No for the main app target (Runner) • The app targe
2
0
62
Jan ’26
XCTest resources aren't being copied into place correctly
So I have a project with an Objective-C framework which has unit tests. One of the unit tests has a file 'sample.emlx' in its 'Resources' folder, which has its target membership set to the tests target. I expect this file to be copied into the correct place, such that I can find it (in the 'setup') method with: NSBundle *bundle = [NSBundle bundleForClass:[self class]]; NSString *path = [bundle pathForResource:@sample ofType:@emlx]; NSData *content = [NSData dataWithContentsOfFile:path]; NSString *entire = [NSString stringWithUTF8String:content.bytes]; _sample = [entire componentsSeparatedByString:@n]; NSLog(@sample lines: %d, (int)_sample.count); The idea is to make an array where I can pull various subsections of lines out to test various parts of the code. This works every time, if I set a breakpoint at the create the NSBundle line, and single-step through the code after right-clicking on the specific test method I want to run It never works if I just right-click on the specific test method I want to run an
0
0
46
Jan ’26
Unable to download iOS simulator runtime 26.x on Xcode
Hi everyone, I'm experiencing a persistent issue for months now where I'm unable to download the iOS 26 simulator Runtime. I've tried reinstalling Xcode and also Xcode Beta but same issue. iOS 26 Simulator is also not on developers download page, so manual installation is impossible. And sadly I can't compile any code without having iOS 26 simulator installed. Anyone able to get passed this? Hardware: M1 Pro OS: Tahoe 26.1 Heres the error Download failed. Domain: DVTDownloadableErrorDomain Code: 41 User Info: { DVTErrorCreationDateKey = 2026-01-07 11:35:35 +0000; } -- Download failed. Domain: DVTDownloadableErrorDomain Code: 41 -- Failed fetching catalog for assetType (com.apple.MobileAsset.iOSSimulatorRuntime), serverParameters ({ RequestedBuild = 23C54; }) Domain: DVTDownloadsUtilitiesErrorDomain Code: -1 -- Download failed due to not being able to connect to the host. (Catalog download for com.apple.MobileAsset.iOSSimulatorRuntime) Domain: com.apple.MobileAssetError.Download Code: 60 User
6
0
967
Jan ’26
Xcode 16 issues with mac virtualisation
I have created a virtualised Mac machine where I am running the latest Xcode version 16.4 with macOS Sequoia as the base image. While running XCTest tests, I am observing a clear difference in behaviour between virtualised and non-virtualised setups. Below is the command I am using to run the tests: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -xctestrun /Users/ltuser/290103613/xcui.xctestrun -destination platform=iOS Simulator,id=79A5F8CC-4A2E-4C91-895D-AE97E25CB824,arch=arm64,OS=18.0 test-without-building -only-testing:ClassName/MethodName/testName -derivedDataPath /Users/ltuser/290103613/Archive -verbose IDELogLevel=debug IDETestLogLevel=debug ONLY_ACTIVE_ARCH=YES Observed Issue On virtualised hosts: Every XCTest is executed twice This happens for both passed and failed tests The behaviour is consistent across all virtualised machines On non-virtualised (bare-metal) Macs: Tests execute only once, as expected Debugging Steps Taken Multiple destination suspicion Initially, I noticed
2
0
164
Jan ’26
Reply to iOS UserDefaults Intermittently Returns Nil After getPreferences() Call - Race Condition?
Looking at the code you posted, the only way [1] that preferences can be nil at line 15 is if your decoded object code fails. You didn’t show that code, so it’s hard to tell what’s going on there. It sounds like you can reproduce this reasonably reliably. Given that, you can debug this using logging. I have general advice on that topic in Testing and Debugging Code Running in the Background. IMPORTANT It’s time to stop using NSLog habitually. Rather, use print(…) for transient debugging and Logger for debugging that you want to keep in your codebase (or for cases like this, where you need to debug without Xcode being attached). Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] Well, not the only way. You could be dealing with an issue that’s outside of the scope of the Objective-C / Swift execution models, like a memory corruption problem. However, let’s rule out the easy things first (-:
Topic: App & System Services SubTopic: General Tags:
Jan ’26
Upload for App Store Connect: App Record Creation Error
I started using Xcode to package and submit my app yesterday, but it failed. I received a prompt Your app must be registered with App Store Connect before it can be uploaded. Xcode will create an app record with the following properties. halfway through the process. After filling it out and submitting, I received another prompt App Record Creation Error,App Record Creation failed as you do not have permission to perform requests of this type.。 I have already listed several apps on the app store. For the other apps, I also tried creating new versions, packaging, and submitting them, but I encountered the same error
2
0
213
Jan ’26
Reply to Notarization wipes the "Icon?" file
Hello Quinn, many thanks for all this. Normally I use Script Debugger to export my applet run-only. Then, I use SD Notary to sign and notarize. I will try to put your suggestion into that workflow. Up until Tahoe, I was avoiding Script Editor partly because it ignored/wiped my custom icon no matter what I tried. SD, did not. I don't know how to use Xcode. Have tried a few times but found it impenetrable. It will take me some time to get it working even to just create a dummy app with a custom icon. Cheers.
Topic: Code Signing SubTopic: Notarization Tags:
Jan ’26
Reply to Xcode 26.2: Can't submit build to external testers via TestFlight
Thanks for your post. Facing an error stating This build is using a beta version of Xcode and can’t be submitted can be frustrating, especially when you're ready to share your app with testers. Double-check that you're using a release version of Xcode, not a beta, what’s your build? Please remember Xcode 26.2 got released 3 weeks ago. Can you provide me this?. Sometimes, what appears to be the latest version might still have beta components. Ensure your macOS version is supported by the Xcode version you're using. Can you also provide me the build number for your macOS? In Xcode, check your project's build settings. Ensure that you're using a distribution certificate for signing, not an ad-hoc or development certificate. Ensure no beta versions of Xcode beta are installed or active on your system. Check Applications and remove any beta installations of Xcode. Hope this helps Albert Pascual
  Worldwide Developer Relations.
Jan ’26
Reply to Need Inputs on Which Extension to Use
I’m not 100% sure of the behaviour of a transparent proxy when the network is offline, but the behaviour you’ve described doesn’t surprise me. The transparent proxy mechanism is ‘descended’ from the app proxy mechanism, and that was originally designed for VPN, where the network must necessarily be online. [quote='869851022, MasterYourSelf, /thread/806764?answerId=869851022#869851022, /profile/MasterYourSelf'] The environment where I’m installing the system extension doesn’t have network access [/quote] So if there’s no network, where does the traffic go? Or does your transparent proxy use some back channel to route the traffic to the host and thence to the wider Internet? [quote='869851022, MasterYourSelf, /thread/806764?answerId=869851022#869851022, /profile/MasterYourSelf'] If I am able to integrate three extensions in same xcode target [/quote] That should work. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Jan ’26
Reply to error: exportArchive No profiles for 'com.nawctsd.riotpad' were found
[quote='869263022, fmharr, /thread/809996?answerId=869263022#869263022, /profile/fmharr'] Xojo has the ability to build and deploy directly to Apple Connect. [/quote] Cool. But if you need help with that you’ll have to escalate your issue via that tool’s support channel. I barely have enough time to keep with Xcode’s shenanigans (-: [quote='869263022, fmharr, /thread/809996?answerId=869263022#869263022, /profile/fmharr'] I am attaching my latests error messages … Transporter. [/quote] Using Transporter is a good option here, that is: Have your third-party tool generate an App Store Connect ready archive (.ipa for iOS, .pkg for Mac). Upload that using Transporter. Debug from there. This is good because you have a copy of the archive and an error and can dig into the archive to find the cause of the error. The first step being to unpack the archive, as explained in Unpacking Apple Archives. In this case, however, it seems that you’re not even getting to the upload stage. The error from Transporter indi
Jan ’26
Xcode 26.2: Can't submit build to external testers via TestFlight
Hi, I really need help to resolve the issue with submitting build made with 26.2 for review to release TestFlight build to external testers. I'm always getting This build is using a beta version of Xcode and can’t be submitted. I tried everything from cleaning DerivedData to fully reinstalling Xcode and tools to 26.2. Even tried earlier Xcode release versions and after pressing Submit for review I always face the same issue. Nothing helps and I can't share my first app with volunteers to test. By Jan 6 2026, my Xcode 26.2 is up to date with App Store and in Xcode Organizer I choose App Store Connect and press Distribute.
1
0
185
Jan ’26
Can safe area layout guidelines be used in a macOS XIB?
The documentation of the NSPopover property hasFullSizeContent says that when it's true, you should Use the safeAreaLayoutGuide of the contentViewController view to ensure that your content is fully visible and doesn’t become clipped when displayed. I can do that by adding auto-layout constraints programmatically, but is there a way to do it in the xib? When I googled it, the AI summary begins To use safe areas in a Mac XIB (Interface Builder), enable the Use Safe Area Layout Guides checkbox in the File Inspector for your view but I have not found any non-AI indications that such a checkbox exists for macOS. (I'm using Xcode 26.2.)
0
0
120
Jan ’26
Reply to Multiple active subscriptions within the same subscription group
Did you develop your subscriptions purchase process using Apple's SubscriptionStoreView or have you developed your own subscription purchase view? I am currently testing my subscriptions purchase process using TestFlight and sandbox accounts ... I have developed my subscriptions purchase process using the SubscriptionStoreView ... I have never seen this multiple subscription purchases when testing using Xcode & Simulator and Xcode & iPhone ... Conceptually, I believe it should not matter whether you developed your own view or not, Store Kit 2 should properly handle subscription purchases properly and prevent duplicated subscriptions because a new subscription should only become active when the previous subscription is expires or is upgraded.
Topic: App & System Services SubTopic: StoreKit Tags:
Jan ’26