Search results for

Xcode

92,301 results found

Post

Replies

Boosts

Views

Activity

Questions about DeclaredAgeRange's isEligibleForAgeFeatures instance variable
Our team is in the process of updating our apps to comply with Texas's new state law. In order to minimize user confusion and provide the most ideal flow to access the app as possible, we have a few questions we would like answered. Summary of questions: Is isEligibleForAgeFeatures intended to be accurate and accessible before the user has accepted the Age Range permissions prompt? As other US states and/or other countries adopt a similar law going forward, will this instance variable cover those locations? Will the runtime crashes on isEligibleForAgeFeatures and other symbols in the DeclaredAgeRange framework be addressed in a future RC or in the official release? Details and Investigations: With regards to isEligibleForAgeFeatures, our team has noticed that this value is always false before the age range prompt has been accepted. This has been tested on the XCode RC 26.2 (17C48). Assuming the request needs to be accepted first, isEligibleForAgeFeatures does not get updated immediately when the user
3
0
580
1w
Reply to RealityKit / visionOS – Memory not released after dismissing ImmersiveSpace with USDZ models
The OS is shutting down our app due to high memory usage. In our app, each “room” is an immersive space with a skybox. Within the room we navigate through a variety of spaces, each with its own texture to be used in the skybox material. Each time we swap out the skybox material the memory usage grows significantly. When we exit each room (immersive space), we remove the skybox (removeFromParent), assign it to nil, and have even tried to set the Texture to nil. Exiting a room doesn’t appear to release any of the allocated memory. Each time we enter a new room the memory usage climbs until we reach about 5G, by which time the app is closed by the system. Should we remove the UnlitMaterial reference in each room object as well upon exiting immersive space? We also observed that when we navigated through spaces that we’ve previously visited, the Persistent Bytes don’t grow even though we are releasing the Texture resource upon exiting a space, then re-creating the TextureResource when we enter it again. Could the
Topic: Spatial Computing SubTopic: General Tags:
1w
Reply to Package created with pkgbuild installs zero-byte file
I figured out the issue! I recently received a new external drive into which I setup XCode to write its Derived Data and Archives. This external drive was formatted as ExFAT. I have now reformatted the drive as Mac OS Extended (APFS was not an available option in my Disk Utility) and rebuilt the application. The updated pkg using the rebuilt and notarized application now correctly installs to /Applications. It's unfortunate that I could not find a Console log or display verbose enough information via sudo installer -verboseR detailing why the application was not being written to /Applications. Hopefully this post helps someone in a similar situation. Thank you for your time and responses.
1w
ASWebAuthenticationSession: Form submit fails on TestFlight unless submitted through Keychain autofill
I'm experiencing a strange issue where ASWebAuthenticationSession works perfectly when running from Xcode (both Debug and Release), but fails on TestFlight builds. The setup: iOS app using ASWebAuthenticationSession for OIDC login (Keycloak) Custom URL scheme callback (myapp://) prefersEphemeralWebBrowserSession = false The issue: When using iOS Keychain autofill (with Face ID/Touch ID or normal iphone pw, that auto-submits the form) -> works perfectly When manually typing credentials and clicking the login button -> fails with white screen When it fails, the form POST from Keycloak back to my server (/signin-oidc) never reaches the server at all. The authentication session just shows a white screen. Reproduced on: Multiple devices (iPhone 15 Pro, etc.) iOS 18.x Xcode 16.x Multiple TestFlight testers confirmed same behavior What I've tried: Clearing Safari cookies/data prefersEphemeralWebBrowserSession = true and false Different SameSite cookie policies on server Verified custom URL sc
0
0
169
1w
Reply to LiveActivity using colorScheme to adapt to dark mode in iOS 26 system does not work
Yes,I have same problem. Any one fix the problem? Here is my sample code: struct BroadcastLiveActivityGradientLayerView: View { @Environment(.colorScheme) var colorScheme private var localImageName: String { colorScheme == .light ? icon_LiveActivity_broadcast_grid_light : icon_LiveActivity_broadcast_grid_dark } private var baseBackgroundColor: Color { colorScheme == .dark ? .black : .white } var body: some View { ZStack(alignment: .topTrailing) { baseBackgroundColor let colors = LiveActivityColor.broadcastBackgroundColors(colorScheme) LinearGradient( stops: [ .init(color: colors.last ?? .clear, location: 0.0), .init(color: colors.first ?? .clear, location: 1.0) ], startPoint: UnitPoint(x: 0.81, y: 1.29), endPoint: UnitPoint(x: 1.29, y: 0.17) ) Image(localImageName) .resizable() .aspectRatio(contentMode: .fill) .frame(width: 179, height: 149) } } }
1w
Background Upload Extension
Hello, We are trying to use the new Background Upload Extension to improve uploads of assets (Photos, Live Photos, Videos) in the background in our application. 1 - We implemented the code to upload still images. We would like to do the same for Live Photos but we are not sure how to proceed since a Live Photo is composed of 2 resources that we would like to upload in the same job so that we keep the association between the 2 resources. Steps: A Live Photo is captured on the device. Our application is notified for new content in the Photo Library and the asset is queued for upload by our application. The system calls the background upload extension and the Live Photo is prepared for upload but we can schedule a job only for one resource (still photo or paired video) so we can not upload both resources in a single job. 2 - Is there a way to synchronise the application and the extension so that the application would not process the same data or execute the same requests than the extension. For example: our appl
1
0
332
1w
Cannot distribute app on xcode 26.0.1 - Team is not yet configured for notarization.
i encountered an error when i distributing my app on xcode 26.0.1. Below is error log. { logFormatVersion: 1, jobId: ed2b622b-61f6-4c8a-90b7-7c3cdfbafc7a, status: Rejected, statusSummary: Team is not yet configured for notarization. Please contact Developer Programs Support at developer.apple.com under the topic Development and Technical / Other Development or Technical Questions., statusCode: 7000, archiveFilename: mychm.zip, uploadDate: 2025-12-10T01:50:34.198Z, sha256: b61e224154823c8e06c3db904d67a78969f1564c7602f1fa77335fdd12a8d22b, ticketContents: null, issues: null }
1
0
192
1w
403 request for get playlists
I am developing a SWIFITUI app that transfers playlists between Apple Music and Spotify but I am not directly create my requests to those companies APIs. I have my own backend. But when fetching users playlists due to https://api.music.apple.com/v1/me/library/playlists the response is 403 all the time. I tried many ways including creating new DevToken and UserToken when user login and sending those tokens in headers with Authorization and Music-User-Token. What else can be the problem? Note: My team ids in Xcode and apple developer portal seems different. Maybe this is the problem.
0
0
193
1w
Validation failed: Missing app icon. Include a large app icon as a 1024 by 1024 pixel PNG for the 'Any Appearance' image well in the asset catalog of apps built for iOS or iPadOS.
Validation failed Missing app icon. Include a large app icon as a 1024 by 1024 pixel PNG for the 'Any Appearance' image well in the asset catalog of apps built for iOS or iPadOS. Without this icon, apps can't be submitted for review. For details, visit: https://developer.apple.com/documentation/xcode/configuring-your-app-icon. (ID: 525f6327-6859-4ae7-977b-7951423127a6) getting this error while archive and validation then validation failed and got this error But in my xcode each icon is present and when i build the app then in simulator or a real phone the icon is present but while archive and validation then validation failed also i have tried a lot solution but unable to resolve this.
0
0
21
1w
ITMS-90555: On-Demand Resources exceed 30GB after App Thinning – Need clarification on variant size calculation
Hello, I am encountering the following error when uploading a build to App Store Connect: ITMS-90555: Thinned app size is too large – Your on-demand resources in the universal variant are 30 GB, which exceeds the maximum allowable size. After app thinning, the total size of your on-demand resource asset packs in any variant must be less than 30 GB. Our application includes a large amount of font resources delivered via ODR. Before making structural changes, I need clarification because the documentation does not fully explain how ODR size calculations work per variant. Environment Xcode: (latest stable) Distribution method: App Store submission ODR total size before thinning: approximately (28 GB) Build processing fails immediately with the ITMS-90555 error Questions How exactly does App Thinning compute the size of ODR asset packs per variant? Is ODR size evaluated: Per device-specific variant, Or is the “universal variant” treated as an additional variant that must independently stay under 30GB? Th
0
0
38
1w
Reply to Cannot submit apps with Xcode 26.2 RC
For anyone watching the link kindly provided by Albert, a new note is probably not created: December 8, 2025 TestFlight update You can now upload apps built with Xcode 26.2 RC using the SDK for iOS 26.2 RC, iPadOS 26.2 RC, macOS 26.2 RC, tvOS 26.2 RC, visionOS 26. 2 RC, and watchOS 26.2 RC for internal testing through TestFlight. because towards the end of the following day, December 9th, observe how and external was silently inserted: December 8, 2025 TestFlight update You can now upload apps built with Xcode 26.2 RC using the SDK for iOS 26.2 RC, iPadOS 26.2 RC, macOS 26.2 RC, tvOS 26.2 RC, visionOS 26. 2 RC, and watchOS 26.2 RC for internal and external testing through TestFlight. So watch carefully the same previously dated release note for App Store to be inserted.
1w
ImmersiveSpace orphaned when WindowGroup closes
Environment visionOS 26.1, Xcode 26.1.1 Problem When a WindowGroup opens an ImmersiveSpace and the user closes the window via X button, the async Task in .onDisappear gets cancelled before dismissImmersiveSpace() completes, leaving the ImmersiveSpace active with no way to exit. Steps WindowGroup opens ImmersiveSpace in .onAppear User clicks X to close window .onDisappear fires but async cleanup cancelled ImmersiveSpace remains active, user trapped Expected ImmersiveSpace dismissed when window closes Actual ImmersiveSpace remains active Code .onAppear { Task { await openImmersiveSpace(id: VideoCallMainCamera) } } .onDisappear { Task { await dismissImmersiveSpace() // Gets cancelled } } What I've Tried Task in .onDisappear ❌ scenePhase monitoring ❌ High priority Task ❌ .restorationBehavior(.disabled) + .defaultLaunchBehavior(.suppressed) ✅ (prevents restoration but doesn't fix immediate cleanup) Question What's the recommended pattern for ensuring ImmersiveSpace cleanup when
1
0
152
1w
Reply to Package created with pkgbuild installs zero-byte file
Still no luck, unfortunately. OSX version is 15.7.2. I created a new user account, and as such, needed to add the Developer ID Application and Developer ID Installer certificates for our organization to XCode. After building the application, I had it notarized using XCode's Organizer window via the Direct Distribution option. Unfortunately, the package installer still wrote a zero-byte application to the /Application folder. I verified the installer had the correct Payload by extracting and decompressing the package data. Quite the head scratcher. Thank you for any insight.
1w