https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
e

Eduardo Ruesta

02/28/2024, 12:14 PM
Hello all!, i found this issue when try to run the iOS build on a Compose Multiplatform . The Android and Desktop work fine but i couldn't run on iOS: > i found this on the Build Output:
🧵 3
> Undefined symbols for architecture arm64:
> "_objc_msgSend$transitLifecycleToStarted", referenced from:
> -[CMPViewController viewControllerDidEnterWindowHierarchy] in ComposeApp(CMPViewController.o)
> "_objc_msgSend$exceptionWithNamereasonuserInfo:", referenced from:
> -[CMPViewController transitLifecycleToStarted] in ComposeApp(CMPViewController.o)
> "_objc_msgSend$window", referenced from:
> -[UIViewController(CMPUIKitUtilsPrivate) cmp_isInWindowHierarchy] in ComposeApp(CMPViewController.o)
> "_objc_msgSend$parentViewController", referenced from:
> -[UIViewController(CMPUIKitUtilsPrivate) cmp_isInWindowHierarchy] in ComposeApp(CMPViewController.o)
> "_objc_msgSend$view", referenced from:
> -[UIViewController(CMPUIKitUtilsPrivate) cmp_isInWindowHierarchy] in ComposeApp(CMPViewController.o)
> "_objc_msgSend$cmp_isRootViewController", referenced from:
> -[UIViewController(CMPUIKitUtilsPrivate) cmp_isInWindowHierarchy] in ComposeApp(CMPViewController.o)
> "_objc_msgSend$connectedScenes", referenced from:
> -[UIViewController(CMPUIKitUtilsPrivate) cmp_isRootViewController] in ComposeApp(CMPViewController.o)
> "_objc_msgSend$cmp_isInWindowHierarchy", referenced from:
> -[UIViewController(CMPUIKitUtilsPrivate) cmp_isInWindowHierarchy] in ComposeApp(CMPViewController.o)
> ___54-[CMPViewController scheduleHierarchyContainmentCheck]_block_invoke in ComposeApp(CMPViewController.o)
> "_objc_msgSend$viewControllerDidEnterWindowHierarchy", referenced from:
> -[CMPViewController viewWillAppear:] in ComposeApp(CMPViewController.o)
> -[CMPViewController transitLifecycleToStarted] in ComposeApp(CMPViewController.o)
> "_objc_msgSend$resolveAccessibilityContainer", referenced from:
> -[CMPAccessibilityElement accessibilityContainer] in ComposeApp(CMPAccessibilityElement.o)
> "_objc_msgSend$isKindOfClass:", referenced from:
> -[UIViewController(CMPUIKitUtilsPrivate) cmp_isRootViewController] in ComposeApp(CMPViewController.o)
> "_objc_msgSend$countByEnumeratingWithStateobjectscount:", referenced from:
> -[UIViewController(CMPUIKitUtilsPrivate) cmp_isRootViewController] in ComposeApp(CMPViewController.o)
> "_objc_msgSend$sharedApplication", referenced from:
> -[UIViewController(CMPUIKitUtilsPrivate) cmp_isRootViewController] in ComposeApp(CMPViewController.o)
> "_objc_msgSend$windows", referenced from:
> -[UIViewController(CMPUIKitUtilsPrivate) cmp_isRootViewController] in ComposeApp(CMPViewController.o)
> "_objc_msgSend$rootViewController", referenced from:
> -[UIViewController(CMPUIKitUtilsPrivate) cmp_isRootViewController] in ComposeApp(CMPViewController.o)
> "_objc_msgSend$class", referenced from:
> -[UIViewController(CMPUIKitUtilsPrivate) cmp_isRootViewController] in ComposeApp(CMPViewController.o)
> "_objc_msgSend$viewControllerDidLeaveWindowHierarchy", referenced from:
> ___54-[CMPViewController scheduleHierarchyContainmentCheck]_block_invoke in ComposeApp(CMPViewController.o)
> "_objc_msgSend$scheduleHierarchyContainmentCheck", referenced from:
> -[CMPViewController transitLifecycleToStarted] in ComposeApp(CMPViewController.o)
> ___54-[CMPViewController scheduleHierarchyContainmentCheck]_block_invoke in ComposeApp(CMPViewController.o)
> "_objc_msgSend$presentingViewController", referenced from:
> -[UIViewController(CMPUIKitUtilsPrivate) cmp_isInWindowHierarchy] in ComposeApp(CMPViewController.o)
> "_objc_msgSend$accessibilityContainer", referenced from:
> +[CMPAccessibilityElement accessibilityContainerOfObject:] in ComposeApp(CMPAccessibilityElement.o)
> ld: symbol(s) not found for architecture arm64
>
>
6 Views