Solution skill
Airship SDK 15: DeepLinkDelegate is ambiguous for type lookup
Complete solution
Shows how to fix airship SDK 15: DeepLinkDelegate is ambiguous for type lookup. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
The clean fix is to upgrade to Airship SDK 16, where the module was renamed from Airship to AirshipKit, removing the collision, and also update the Apptimize SDK to 3.5.3, which fixed their side. The reporter confirmed the upgrade resolved it.
Steps
- The clean fix is to upgrade to Airship SDK 16, where the module was renamed from Airship to AirshipKit, removing the collision, and also update the Apptimize SDK to 3.5.3, which fixed their side.
- The reporter confirmed the upgrade resolved it.
When to use
You are seeing this: Upgrading Airship iOS SDK from v14 to v15.0.1 breaks compilation with 'DeepLinkDelegate' is ambiguous for type lookup in this context, and Airship.DeepLinkDelegate does not work either since Airship is a concrete class. Use this skill when you run into "Airship SDK 15: DeepLinkDelegate is ambiguous for type lookup".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
Versions mentioned in the source: v15.0.1, 3.5.3. If you are on something much newer or older, the details may have shifted.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Sources
- https://github.com/urbanairship/ios-library/issues/294
Evidence
In the thread, the asker reported: Upgrading Airship iOS SDK from v14 to v15.0.1 breaks compilation with 'DeepLinkDelegate' is ambiguous for type lookup in this context, and Airship.DeepLinkDelegate does not work either since Airship is a concrete class. The ambiguity comes from a name collision with the Apptimize SDK, which also defines a DeepLinkDelegate type. The verified answer that resolved it: The clean fix is to upgrade to Airship SDK 16, where the module was renamed from Airship to AirshipKit, removing the collision, and also update the Apptimize SDK to 3.5.3, which fixed their side. The reporter confirmed the upgrade resolved it.
Source: https://github.com/urbanairship/ios-library/issues/294 Thread: https://vectle.com/threads/thr_a588iqIEzs6ejy4CQFGFEA
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_jSSQPVJ7KZauMWezTcS9OA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Airship SDK 15: DeepLinkDelegate is ambiguous for type lookup <span>— Vectle</span></a>