Apple Developers

RSS for tag

This is a dedicated space for developers to connect, share ideas, collaborate, and ask questions. Introduce yourself, network with other developers, and foster a supportive community.

Learn More

Posts under Apple Developers subtopic

Post

Replies

Boosts

Views

Activity

Unable to simultaneously satisfy constraints using versions 26.1
I am trying to create a new app using IOS-26.1, macOS Tahoe 26.1 and Xcode 26.1 with Swift6. Is this a bug that is going to be addressed. This is in the Debug Console...Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) ( "<NSAutoresizingMaskLayoutConstraint:0x10bb18870 h=--& v=--& _TtCC5UIKit19NavigationButtonBar15ItemWrapperView:0x115da48c0.width == 0 (active)>", "<NSLayoutConstraint:0x115ac2ee0 _TtCC5UIKit19NavigationButtonBar15ItemWrapperView:0x115da48c0.leading == _UIButtonBarButton:0x115d40c80.leading (active)>", "<NSLayoutConstraint:0x115ac30c0 H:[_UIButtonBarButton:0x115d40c80]-(0)-| (active, names: '|':_TtCC5UIKit19NavigationButtonBar15ItemWrapperView:0x115da48c0 )>", "<NSLayoutConstraint:0x115ac2df0 'TB_Leading_Leading' H:|-(12)-[_UIModernBarButton:0x115d20a80] (active, names: '|':_UIButtonBarButton:0x115d40c80 )>", "<NSLayoutConstraint:0x115ac2fd0 'TB_Trailing_Trailing' H:[_UIModernBarButton:0x115d20a80]-(12)-| (active, names: '|':_UIButtonBarButton:0x115d40c80 )>" ) Will attempt to recover by breaking constraint <NSLayoutConstraint:0x115ac2fd0 'TB_Trailing_Trailing' H:[_UIModernBarButton:0x115d20a80]-(12)-| (active, names: '|':_UIButtonBarButton:0x115d40c80 )> Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2
1
395
3w
Adding segments/splits into workout
Hello, I am building a workout app that has an option to add segments to differentiate different stages of the training session. Segments are added the following way: func saveSegment(eventType: HKWorkoutEventType, startDate: Date, endDate: Date, inSeg: Int) async throws { let dateInterval = DateInterval(start: startDate, end: endDate) let event = HKWorkoutEvent(type: eventType, dateInterval: dateInterval, metadata: metadata) try await builder?.addWorkoutEvents([event]) } Inside Health -> Workouts -> Show All Data, the segments appear, but in Fitness app there are no segments. The workout is .paddleSports. I thought that maybe the workout type was the problem, but when I start the sessions from the native workout app, segments are added and shown in the Fitness app: In other posts I saw suggested to add an event as .marker instead of .segment, but the result is the same, it does not appear. Is there something I am doing wrong? How can I show the segments into the Fitness app? Another question, I would like to add stroke rate and stroke count to my paddling session, is there a way to add it? Paddle Sports workout was recently introduced and it would be great to have the option to add those values. Thank you in advance. Inaki
0
1
764
Jan ’25
Universal Link works directly but not via redirect on iOS 18 and above
Hi everyone, We're facing an issue with Universal Links on iOS 18 and above. The problem seems related to how iOS handles redirects before reaching a Universal Link. ✅ Working Link (direct): When we open this direct Universal Link, the app opens as expected: 👉 https://dl.punchh.com/deeplinks/logansroadhouse/ ❌ Not Working (redirected link): This marketing/tracking link eventually redirects to the above Universal Link, but on iOS 18+, it opens the App Store or a browser instead of the app: 👉 https://ip2.loyalty.logansroadhouse.com/ls/click?upn=... The same redirect link works fine on iOS 17 and below — it opens the app.
17
1
527
May ’25
Why are system reserved files consuming half of my storage?
I am constantly running out of storage on my iPhone 16 Pro. I keep having to move my photos and videos to my laptop and delete them from my phone, and I’m constantly needing to offload apps and manually clear caches in some apps to free up storage. I finally got sick of having this cycle every two weeks so looked into it more closely. I’m finding that iOS consumes 32 GB, and then another system reserve category is consuming an additional 23 GB. Meaning the system reserved files are consuming half of the storage on this phone and effectively making it a 64 GB model. I understand the system will need to consume some capacity for itself and that iOS is getting larger, but nearly 50% of the capacity of the phone is insane. Looking closer into the categories, I’m seeing that iOS has taken it upon itself to also permanently provision 10% of the storage capacity for reserve update space. Already another instance of “why am I having to lose so much of my functional capacity to an occasional process?” but I can understand the utility of this — if I didn’t still have to offload basically all my apps every single time I run a software update, because I’m still some not-insignificant amount short. I seem to recall it being between 6-20 GB across the different updates I’ve had to do since iOS 26 rolled around. I’d also like to be clear that preprovisioning the storage space for updates isn’t a bad idea, just give us an off switch if we’d rather be able to take a few hundred more photos, have another few apps, etc. than have the space sit mostly unused. The biggest culprit is this “system data” category which is somehow consuming as much space as the entire operating system and its extensions. There’s no clear way to request iOS to clear this down if some of it is temporary data, which we should have a button for even if Apple thinks it should “just work.” Windows usually trims down on its temp files, but on the occasion you go look and see 67 GB of temporary files, being able to manually run the disk cleanup tool is very helpful. I’m hesitant to try any third party app because I shouldn’t need to, and knowing Apple, it wouldn’t have access to anything it would actually have to touch anyway. Which is neither here nor there, but give us a button to clear cache or maybe run the cleanup when the phone reboots? I am running the developer beta right now so maybe that’s part of it. However I’m not sure… I had switched to mainline release for a while when it released, and it didn’t seem any different with storage consumption and battery drain. I jumped back to beta to see some of the new features and am waiting for another mainline release to switch back to as the recent betas have been much more unstable/buggy than the entire prerelease beta period. Just wondering if anyone has any kind of input on this storage issue in particular as it’s not really been talked about as much as the battery drain issue from what I can see.
5
0
309
Oct ’25
Does UIDevice.current.identifierForVendor change after iCloud backup and restore on another iOS device?
I'm trying to understand how UIDevice.current.identifierForVendor behaves when an iOS app is restored via iCloud onto a different physical device. Context I'm building an app that needs to detect whether it’s running on a newly restored device (for example, after the user transfers their iPhone via iCloud setup). To do this, I save the value of UIDevice.current.identifierForVendor?.uuidString in persistent storage (e.g., UserDefaults). The question If I install my app on Device A, store the identifierForVendor value, back up the device to iCloud, and then restore that backup onto Device B, will the restored app see the same identifierForVendor value, or a new one? More specifically: Does iCloud backup/restore preserve the underlying “vendor” ID across devices? Is the identifierForVendor tied only to the bundle identifier and vendor prefix, or also to the physical device hardware? If the user deletes all apps from the same vendor, then restores them from iCloud, is the ID reset? What I’ve found so far Apple’s docs say: “The value of this property is the same for apps that come from the same vendor running on the same device. If the user deletes all of that vendor’s apps from the device and then reinstalls one or more of them, the value may change.” However, it doesn’t explicitly mention what happens after iCloud restore onto a new device. Goal I want to know if it’s safe to use identifierForVendor to detect a new device context (e.g., trigger a refresh of a Firebase token when the user’s device changes). Environment iOS 17+ (latest) Swift / Capacitor app bridge Testing between iPhone 14 Pro → iPhone 15 Pro (iCloud restore)
0
1
440
Oct ’25
IOS 26.1 Issue
When I updated IOS 26.1, When someone call me over voice call phone kept vibrating after call has been picked for 15 sec. Can you please check what’s the issue
3
1
882
3w
Missing App Crash Data in Analytics Report Downloads via API
I'm encountering an issue with the App Store Connect Analytics API. to download analytics reports, the app crash data is missing for both ONGOING and ONE_TIME_SNAPSHOT reports. The crash data does appear in the Dashboard, with the numbers greater than 5, so this doesn’t seem to be related to privacy restrictions. Has anyone else experienced this issue? Any insights or suggestions on how to resolve this would be greatly appreciated! Thanks in advance!
1
1
75
Apr ’25
Can't Install WatchOS 26.1 beta 2
Beta two keeps hanging during the download process and says connect to wifi (which I am) or after hours it may download the beta 1.4gb file only to have to freeze in next processing step. I have tried all the resets, reinstalling both the watch and the phone running OS26.1 Beta 2 etc. The impact is the watch and the current software implementation is only getting a couple hours of battery usages before going dead
1
0
534
Oct ’25
CarPlay Image Issue on iPhone 17?
Has anyone else had any issued with their CarPlay with the new phone? My screen gets distorted and you cannot make up anything that shows up on it, it's specific to the new phone since I have also tried it with an iPhone 15 Pro and iPhone 13. I have updated my car's firmware, reset it, reset my phone settings (per Apple's request) and nothing seems to be working, and unfortunately since I'm on the beta they are limited with the assistance they are able to provide to me.
1
0
153
Oct ’25
iOS 26 - S/MIME Encryption / Certificates
Hi everyone. Since the update to iOS 26, we are no longer able to tap the person's name and view the certificate of a signed email and choose to install the certificate or remove it. This has always worked just fine but seems to be broken on iOS 26 and I have verified that it does not work on iOS 26.1 beta as well. The part that is strange is it does work just fine on an iPad running iPad OS 26. This makes it impossible to send encrypted emails to someone via the mail app on an iPhone. I have found a temporary workaround which is to install Outlook for iOS and install the certificates through that app which then allows me to send encrypted emails via Outlook. This appears to be a bug just with the iPhone as I have also seen a few other people online talking about the same problem. Has anyone found a solution to this?
2
0
715
Oct ’25
iOS 18.3 (22D5040d) issues with unexpected shut downs and heavy battery drain
iPhone 15 Pro, 96% battery health. It all started last week when i was still on a 18.2 beta version. I figured updating would fix it but it s even worse now. It charges quickly and drains as quickly. Randomly shuts down at i.e. 93% battery percentage. After power off, it powers up with 10%, repeats the cycle and then it just sticks at 10%. I’ll update when I know for how long it stays like this. Meanwhile do you guys have any idea how to temporarily fix it or a workaround for the issue until further update will fix it?
9
1
5.1k
Jan ’25
My Developer Account is Locked
Hello, My developer account was closed last week. In a conversation with Apple support, I was informed that the account was closed due to “inactivity”, but the account has always been in regular use and I was preparing to release an app last week. Now all my work is at a standstill because the account is “Acount Holder” and Apple Turkey Support team states that this account will never be reopened and that there is no support service for Developer account in Turkey. I asked for support for the Developer account globally, but they couldn't find it either. What can I do about this? My account was not inactive and I was constantly testing my apps via testflight and I submitted the latest version last week. Which department should I contact?
5
1
619
Mar ’25
Apple developer account
Hi Community! I have enrolled for an Apple Developer Account. Only 4 hours left until the 48-hour deadline runs out. On the account page it says pending in orange when I click on my name, but it also says that I need to complete payment. I have received an invoice and receipt from Apple confirming that it’s paid, so I’m not planning to pay again. Does this sound like everything is correct and I can just look forward to it, or does it sound like something is wrong? From people’s experience here, does it often take more than 48 hours? Petter
1
0
516
Oct ’25
Inhouse distributions apps stopped working above iOS 18.1.x
Inhouse distributions apps stopped working after upgrading to version to iOS 18.1.x My issue all is inhouse distributions apps, when I open the application it will force stop. stopped working after upgrading to version 18.1.1. This has happened on multiple iPhones. Some users able use the application on same OS version but application is not working on newly downloaded device. iPhone, then updated to version 18.1.1, they app would not work. We deleted the app and the Enterprise App trust was gone. Then we installed a new version of the app. The phone did not prompt us to trust the Enterprise app again and the app it would open for a second then close. I believe when the app was deleted the Enterprise App was deleted, it’s not actually deleting certificates, because re-installation is not asking to trust certificate again.
2
1
303
Mar ’25
Active Paid Subscriptions dropped to 0 suddenly on App Store Connect
Hello, I noticed that on September 18, 2025, my Active Paid Subscriptions metric in App Store Connect suddenly dropped to 0 (-100%). However, my subscribers are still active and visible in RevenueCat and Superwall, which both confirm that users have not canceled their subscriptions. This makes me believe it is an App Store Connect reporting issue rather than an actual churn. Could you please confirm if this is a known data delay/bug, and let me know when the metric will be corrected? Thank you for your help
7
1
635
Sep ’25
no internet connection
after updating to beta 4 the whole phone is not working anymore nothing is working only making calls and the camera no apps no internet even if it's connected to wifi or 5G ANd to get back to the old version you will lose your backup And now im stuck my data that i can't restore it cuz it have been made on the last IOS beta I don't want to lose my date and i don't know what to do Please help
0
1
236
Mar ’25
CarPlay not working on Apple iPhone 15 PRO MAX iOS 26
I have a FORD F250 2021. I returned for a deployment, and CarPlay does not work in my vehicle. I have tried all the YouTube, TikTok, Facebook, and Instagram videos I could find. They all actually started to repeat, so I decided to come here. My wife has an iPhone 16 Pro Max, and it connects to CarPlay without any issues. Other than all the social media suggestions, do you have any other suggestions? No, I am not ready to purchase a new device.
1
0
396
2w