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 2022/01/13 16:38:36 UTC

[GitHub] [cordova-ios] MikeDimmickMnetics commented on issue #1139: Plugins with iOS BridgingHeader Cannot be Added or Removed in Windows Environment

MikeDimmickMnetics commented on issue #1139:
URL: https://github.com/apache/cordova-ios/issues/1139#issuecomment-1012308269


   We build for Android and iOS, but our developers primarily use Windows. Only those actually working on the iOS native code are using Macs. We don't store the platforms in the repository: we rely on `cordova prepare` to restore them. If you attempt to restore the iOS platform on Windows, you run into the same bug, as one of our plugins is written in Swift, and has a BridgingHeader.
   
   In this situation, the workaround is to explicitly prepare only the platforms that are compatible that are in your project, listing them on the `cordova prepare` command line, e.g.:
   
   ```
   cordova prepare android windows browser
   ```
   
   instead of just
   
   ```
   cordova prepare
   ```
   
   I agree that it isn't particularly useful to restore the iOS platform on Windows, but it is the default behaviour.


-- 
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-unsubscribe@cordova.apache.org

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