Since I have switched to M1, it has proven impossible running the app on the simulator. On the device itself it works fine.
I get the build error: Cannot find 'Analytics' in scope
import Firebase
class AlertService: AlertServiceBase, AlertServiceProtocol {
func showWarningAlert(dict: NSDictionary) {
...
Analytics.logEvent("blocked_no_more_warning", parameters: nil)
}
}
I spoke to an Apple engineer and he said to change all Pods architecture to Standard Architectures (arm64, armv7) - $(ARCHS_STANDARD).
It helped a bit to progress further, but then it failed on the firebase analytics issue. He suggested to post the issue here on SO. Hopefully someone had this before. Thanks