mosabab opened a new issue #714: URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/714
# Bug Report ## Problem Xcode show this error: No known instance method for selector 'shouldAutorotateToInterfaceOrientation:' ### What is expected to happen? The error should not appear in Xcode. ### What does actually happen? When you try to build your code either from command line at macOS: `sudo cordova build ios` The following build commands failed: CompileC /var/root/Library/Developer/Xcode/DerivedData/myapp-fwtbwlotgipnwyfynxipdyoqnfgg/Build/Intermediates.noindex/myapp.build/Debug-iphonesimulator/testapp.build/Objects-normal/x86_64/CDVWKInAppBrowser.o /Users/mosab/Documents/myapp/platforms/ios/testapp/Plugins/cordova-plugin-inappbrowser/CDVWKInAppBrowser.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (1 failure) xcodebuild: Command failed with exit code 65 -- And if you open your project in Xcode, you will see the following error message: /Users/mosab/Documents/myapp/platforms/ios/testapp/Plugins/cordova-plugin-inappbrowser/CDVWKInAppBrowser.m:1250:42: No known instance method for selector 'shouldAutorotateToInterfaceOrientation:' ## Information <!-- Include all relevant information that might help understand and reproduce the problem --> ### Command or Code <!-- What command or code is needed to reproduce the problem? --> 1- sudo cordova create testapp com.myapp myapp 2- cd testapp 3- sudo cordova platform add ios@6.0.0 4- sudo cordova build ios ### Environment, Platform, Device <!-- In what environment, on what platform or on which device are you experiencing the issue? --> iOS ### Version information <!-- What are relevant versions you are using? For example: Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins Other Frameworks: Ionic Framework and CLI version Operating System, Android Studio, Xcode etc. --> cordova cli 9.0.0 cordova-ios 6.0.0 cordova-plugin-inappbrowser (master version) or 3.2.0 Xcode 11.5 macOS 10.15.5 ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [x] I searched for existing GitHub issues - [x] I updated all Cordova tooling to most recent version - [x] I included all the necessary information above ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org