You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/06/05 01:08:57 UTC

[GitHub] [cordova-plugin-inappbrowser] mosabab opened a new issue #714: [iOS] No known instance method for selector 'shouldAutorotateToInterfaceOrientation:'

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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] asgeo1 edited a comment on issue #714: [iOS] No known instance method for selector 'shouldAutorotateToInterfaceOrientation:'

Posted by GitBox <gi...@apache.org>.
asgeo1 edited a comment on issue #714:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/714#issuecomment-639202133


   Having this issue too on `master`. It's because `shouldAutorotateToInterfaceOrientation` is depreciated and doesn't work with cordova-ios `6.0.0`
   
   The issue was originally fixed in this PR: https://github.com/apache/cordova-plugin-inappbrowser/pull/666
   
   Then for some reason in this PR the change was reversed: https://github.com/apache/cordova-plugin-inappbrowser/pull/656
   
   Suggest that the original fix is reinstated.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] asgeo1 commented on issue #714: [iOS] No known instance method for selector 'shouldAutorotateToInterfaceOrientation:'

Posted by GitBox <gi...@apache.org>.
asgeo1 commented on issue #714:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/714#issuecomment-639202133


   Having this issue too on `master`. It's because `shouldAutorotateToInterfaceOrientation` is depreciated and doesn't work with cordova-ios `6.0.0`
   
   The issue was originally fixed in this PR: https://github.com/apache/cordova-plugin-inappbrowser/pull/666
   
   Then for some reason in this PR the change was reversed: https://github.com/apache/cordova-plugin-inappbrowser/pull/656
   
   Suggest that the original fix is reinstated...


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] mosabab commented on issue #714: [iOS] No known instance method for selector 'shouldAutorotateToInterfaceOrientation:'

Posted by GitBox <gi...@apache.org>.
mosabab commented on issue #714:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/714#issuecomment-639211650


   > Having this issue too on `master`. It's because `shouldAutorotateToInterfaceOrientation` is depreciated and doesn't work with cordova-ios `6.0.0`
   > 
   > The issue was originally fixed in this PR: #666
   > 
   > Then for some reason in this PR the change was reversed: #656
   > 
   > Suggest that the original fix is reinstated.
   
   You are right
   Thanks for info


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] mosabab commented on issue #714: [iOS] No known instance method for selector 'shouldAutorotateToInterfaceOrientation:'

Posted by GitBox <gi...@apache.org>.
mosabab commented on issue #714:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/714#issuecomment-639200977


   > > cordova-plugin-inappbrowser (master version) or 3.2.0
   > 
   > Did you test both master (`4.0.0-dev`) and `3.2.0`?
   > 
   > I believe this is a known issue that `4.0.0-dev` is suppose to resolve.
   
   I test it in this versions:
   
   First test:
   https://github.com/apache/cordova-plugin-inappbrowser.git#master
   
   Second test
   https://github.com/apache/cordova-plugin-inappbrowser.git#3.2.0
   
   I think the problem from line CDVWKInAppBrowser.m:1250:42
   
   Because I am using Xcode 11.5
   
   Maybe the other users not testing in new versions of Xcode.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] NiklasMerz closed issue #714: [iOS] No known instance method for selector 'shouldAutorotateToInterfaceOrientation:'

Posted by GitBox <gi...@apache.org>.
NiklasMerz closed issue #714:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/714


   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] breautek commented on issue #714: [iOS] No known instance method for selector 'shouldAutorotateToInterfaceOrientation:'

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #714:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/714#issuecomment-639199855


   > cordova-plugin-inappbrowser (master version) or 3.2.0
   
   Did you test both master (`4.0.0-dev`) and `3.2.0`?
   
   I believe this is the known issue that `4.0.0-dev` is suppose to resolve.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] NiklasMerz commented on issue #714: [iOS] No known instance method for selector 'shouldAutorotateToInterfaceOrientation:'

