I have converted my project from Android to iOS. It shows me no errors, I can play game easily but when I try to make build, it shows me this error and build process is cencelled.
_The type or namespace name 'ShowResult' could not be found(are you missing a using directive or an assembly reference?)_
__Double clicking on error takes me to script (in VS) which also shows no error (like editors show red-underline on errors). Going to 'ShowResult' declaration, it takes me to namespace UnityEngine.Advertisements. And this namespace is also included in the script in which 'ShowResult' is being used.__
If everything is fine i.e 'ShowResult' namespace is included and namespace Unity.Advertisement also exists in the project then why is Unity showing the error while making build?
↧