I’ve just updated to Mojave and I’m trying to get my app run on the latest version of Rubymotion (6.0). I’m getting the following error:
Objective-C stub for message `fetchWithExpirationDuration:completionHandler:' type `v@:d@?' not precompiled. Make sure you properly link with the framework or library that defines this message.
Which relates to the following Firebase code:
FIRRemoteConfig.remoteConfig.fetchWithExpirationDuration(10, completionHandler: proc { |fetch_status, error| S::Base.remote_configs.activateFetched })
I’m also getting the same type of error on the following OneSignal code:
OneSignal.alloc.initWithLaunchOptions(options, appId: Environment[:one_signal_id], handleNotification: proc { |message, data, is_active|}, autoRegister: false)
This worked fine when I was running on High Sierra and Rubymotion 5.10.
It seems like someone else had a similar issue with a native library (App crashing after 5.16 upgrade). I don’t see how I can apply the same solution though.
Any guess on what’s going on here?