Search results for

xcode github

94,733 results found

Post

Replies

Boosts

Views

Activity

Reply to notarytool is giving me HTTP status error
Thanks for your post. When you encounter a 403 error indicating that a required agreement is missing or has expired during the notarization process with , it can sometimes be a bit misleading or confusing as to exactly which agreement needs attention. You said on your post you already agreed to one. I would suggest to go to appleid.apple.com and sign in with your Apple ID. Sometimes, agreements related to the Apple Developer Program are separate from those shown in Xcode. Additionally, visit developer.apple.com, sign in, and check for any pending legal agreements that might need signing. Look through recent emails from Apple, especially those from or , for any requests to review or agree to new terms. In Xcode, go to , sign out of your Apple ID, and then sign back in. Also, consider signing out of your Apple ID on your Mac via (or ) and signing back in. Ensure you're using the latest version of Xcode and that all command line tools are updated. Run to ensure you have the latest tool
4w
Reply to Setting alternate app icon fails with "Ressource temporarily not available"
I've encountered this exact same problem. I follow this guide to a tee: https://developer.apple.com/documentation/xcode/configuring-your-app-to-use-alternate-app-icons And yet I am consistently hit with: Failed: Error Domain=NSPOSIXErrorDomain Code=35 Resource temporarily unavailable UserInfo={_LSFile=LSIconAlertManager.m, _LSLine=113, _LSFunction=-[LSIconAlertManager iconChangeAlertTokenForIdentity:error:]} My app targets iPads and iPhones, has a minimum version for iOS of 18, and I am not using a simulator, I am running on my own device (iPhone 17 on iOS 26.2). This has been driving me insane. The example project Apple provides works, so I cannot see what possibly could be different.
Topic: UI Frameworks SubTopic: UIKit
4w
Reply to iOS 26 NavigationStack Title Rendering Issue
@MegaWatt Feel free to reply with focused sample code that runs without any external dependencies, unless absolutely necessary for the issue to be replicated, and I can take a look if something fishy is going on 🎣🔍💭. Please note which iOS and Xcode version is used, thank you.  Travis Trotto - DTS Engineer
Topic: UI Frameworks SubTopic: SwiftUI Tags:
4w
Reply to iOS 26 NavigationStack Title Rendering Issue
I see the navigationTitle as expected without being provided the same myItems, .surfacePrimary and .surfaceSecondary that you used (I used an EmptyView and two generic color options). If the issue persists when you remove these dependencies, please file a bug report that mentions what exact version(s) of iOS and Xcode is affected. Share the FB number and updated sample code below and I can investigate accordingly. Thank you,  Travis Trotto - DTS Engineer
Topic: UI Frameworks SubTopic: SwiftUI Tags:
4w
Reply to In-app purchases problem
purchase product that have not been submitted to review What is the status of your subscriptions in App Store Connect? For more information, see In-App Purchase statuses. but apple said to me that I uploaded an in-app purchase product that have not been submitted to review, From TN3186: Troubleshooting In-App Purchases availability in the sandbox > Validate your product identifier list: To verify your product identifier list, perform these steps: In your Xcode project, locate your app’s bundle ID. In App Store Connect, find the app that matches your app’s bundle ID. Verify each product identifier in your list matches the product identifier (Product ID) of an In-App Purchase created for the app in App Store Connect.
4w
Reply to StoreKit does not return any subscriptions on any device (approved IAPs, production app)
Is there any known App Store Connect or StoreKit condition where: • subscriptions are approved and visible in App Store Connect • but StoreKit returns an empty result set in production? From TN3188: Troubleshooting In-App Purchases availability in the App Store: Validate your product identifier list To verify your product identifier list, perform these steps: In your Xcode project, locate your app’s bundle ID. In App Store Connect, find the app that matches your app’s bundle ID. Verify each product identifier in your list matches the product identifier (Product ID) of an In-App Purchase created for the app in App Store Connect. Review the availability of your In-App Purchases A customer’s Apple Account country or region determines the App Store country or region where they can purchase content. For example, an account set to Canada can only purchase In-App Purchases from the App Store in Canada. If your In-App Purchase is available in all countries or regions of the App Store except Canada, Product.p
Topic: UI Frameworks SubTopic: General
4w
Tahoe sidebar - icon sizing is wrong
Hi there. I am trying to figure out how to make a macOS Tahoe app in SwiftUI with a sidebar. The problem I’m having is that the icons are the wrong size. If you visually compare the resulting sidebar with any built-in macOS app (Finder, Notes, Mail, Music, etc.) the built-in apps all have larger icons and the spacing is different from my SwiftUI app, which has too small icons and (I think) wrong spacing. I am trying to figure out what SwiftUI code I need to write to get a sidebar that looks the same as the other built-in macOS Tahoe apps. It’s also important to note that Tahoe sidebars have larger icons at the top level, and in cases where the items have a disclosure triangle with additional items nested within, the nested icons have smaller icons. I have not figured out how to properly replicate this effect either. I have spent quite a lot of time on trial-and-error with various combinations of .frame() and .font() modifiers. However, none of the results look quite right to me, and besides that, I think it i
Topic: UI Frameworks SubTopic: SwiftUI Tags:
1
0
85
4w
Xcode 26 swiftmodules are incompatible with Xcode 16
I am developing a binary SDK for consumption by others. When we updated to Xcode 26, any builds which are generated cannot be consumed by Xcode 16. The specifics lie in the optionals. The following Swift code generate a .swiftmodule func affectedApi() -> Int? { return 1 } In Xcode 16 it generated the following .swiftmodule in the framework. public func affectedIntApi() -> Swift.Int? In Xcode 26 it adds an if statement. #if compiler(>=5.3) && $NonescapableTypes public func affectedIntApi() -> Swift.Int? #endif That if statement prevents Xcode16 from seeing the API, and it causes compile failures. This happens regardless of which Swift version is used, and it only affects functions which use Optionals. Is there a way to prevent the compiler from wrapping the API in that statement?
2
0
132
4w
Reply to Is it safe to manually edit Package.swift (iOS Version & Orientation) for SSC 2026?
Thanks for the post. It's great to hear you are working on your submission for the Swift Student Challenge! I would like to prefix I’m not familiar with the Swift Student Challenge and their rules but some engineers here are more familiar and they can provide you better inside. Saying that, manually changing the iOS version in the file could potentially raise issues. Apple typically encourages developers to avoid manual changes to default configuration files, as these files can be regenerated or altered by Xcode when needed. In the other hand. It is generally acceptable to lock an app to portrait mode for contests like these, especially if your design and functionality are optimal in that orientation. However, keep in mind that many iPad users expect apps to be responsive and support multiple orientations. Always refer to the latest submission guidelines, as they will provide the most accurate information about what is or isn't acceptable for your challenge. Best of luck with your submission! I invit
Jan ’26
Reply to Provisioning profile missing entitlement
[quote='871501022, roanutil, /thread/811382?answerId=871501022#871501022, /profile/roanutil'] It's just preferences stored in the key-value store. [/quote] Cool. [quote='871501022, roanutil, /thread/811382?answerId=871501022#871501022, /profile/roanutil'] I have updated the entitlement value with the correct Team ID. [/quote] OK. But you shouldn’t need to do that because Xcode should pick up the correct Team ID via the $(TeamIdentifierPrefix) syntax. As to your main issue, I suspect that Xcode has cached something that’s causing this. In situations like this I generally approach the problem in two ways: First, I create a new dummy test app, with a new bundle ID and thence a new App ID, to check whether this is working in general. Once I’ve confirmed that, I then start trying to resolve the issue with my real project. With regards that second step: In Signing & Capabilities, make sure that “Automatically manage signing” is enabled, the new team is selected in the Team popup, and that Sign
Jan ’26
Reply to Sporadic "no route to host" over ssh
It’s better to reply as a reply, rather than in the comments; see Quinn’s Top Ten DevForums Tips for this and other titbits. Regarding this: it doesn't seem to be an issue with DenyMulticast I don’t think multicast is a factor here, either for good or for ill. iOS has additional restrictions around multicast, but those do not apply on macOS. this command always works for any user When run how? From Terminal? If so, that’s not the evidence that you think it is. Quoting TN3179: macOS automatically allows local network access by: Any daemon started by launchd Any program running as root Command-line tools run from Terminal or over SSH, including any child processes they spawn Based on the info you’ve provided so far, it really does sound you’re bumping into local network privacy issues. This is complicated by the fact that Unix-y programs tend to do things that confuse local network privacy, for example: Common Unix-y techniques, like calling daemon man page, can break responsible code inference. Such programs a
Jan ’26
I'm developing a macOS File Provider Extension and encountering a `-2014` (Extension not registered) error when using Testing Mode only.
File Provider Extension Testing Mode -2014 Error Issue I'm developing a macOS File Provider Extension and encountering a -2014 (Extension not registered) error when using Testing Mode only. Environment macOS: 13.0+ Xcode: Latest version Developer Account: Paid Developer Account Extension Type: NSFileProviderReplicatedExtension Current Status App ID Configuration App ID: kr.it.flux.FluxDrive2.FileProvider Capabilities: ✅ com.apple.developer.fileprovider.testing-mode (enabled) ❌ General com.apple.developer.fileprovider (not visible) Extension Configuration NSExtensionPointIdentifier: com.apple.fileprovider NSExtensionPrincipalClass: FluxDrive2FileProvider.FileProviderExtension Code Signing: Valid (Team Identifier verified) Info.plist: Valid Error Message Error Domain=NSFileProviderErrorDomain Code=-2014 The operation couldn't be completed. (NSFileProviderErrorDomain error -2014.) Underlying error: Error Domain=NSFileProviderErrorDomain Code=-2001 Extension cannot be used Attempted Solutions ✅ Verified
1
0
85
Jan ’26
I'm developing a macOS File Provider Extension and encountering a `-2014` (Extension not registered) error when using Testing Mode only.
File Provider Extension Testing Mode -2014 Error Issue I'm developing a macOS File Provider Extension and encountering a -2014 (Extension not registered) error when using Testing Mode only. Environment macOS: 13.0+ Xcode: Latest version Developer Account: Paid Developer Account Extension Type: NSFileProviderReplicatedExtension Current Status App ID Configuration App ID: kr.it.flux.FluxDrive2.FileProvider Capabilities: ✅ com.apple.developer.fileprovider.testing-mode (enabled) ❌ General com.apple.developer.fileprovider (not visible) Extension Configuration NSExtensionPointIdentifier: com.apple.fileprovider NSExtensionPrincipalClass: FluxDrive2FileProvider.FileProviderExtension Code Signing: Valid (Team Identifier verified) Info.plist: Valid Error Message Error Domain=NSFileProviderErrorDomain Code=-2014 The operation couldn't be completed. (NSFileProviderErrorDomain error -2014.) Underlying error: Error Domain=NSFileProviderErrorDomain Code=-2001 Extension cannot be used Attempted Solutions ✅ Verified
1
0
183
Jan ’26
Reply to Unable to download iOS simulator runtime 26.x on Xcode
@DTS Engineer Thank you for the reply, I have tried resetting my router, restarting my Mac, and also tried different networks. But it's the same issue. I don't have firewall or Anti virus installed and still same error. Xcode is fully updated (latest) MacOS is Tahoe 26.1 (latest) As you can see, using cli still throws similar error ➜ ~ xcodebuild -downloadPlatform iOS Finding content... Automatically resolved architecture variant for platform iOS as 'arm64'. 2026-01-07 22:09:14.742 xcodebuild[71859:6206960] DVTDownloadable: Download Failed. Downloadable: { architectures = ( arm64 ); authentication = none; category = simulator; contentType = cryptexDiskImage; dictionaryVersion = 2; downloadMethod = mobileAsset; fileSize = 8388683973; identifier = com.apple.dmg.iPhoneSimulatorSDK26_2_arm64; isInternalContent = 0; isUserInitiated = 1; name = iOS 26.2 Simulator (23C54); patchableFrom = ( ); platform = com.apple.platform.iphoneos; simulatorVersion = { buildUpdate = 23C54; version = 26.2; }; version = 26.2
Jan ’26