How to handle unknown types?
Created by: sapieneptus
Apple's Provisioning Profile plists sometimes contain variable types. E.g., AssociatedDomains
for an app are sometimes Arrays and sometimes Strings. So if we have an interface:
type Profile struct {
AssociatedDomains []string `plist:com.apple.associated.domains`
}
We will get an error if we try to decode this and the AssociatedDomains are a string.
Is there some way to handle this case?