IOS app not opened or prompted to open when Universal Link used
09:35 10 Nov 2025

I got everything configured and tested using many MANY docs online. My app has been published by 2 months now I still I cant get Universal Links to work.

example that in the phone the app is not showed as selectable to open the link

example that the app is recognized by the Developer Diagnostic tool on the same phone

i have checked every step as the uses of bundle id and team id to be the same

my config on xcode Associated domain capability is also been checked many times

I need help with this. The project was made in Kotlin Multiplatform. If i had issues with handling the links is ok but my app is not even attempted to be opened. Just in case this is my code and the project structure was generated by the https://kmp.jetbrains.com/?android=true&ios=true&iosui=compose&desktop=true&web=true&webui=compose&includeTests=true

The class with the code to send the received URL to handle is iOSApp and here is the code too:

ios project structure

import SwiftUI
import ComposeApp

@UIApplicationMain
class AppDelegate: NSObject, UIApplicationDelegate {
    var window: UIWindow?
    
    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
        self.window = UIWindow(frame: UIScreen.main.bounds)
        let mainViewController = UIHostingController(rootView: ContentView())
        self.window!.rootViewController = mainViewController
        self.window!.makeKeyAndVisible()
        
        return true
    }
    
    func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
        iOSDeeplinkHandler.shared.addLink(value: url.absoluteString)
        return true
    }
    
    func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {
        guard userActivity.activityType == NSUserActivityTypeBrowsingWeb,
              let url = userActivity.webpageURL
        else {
            return false
        }
        iOSDeeplinkHandler.shared.addLink(value: url.absoluteString)
        return true
    }
}

ios swift apple-developer