Swift Error: "Type 'DevLauncherAppController' does not conform to protocol 'UpdatesExternalInterface' in Expo SDK 52

Swift Error: "Type 'DevLauncherAppController' does not conform to protocol 'UpdatesExternalInterface' in Expo SDK 52

When running a local with Expo (SDK 52) in custom development client, the Swift compiler threw an error:

type 'DevLauncherAppController' does not conform to protocol 'UpdatesExternalInterface'

The error points to this class declaration from DevLauncherAppController.swift:

46 | @objc(EXUpdatesDevLauncherController)
47 | @objcMembers
> 48 | public final class DevLauncherAppController: NSObject, InternalAppControllerInterface, UpdatesExternalInterface {
     |                    ^ type 'DevLauncherAppController' does not conform to protocol 'UpdatesExternalInterface'
49 |   public let eventManager: UpdatesEventManager = NoOpUpdatesEventManager()
50 | 
51 |   private let logger = UpdatesLogger()

The DevLauncherAppController class claims to conform to the UpdatesExternalInterface protocol, but the compiler reports missing requirements.

Answer

I downgraded my Xcode to 16.2 and the app built successfully.

Enjoyed this article?

Check out more content on our blog or follow us on social media.

Browse more articles