ios-oss
ios-oss copied to clipboard
run with runtime error 'Thread 1: "library must be initialized before calling this method."'
when i set isOSS to true in Secrets.swift, simulator run with rumtime error, like below picture:
Apparently it's because Analytics.shared() is accessed before Analytics.setup.
As a temporary fix, commenting out this line worked for me,
AppDelegate.swift, L#249
enabled ? Analytics.shared().enable() : Analytics.shared().disable()