gitn00b1337 / expo-widgets

Bringing widget functionality to expo!
148 stars 12 forks source link

Cannot find `ExpoWidgetsModule` #13

Closed nandorojo closed 7 months ago

nandorojo commented 7 months ago
Screenshot 2024-04-13 at 8 17 40 AM

Hey, any ideas for what is causing this?

Came from running npx expo run:ios after prebuilding.

› Compiling Pods/Pods-ListenwithFriendsWidgetExtension » Pods-ListenwithFriendsWidgetExtension-dummy.m
› Compiling Pods/Pods-ListenwithFriends » Pods-ListenwithFriends-dummy.m
› Packaging Pods/Pods-ListenwithFriends » libPods-ListenwithFriends.a
› Packaging Pods/Pods-ListenwithFriendsWidgetExtension » libPods-ListenwithFriendsWidgetExtension.a
› Executing ListenwithFriends/ListenwithFriendsWidgetExtension » [CP] Check Pods Manifest.lock
› Executing ListenwithFriends/ListenwithFriendsWidgetExtension » [Expo] Configure project

❌  (ios/Pods/Target Support Files/Pods-ListenwithFriendsWidgetExtension/ExpoModulesProvider.swift:24:7)

  22 |   public override func getModuleClasses() -> [AnyModule.Type] {
  23 |     return [
> 24 |       ExpoWidgetsModule.self,
     |       ^ cannot find 'ExpoWidgetsModule' in scope
  25 |       ApplicationModule.self,
  26 |       ConstantsModule.self,
  27 |       CryptoModule.self,
nandorojo commented 7 months ago

I think that maybe the expo modules isn't getting installed into the widget properly.

gitn00b1337 commented 7 months ago

For future reference on anyone reading, this is normally caused if you haven't done a prebuild. I assume that was the problem here