Posted by GitBox <gi...@apache.org>.
NiklasMerz commented on issue #714:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/714#issuecomment-823813934


   Please use the latest  versions of the plugin, cordova-ios and Xcode if possible. If you still got any issues please open a new issues with a complete error log.


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] zulkarnainshah commented on issue #714: [iOS] No known instance method for selector 'shouldAutorotateToInterfaceOrientation:'

Posted by GitBox <gi...@apache.org>.
zulkarnainshah commented on issue #714:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/714#issuecomment-822310392


   Whats is the solution now?


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] breautek edited a comment on issue #714: [iOS] No known instance method for selector 'shouldAutorotateToInterfaceOrientation:'

Posted by GitBox <gi...@apache.org>.
breautek edited a comment on issue #714:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/714#issuecomment-639199855


   > cordova-plugin-inappbrowser (master version) or 3.2.0
   
   Did you test both master (`4.0.0-dev`) and `3.2.0`?
   
   I believe this is a known issue that `4.0.0-dev` is suppose to resolve.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] mosabab commented on issue #714: [iOS] No known instance method for selector 'shouldAutorotateToInterfaceOrientation:'

Posted by GitBox <gi...@apache.org>.
mosabab commented on issue #714:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/714#issuecomment-639400769


   > I just submitted a PR that should fix that again. Thank you for spotting the issue.
   > 
   > Reviews are welcome `https://github.com/apache/cordova-plugin-inappbrowser.git#fix-regression-656`
   
   Thank you


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] antikalk commented on issue #714: [iOS] No known instance method for selector 'shouldAutorotateToInterfaceOrientation:'

Posted by GitBox <gi...@apache.org>.
antikalk commented on issue #714:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/714#issuecomment-639436469


   I am having the same issue. Using the PR solves the error for me. :)


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] DaedalusAB commented on issue #714: [iOS] No known instance method for selector 'shouldAutorotateToInterfaceOrientation:'

Posted by GitBox <gi...@apache.org>.
DaedalusAB commented on issue #714:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/714#issuecomment-696596376


   I still have this issue on xCode 11.7 and plugin version 4.0.0
   I assume the PR with fix was merged? 


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] mosabab edited a comment on issue #714: [iOS] No known instance method for selector 'shouldAutorotateToInterfaceOrientation:'

Posted by GitBox <gi...@apache.org>.
mosabab edited a comment on issue #714:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/714#issuecomment-639200977


   > > cordova-plugin-inappbrowser (master version) or 3.2.0
   > 
   > Did you test both master (`4.0.0-dev`) and `3.2.0`?
   > 
   > I believe this is a known issue that `4.0.0-dev` is suppose to resolve.
   
   I test it in this versions:
   
   First test:
   https://github.com/apache/cordova-plugin-inappbrowser.git#master
   
   Second test
   https://github.com/apache/cordova-plugin-inappbrowser.git#3.2.0
   
   I think the problem from line:
   https://github.com/apache/cordova-plugin-inappbrowser/blob/04ce7897241ab9dfa9fb4731a96a7f5b220571fd/src/ios/CDVWKInAppBrowser.m#L1250
   
   Because I am using Xcode 11.5
   
   Maybe the other users not testing in new versions of Xcode.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] breautek commented on issue #714: [iOS] No known instance method for selector 'shouldAutorotateToInterfaceOrientation:'

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #714:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/714#issuecomment-639202653


   Thanks @asgeo1 for pointing that out.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] NiklasMerz commented on issue #714: [iOS] No known instance method for selector 'shouldAutorotateToInterfaceOrientation:'

Posted by GitBox <gi...@apache.org>.
NiklasMerz commented on issue #714:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/714#issuecomment-639305335


   I just submitted a PR that should fix that again. Thank you for spotting the issue.
   
   Reviews are welcome `https://github.com/apache/cordova-plugin-inappbrowser.git#fix-regression-656`


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] isipisi281 commented on issue #714: [iOS] No known instance method for selector 'shouldAutorotateToInterfaceOrientation:'

Posted by GitBox <gi...@apache.org>.
isipisi281 commented on issue #714:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/714#issuecomment-720383092


   Same here.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org