Search results for

DTiPhoneSimulatorErrorDomain Code 2

158,679 results found

Post

Replies

Boosts

Views

Activity

SwiftUI navigationTransition(.zoom) glitches during interactive swipe-back
Hi everyone 👋 I’m fairly new to iOS development and I’ve been stuck on a SwiftUI issue for a while now, so I’m hoping someone here can spot what I’m doing wrong. I’m using navigationTransition(.zoom) together with matchedTransitionSource to animate navigation between views. The UI consists of a grid of items (currently a LazyVGrid, though the issue seems unrelated to laziness). Tapping an item zooms it into its detail view, which is structurally the same view type and can contain further items. All good expect that interactive swipe-back sometimes causes the item to disappear from the grid once the parent view is revealed. This only happens when dismissing via the drag gesture; it does not occur when using the back button. I’ve attached a short demo showing the issue and the Swift file containing the relevant view code. Is there something obvious I’m doing wrong with navigationTransition / matchedTransitionSource, or is this a known limitation or bug with interactive swipe-back? Thanks in advance. i
Topic: UI Frameworks SubTopic: SwiftUI
3
0
355
2w
Reply to Swift UI View is to small
Thanks. Image is 300 * 300, so it does not fill the screen. What do you expect ? The view to fill the screen ? Something else ? Or is the problem with the space at the top ? In this case, see this: https://codecrew.codewithchris.com/t/remove-white-space-navigationview-ios-foundations-m5-wrap-up/15656 ; even though it seems you have already put navigationTitle as indicated. I do not see where you call RecipeView (in code, not Preview). Did you set the size of the frame for this RecipeView ? Note: for testing purpose set the background of RecipeView to some color, as yellow, so that you see it clearly.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
2w
Swift UI View is to small
Hello Apple Developer Forum Community, I’ve got a problem with the display of my SwiftUI View, that is tested on my physical iPhone. It’s shown very small (Picture) and on the Xcode Canvas Simulator it get’s shown right. What is the problem with my code?
4
0
205
1w
Reply to Icon composer icon contains alpha channel upload error
I am also running into this error. (Jan 2026) Xcode v26.2. Icon Composer 1.2 (76) Looking at the release notes above, the issue has not been resolved. Error message I get: Invalid large app icon. The app icon in the asset catalog -app name- can't be transparent or contain an alpha channel. My two cents, it might be due to the automated compiler for the apple App Store distribution SDK they use to review apps quickly before it goes to a real person. This might be due to the new Liquid Glass UX/UI update. I was really excited to try it, but until it gets fixed, I don't think we will get app icons being Liquid Glass anytime soon. Might be due to the fact that, I have the lowest version of iOS 17, which might not recognize it yet. I wonder if it is only for iOS 26 uploads? no idea.
2w
Reply to My app crashes on startup in iOS 26
As far as I understand Core Data - and who really understands it, really? - an entity will have an ObjC class generated for it, so you've just unfortunately used a name that Apple is now using for a class in one of their private frameworks on iOS 26. As you've seen, renaming your entity fixes the issue because your new entity's generated class no longer has the same name, and so the compiler isn't seeing two classes with the same name. As a general rule, avoid using names anywhere in your code that start with three capital letters, i.e. PSSegment. It's tempting to use your own name to name classes, and in your case perhaps you would name something HHSegment (because: HeezerHiker). Apple use this convention, so you should try and avoid it. For example, NSString == NS String == NextStep String. You could use something like HHEntitySegment, or the name of your app, i.e. MyAppSegment.
2w
Reply to Swift UI View is to small
Ok, so the same problem is also with the simulator (iPhone 17). Sorry for that. Here is the Code for the ListItem: import SwiftUI struct RecipeListItem: View { let image: Image let title: String let subtitle: String let category: String let kitchenDevice: String let istTermomix: Bool var body: some View { ZStack { VStack(alignment: .leading, spacing: 16) { image .frame(width: 300, height: 300) VStack(alignment: .leading, spacing: 12) { // Title & Subtitle block with rounded background VStack(alignment: .leading, spacing: 4) { Text(title) .foregroundStyle(.background) .font(.title2.bold()) Text(subtitle) .foregroundStyle(.background) .font(.caption) } .padding(12) .background( RoundedRectangle(cornerRadius: 20, style: .continuous) .fill(Color.primary) ) HStack { // Details block with rounded background VStack(alignment: .leading, spacing: 4) { Text(category) .foregroundStyle(.background) .font(.caption) Text(kitchenDevice) .foregroundStyle(.background) .font(.caption) if istTermomix { Text(Termomi
Topic: UI Frameworks SubTopic: SwiftUI Tags:
2w
SwiftData with CloudKit Sync Issue
I am using SwiftData with CloudKit to synchronize data across multiple devices, and I have encountered an issue: occasionally, abnormal sync behavior occurs between two devices (it does not happen 100% of the time—only some users have reported this problem). It seems as if synchronization between the two devices completely stops; no matter what operations are performed on one end, the other end shows no response. After investigating, I suspect the issue might be caused by both devices simultaneously modifying the same field, which could lead to CloudKit's logic being unable to handle such conflicts and causing the sync to stall. Are there any methods to avoid or resolve this situation? Of course, I’m not entirely sure if this is the root cause. Has anyone encountered a similar issue?
2
0
178
2w
Custom icons for folder aliases not showing
Problem: custom icons for folder aliases not showing System drive and external drive custom alias folder icons don't showup on desktop or external drive (OS14.6 Sonoma 2023); they only show-up as plain folders or with an odd document icon. Alias doesn't connect to image; however it's there, easily accessible via spacebar. Finder doesn't save the custom icon to the alias. See below for workaround. Summary: I have custom alias icons on my desktop linking to their source files on the system drive and external drive.. however they do not display the custom icon. After upgrading from OS10.14 Mojave to OS14.6 Sonoma 2023, system drive & external drive custom alias icons no longer display the icon on either drive (there is a work-around for Mojave; see history section). Personal impact: hampered file navigation and workflow; I'm lost, can't tell where anything is; not having my icons makes it especially difficult to navigate my files and hampers my workflow significantly. Desired outcome: all custom icons for fo
5
0
1.8k
2w
2 high scores vanished
In my game 854159268 (com.1791entertainment.qugame), in my quMostRecent3 leaderboard, the top 2 entries have 'vanished'. They were there yesterday. I know these players have played today, as I see their scores on other leaderboards. Any ideas how to get these back? These 2 players (me and my tester) are both TestFlight ing - not sure if that changes things.
1
0
366
2w
WeatherKit: WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 on iOS 26.2 (Simulator & Device)
Hello everyone, I’m experiencing a WeatherKit issue that occurs consistently on both the iOS 26.2 Simulator and a real device running iOS 26.2. Environment: Xcode: latest iOS: 26.2 Occurs on: Simulator AND physical device WeatherKit usage: via WeatherService API (not manual REST) Location Services: authorized (When In Use / Always) Issue: WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 The operation couldn’t be completed. Already verified: WeatherKit capability is enabled for the App ID com.apple.developer.weatherkit entitlement is present Bundle ID matches the App ID App is signed with the correct Team ID Behavior is identical on Simulator and physical device Error occurs before any WeatherKit response is returned Questions: Is this a known issue with WeatherKit on iOS 26.2? Are there any known limitations or requirements for WeatherService related to WeatherDaemon validation? Is there a recommended way to diagnose why WeatherDaemon rejects the request with Code=2
1
0
194
2w
Reply to Incorrect, or missing copyright date-> using a copyright date that is any different from this current year, or missing a date
https://github.com/archubbuck/enterprise-support/actions/runs/20603402655/job/59173870330#step:15:546 ——— [18:42:16]: Creating authorization token for App Store Connect API [18:42:16]: Checking app for precheck rule violations [18:42:17]: ✅ Passed: No negative  sentiment [18:42:17]: ✅ Passed: No placeholder text [18:42:17]: ✅ Passed: No mentioning  competitors [18:42:17]: ✅ Passed: No future functionality promises [18:42:17]: ✅ Passed: No words indicating test content [18:42:17]: ✅ Passed: No curse words [18:42:17]: ✅ Passed: No words indicating your IAP is free [18:42:17]: 😵 Failed: Incorrect, or missing copyright date-> using a copyright date that is any different from this current year, or missing a date [18:42:19]: ✅ Passed: No broken urls +----------------------------+ | Potential problems | +-----------+----------------+ | Field | Failure reason | +-----------+----------------+ | copyright | missing text | +-----------+----------------+ [18:42:19]: precheck 👮‍♀️ 👮 found one or more potential met
2w
Reply to My iCloud was migrated to AWS against my wishes and now people are rifling through my cloud, can someone stop this??
You have two profiles on here, then? So who's gaslighting who? You have highlighted some domains listed within the output of swcutil, and assumed some nefarious folks are adding thing s to your private device. Where's the proof? What's wrong with *.events.shazam.apple.com? Apple owns Shazam. What's wrong with a service forcom.apple.FaceTimeLinkTrampoline using the domain facetime.apple.com? As I said before, you are simply misunderstanding things. If you think otherwise, why not call Apple? Why not go into a store and ask them to check your phone and see what's going on? Or, how about asking another iPhone user to show you their swcutil output and see whether the output of the logs matches? If it does, go to ten more users, then a hundred, then a thousand. If such large numbers of people are experiencing this 'hack' into their devices then Apple surely has an issue on its hands... But right now, you are misunderstanding the output of a command, that's all.
Topic: Community SubTopic: Apple Developers Tags:
2w
Tkinter module in Python 3 is broken on macOS 26
When I try to invoke the tkinter module in Python 3 that is bundled with Xcode Developer Tools, I get a message saying that my system version is too low: $ /usr/bin/python3 -m tkinter macOS 26 (2602) or later required, have instead 16 (1602) ! zsh: abort /usr/bin/python3 -m tkinter It seems like the system version reported is macOS 16, which I assume is the version code before the decision to rename all OS platforms to 26. This is a very low level mistake and should be fixed as soon as possible.
1
0
1.3k
2w