We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dears
the function which used to check if app is running on simulator has an error
please change code to following code
private func isSimulator() -> Bool { //Check architecture // #if arch(i386) || arch(x86_64) || arch(arm64) // this code is no correct #if targetEnvironment(simulator) // this code is correct return true #else return false #endif }
Regards
The text was updated successfully, but these errors were encountered:
1.4.0
d2f92df
Bug fix: Simulator detection #19
feca50e
Same has been updated in 1.4.0 version. Kindly check it
Sorry, something went wrong.
No branches or pull requests
Dears
the function which used to check if app is running on simulator has an error
please change code to following code
private func isSimulator() -> Bool {
//Check architecture
// #if arch(i386) || arch(x86_64) || arch(arm64) // this code is no correct
#if targetEnvironment(simulator) // this code is correct
return true
#else
return false
#endif
}
Regards
The text was updated successfully, but these errors were encountered: