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

Created

Guideline 1.3 - Safety - kids Category. Your app implements the App Tracking Traspoarency
Apple's review team informed us that we are using the ATT framework, but when we analyzed the IPA package using MobSF, the LIBRARIES section did not include the AppTrackingTransparency.framework and AdSupport.framework, nor the NSUserTrackingUsageDescription field. A global search also did not reveal this information. How should I resolve this issue? Regarding the "1.3.0 Safety: Kids Category" issue, I would like to ask if you could provide us with technical support. We didn't use ATT in our code, nor did we declare NSUserTrackingUsageDescription in the info.plist. When uploading the package, there was no feedback indicating the need to declare NSUserTrackingUsageDescription. We used the commands grep -r AdSupport ., grep -r advertisingIdentifier ., and find . -type f -exec grep -il "appTrackingTransparency" {} + to search the entire project, but did not find any related frameworks. We've tried many methods but still can't determine where the AppTrackingTransparency framework is being used. package.json Podfile.txt
0
0
247
Oct ’24
Manually offload apps
Hello, I use to be able to manually offload apps to clean up my storage space and ever since I uploaded the iOS 18 developer beta to the latest, I can’t see to find an option for it. Any help would be appreciated!
1
0
233
Oct ’24
iOS 18 fixed the problem with screen time and family share
But only until the update to iOS 18.0.1 came along just a few weeks later. EVERY TIME there's an update it breaks family share and screen time. EVERY TIME single time! And to fix, you must have the kid's phone in hand (easier for parents with little kids, not so easy with teens, also not easy for kids whose parents are split up and kid spends one week with you and one week with other parent). Then you have to make sure they are both on the same iOS version, then you have to log into iCloud and set up family sharing all over again. THIS SUCKS. Apple you can do better.
1
0
860
Oct ’24
Face ID animation
hello everyone, I am experiencing Face ID animation issue. When I try to unlock my screen or the apps using Face ID, it won’t show the full animation. see attachment for reference. But it shows full animation in App Store or apple pay. everyone know about this issue? IOS18 bug. I’m at IOS 18.0.1
1
0
282
Oct ’24
macOS ScreenSaver SFAuthorizationPluginView
Hi Team, Thank you for your Response and Shared example AuthorizationPlugins. As Stated in README file of LoginUIAuthPlugin. The changes are Reflected in LoginScreen only , Not effected at Screen Saver , I followed This Steps to Configure the LoginUIAuthPlugin.bundle file . Steps -1: Open /Library/Security/SecurityAgentPlugins here i configured The .bundle file. Step -2: security authorizationdb read system.login.console > ~/Desktop/auth.plist Step-3: vim /Users/rahul/Desktop/auth.plist After Editing the auth.plist. it looks like Below. ?xml version="1.0" encoding="UTF-8"?> Step -4 : security authorizationdb write system.login.console < ~/Desktop/auth.plist Up to Here The Changes are Effected in LoginScreen. **For Screen Saver ** Step-1: security authorizationdb read system.login.screensaver > ~/Desktop/screen.plist **step-2:vim /Users/rahul/Desktop/screen.plist ** After Editing Plist file looks like below. Step-3. security authorizationdb write system.login.screensaver < ~/Desktop/screen.plist Step-4.: sudo defaults write /Library/Preferences/com.apple.loginwindow screenUnlockMode -int 2 Changes Are Not effected same as loginscreen. it is showing small window as alert . , I want same as loginscreen, Please support to implement this . Thanks in Advance. Please Find The Attached Screen shots of screensaver , Terminal ScreenShot and Login Screen, and Shared AuthPlugins.
0
0
289
Oct ’24
Apple TV 4k
My cat accidentally stood on the remote and pressed the button. Now I can't restore the apple tv 4k using the iphone. The download stops immediately
1
0
173
Oct ’24
Inquiry Regarding Payment and Account Activation
Hello, I hope this message finds you well. On October 3rd, I completed the payment process for my Apple Developer account, but I noticed that the payment has not been processed yet, and my account has not been activated. I would like to kindly request your assistance in checking the status of my payment and account activation. I apologize if I am addressing this issue in the wrong channel and appreciate your understanding. Thank you in advance for your help.
0
0
204
Oct ’24
Password App not working
The password app on my iPad has stopped working. It goes through the Face ID then just shows a blank screen. It still seems to be applying ID / passwords when logging onto to sites that need them but I cannot manage the passwords at all. This seems to have happened after upgrading to iOS 18.1 beta but it is working fine on my iPhone which is also on 18.1 beta. Unfortunately I am forced to use Microsoft Authenticator for some apps but this has not been an issue to date and again is also installed on my iPhone. Please, does anyone have an explanation or fix for this as I rely on Apple’s password manager across a range of systems and I’m concerned I will end up losing my passwords. Thank you
14
5
8k
Oct ’24
iCloud mail verification fail - new iphone 16 plus set up
Setting up iphone 16 plus. I have a very old apple ID with an old email I only keep for the apple ID (it's a hotmail.com email acc) this is the one I use for back ups etc. I also have an @icloud.com. I use the @icloud.com email for day to day emails and it is account that is on the "mail" app on my old phone. I am trying to set this up on the new phone and when asking for the password for the @icloud ID I am entering the correct password (I've even changed it so I know it is correct) and get the error message "verification failed. Unknown error occurred" I have no idea how to fix this - any suggestions?
1
0
390
Oct ’24
iOS 18.1 and CarPlay
Have a 2019 GMC and an iphone 14 Promax. The CarPlay continues not to work and will shut down the electronics in the car and restarts the screen. I do not have access to my gps as for some reason this iOS isn’t compatible. My car is updated to the newest updates
1
0
558
Oct ’24
Firebase Realtime Database Error "Operation Canceled" Causes Observers to Stop Receiving Updates in Xcode 15.3
I'm developing an iOS application using Xcode 15.3 and Firebase SDK 11.3.0. My app utilizes Firebase Realtime Database to monitor changes in foodEntries through Firebase observers. Here's a simplified overview of my implementation: Setting Up Observers: I set up Firebase observers to listen for changes in the foodEntries node. This allows my app to react in real-time to any additions or modifications. Monitoring Connection Status: I check the Firebase connection status whenever the app becomes active. Additionally, I track the network connection using NWPathMonitor to handle connectivity changes. Issue: When I send the app to the background and then bring it back to the foreground, I occasionally encounter the following error in the console. This happens approximately once in ten attempts: 2024-10-10 17:49:08.588502+0200 MyApp[22614:2112636] [[FirebaseDatabase]] 11.3.0 - [FirebaseDatabase][I-RDB083016] Error sending web socket data: Error Domain=NSPOSIXErrorDomain Code=89 "Operation canceled" UserInfo={NSDescription=Operation canceled}. Consequences: Once this error occurs, my app stops receiving updates from the Firebase observers. The observers' closure callbacks are no longer triggered, effectively halting real-time data synchronization. Additionally, the Firebase connection status change is not triggered when this happens. Temporary Workaround: Interestingly, the issue resolves itself when I send the app to the background and then bring it back to the foreground. This action seems to reset the Firebase connection, allowing observers to function correctly again until the error reoccurs. What I've Tried: Reinitializing Observers: Attempted to remove and re-add observers upon detecting connection issues. Connection Monitoring: Implemented NWPathMonitor to track network changes and attempt reconnections. Error Handling: Tried catching errors during data operations to trigger retries or reconnections. Despite these efforts, the Operation canceled error persists and disrupts the observer functionality. Sample Code: Here's how I set up the Firebase observers and monitor the network connection: `import FirebaseDatabase import Network import Combine class UserData: ObservableObject { private let monitor = NWPathMonitor() private let networkQueue = DispatchQueue(label: "NetworkMonitor") private var cancellables = Set() @Published var isAppFirebaseConnected: Bool = false @Published var isAppNetworkConnected: Bool = false init() { setupFirebaseMonitoring() startNetworkMonitoring() } private func setupFirebaseMonitoring() { let db = Database.database().reference() let connectedRef = db.child(".info/connected") connectedRef.observe(.value) { [weak self] snapshot in if let connected = snapshot.value as? Bool { DispatchQueue.main.async { self?.isAppFirebaseConnected = connected if connected { print("Firebase is connected.") // Initialize observers here self?.initObservers() } else { print("Firebase is disconnected.") self?.removeObservers() } } } } } private func startNetworkMonitoring() { monitor.pathUpdateHandler = { [weak self] path in let isConnected = path.status == .satisfied DispatchQueue.main.async { self?.isAppNetworkConnected = isConnected print("Network connection status: \(isConnected ? "Connected" : "Disconnected")") if isConnected && self?.isAppFirebaseConnected == false { // Attempt to reconnect Firebase if needed self?.reconnectFirebase() } } } monitor.start(queue: networkQueue) } private func initObservers() { let db = Database.database().reference() db.child("foodEntries").observe(.childAdded) { snapshot in // Handle new food entry print("New food entry added: \(snapshot.key)") } db.child("foodEntries").observe(.childChanged) { snapshot in // Handle updated food entry print("Food entry updated: \(snapshot.key)") } } private func removeObservers() { let db = Database.database().reference() db.child("foodEntries").removeAllObservers() print("Removed all Firebase observers.") } private func reconnectFirebase() { print("Attempting to reconnect Firebase...") Database.database().goOffline() DispatchQueue.main.asyncAfter(deadline: .now() + 1.0) { Database.database().goOnline() } } }` Problem Description: Observers Stop Working: After some time, the Operation canceled error appears, and the Firebase observers stop receiving updates. No Triggered Closures: The closure callbacks for .childAdded and .childChanged are no longer invoked. Manual Reset Required: Backgrounding and foregrounding the app temporarily fixes the issue by resetting the Firebase connection. Question: How can I prevent the NSPOSIXErrorDomain Code=89 "Operation canceled" error from disrupting Firebase Realtime Database observers in my SwiftUI app using Xcode 15.3 and Firebase SDK 11.3.0? Additionally, how can I effectively track and handle network connectivity changes to ensure that Firebase observers remain functional without requiring manual app state resets? What I Need Help With: Understanding the Cause: Insights into why the Operation canceled error occurs and how it affects Firebase's WebSocket connections. Robust Error Handling: Best practices for handling such network-related errors to maintain continuous observer functionality. Network Monitoring Integration: Examples or suggestions on effectively integrating network monitoring to trigger Firebase reconnections when necessary. Alternative Solutions: Any alternative approaches or configurations that can mitigate this issue. Additional Information: Firebase Configuration: I'm using default Firebase configurations and have enabled offline persistence. Device Environment: The issue occurs on both simulators and physical devices with stable internet connections. App Lifecycle Management: Observers are set up when the app becomes active and removed when it resigns active, as shown in the sample code. Any guidance or examples on handling this Firebase connection error and maintaining observer reliability would be greatly appreciated!
1
0
449
Oct ’24
Siri and car play still plays
When I activate Siri and the phones connected via car play, the music from the entertainment system still plays. So i'm trying to talk and listen to Siri with the music playing in the background. Any ideas if theirs an option i'm missing or its an iOS issue?
0
0
214
Oct ’24
iOS 18.0.1 automatic locking bug
Locked phone -&gt; Face ID unlocking (without swapping up to home page) -&gt; The phone stays unlocked and wait for swapping up endlessly (don’t locking after the setted aut. locking period). Sorry for the bad english - I hope you will understand what is the bug.
0
0
334
Oct ’24
Reviewers are testing an old version
Hi everyone, We've submitted my app for review several times, making improvements with each submission. However, the reviewers keep providing generic feedback and irrelevant complaints. For example, we changed the logo and primary color, so it's clear they aren't reviewing the correct version. We've ensured that the latest version was properly uploaded for review. They also keep claiming the app contains "testing data" like lorem ipsum, but none of that is in the database anymore. I'm at a loss here. Does anyone have any advice on how to resolve this?
0
0
308
Oct ’24
Find My keeps crashing causing my phone to freeze
After the new update IOS 18 and iOS 18.1, every time I find my, it exits out of the app, then ends up freezing my phone screen and crashing my phone. I have taken it to the Genius Bar once already and they couldn't solve my issue aside from resetting my phone settings, I have also deleted and redownloaded the app. Any other suggestions? I have an iPhone 13, only half of my storage is used, and my battery is great. Genius bar said there are no hardware issues present.
1
1
1.3k
Oct ’24
Passwords app
Why? I don’t like having a bunch of apps especially new ones that are unnecessary. Can we at least have the option to delete the app without losing all the data in the app? Like can we still have the section in settings for passwords. This is ridiculous
1
0
224
Oct ’24