react-native-cache-pods icon indicating copy to clipboard operation
react-native-cache-pods copied to clipboard

Using the pod cache fail when having expo installed

Open Badra00 opened this issue 3 years ago • 0 comments

Hello

I'm using your solution to speed up the build with the pod cache, but once I installed Expo I'm facing this issue:

❌  /Users/distiller/tmp/ios/Pods/Target Support Files/Pods-the5ource/ExpoModulesProvider.swift:13:47: cannot find type 'AnyModule' in scope

  public override func getModuleClasses() -> [AnyModule.Type] {
        ^



❌  /Users/distiller/tmp/ios/Pods/Target Support Files/Pods-the5ource/ExpoModulesProvider.swift:13:24: method does not override any method from its superclass

  public override func getModuleClasses() -> [AnyModule.Type] {
                                              ^~~~~~~~~



��  /Users/distiller/tmp/ios/Pods/Target Support Files/Pods-the5ource/ExpoModulesProvider.swift:19:56: cannot find type 'ExpoAppDelegateSubscriber' in scope

  public override func getAppDelegateSubscribers() -> [ExpoAppDelegateSubscriber.Type] {
         ~~~~~~~~      ^



❌  /Users/distiller/tmp/ios/Pods/Target Support Files/Pods-the5ource/ExpoModulesProvider.swift:19:24: method does not override any method from its superclass

  public override func getAppDelegateSubscribers() -> [ExpoAppDelegateSubscriber.Type] {
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~



❌  /Users/distiller/tmp/ios/Pods/Target Support Files/Pods-the5ource/ExpoModulesProvider.swift:24:55: cannot find type 'ExpoReactDelegateHandlerTupleType' in scope

  public override func getReactDelegateHandlers() -> [ExpoReactDelegateHandlerTupleType] {
         ~~~~~~~~      ^



❌  /Users/distiller/tmp/ios/Pods/Target Support Files/Pods-the5ource/ExpoModulesProvider.swift:24:24: method does not override any method from its superclass

  public override func getReactDelegateHandlers() -> [ExpoReactDelegateHandlerTupleType] {
                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



❌  /Users/distiller/tmp/ios/Pods/Target Support Files/Pods-the5ource/ExpoModulesProvider.swift:12:14: cannot inherit from non-open class 'ModulesProvider' outside of its defining module

public class ExpoModulesProvider: ModulesProvider {
         ~~~~~~~~      ^



❌  /Users/distiller/tmp/ios/Pods/Target Support Files/Pods-the5ource/ExpoModulesProvider.swift:12:35: 'ModulesProvider' is unavailable: cannot find Swift declaration for this class

public class ExpoModulesProvider: ModulesProvider {
             ^



❌  /Users/distiller/tmp/ios/Pods/Target Support Files/Pods-the5ource/ExpoModulesProvider.swift:13:47: cannot find type 'AnyModule' in scope

  public override func getModuleClasses() -> [AnyModule.Type] {
             ^



❌  /Users/distiller/tmp/ios/Pods/Target Support Files/Pods-the5ource/ExpoModulesProvider.swift:13:24: method does not override any method from its superclass

  public override func getModuleClasses() -> [AnyModule.Type] {
                                              ^~~~~~~~~



❌  /Users/distiller/tmp/ios/Pods/Target Support Files/Pods-the5ource/ExpoModulesProvider.swift:19:56: cannot find type 'ExpoAppDelegateSubscriber' in scope

  public override func getAppDelegateSubscribers() -> [ExpoAppDelegateSubscriber.Type] {
         ~~~~~~~~      ^



❌  /Users/distiller/tmp/ios/Pods/Target Support Files/Pods-the5ource/ExpoModulesProvider.swift:19:24: method does not override any method from its superclass

  public override func getAppDelegateSubscribers() -> [ExpoAppDelegateSubscriber.Type] {
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~



❌  /Users/distiller/tmp/ios/Pods/Target Support Files/Pods-the5ource/ExpoModulesProvider.swift:24:55: cannot find type 'ExpoReactDelegateHandlerTupleType' in scope

  public override func getReactDelegateHandlers() -> [ExpoReactDelegateHandlerTupleType] {
         ~~~~~~~~      ^



❌  /Users/distiller/tmp/ios/Pods/Target Support Files/Pods-the5ource/ExpoModulesProvider.swift:24:24: method does not override any method from its superclass

  public override func getReactDelegateHandlers() -> [ExpoReactDelegateHandlerTupleType] {
                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



❌  /Users/distiller/tmp/ios/Pods/Target Support Files/Pods-the5ource/ExpoModulesProvider.swift:12:14: cannot inherit from non-open class 'ModulesProvider' outside of its defining module

public class ExpoModulesProvider: ModulesProvider {
         ~~~~~~~~      ^



❌  /Users/distiller/tmp/ios/Pods/Target Support Files/Pods-the5ource/ExpoModulesProvider.swift:12:35: 'ModulesProvider' is unavailable: cannot find Swift declaration for this class

public class ExpoModulesProvider: ModulesProvider {

Do you have an idea of how to fix this?

Badra00 avatar Oct 05 '22 00:10 Badra00