alalamav opened a new issue #112:
URL: https://github.com/apache/cordova-osx/issues/112


   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   A cordova-osx project builds successfully on Xcode 12.5.
   
   
   ### What does actually happen?
   Since updating to macOS BigSur (11.3.1) and Xcode 12.5.1 cordova-osx fails 
to build with:
   
   ```
   platforms/osx/CordovaLib/CordovaLib/Classes/CDVBridge.m:77:22: error: too 
many arguments to function call, expected 0, have
   objc_msgSend(obj, normalSelector, command);
   ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   In module 'ObjectiveC' imported from 
/Users/fortuna/firehook/outline-client/platforms/osx/CordovaLib/CordovaLib/Classes/CDVBridge.m:22
   
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/objc/message.h:63:1:
 note: 'objc_msgSend' declared here
   objc_msgSend(void /* id self, SEL op, ... */ )
   ^
   ```
   
   This error occurs in CDVCommandQueue.m and CDVBridge.m. 
   
   A solution could be to define a more specific selector that conforms to the 
new SDK.
   
   ## Information
   <!-- Include all relevant information that might help understand and 
reproduce the problem -->
   
   
   
   ### Command or Code
   `cordova compile`
   
   
   ### Environment, Platform, Device
   macOS BigSur 11.3.1
   Xcode 12.5.1
   SDK MacOSX11.3
   
   
   ### Version information
   cordova-cli 10.0.0
   cordova-osx 6.0.0
   
   
   ## 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.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org

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

Reply via email to