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 2021/12/30 19:01:02 UTC

[GitHub] [cordova-ios] sjdrew commented on issue #1113: Macbook M1 : App won't build on simulator but works fine on device

sjdrew commented on issue #1113:
URL: https://github.com/apache/cordova-ios/issues/1113#issuecomment-1003147338


   Exact same issue on M1 mac. Cordova iOS 6.2.0... Solution.
   
   Running xcode with Rosetta is a workaround.  However I did find a solution.
   
   I had already set my xcode targets to Excluded Architecture for "Any iOS Simulator SDK" = arm64
   
   But turns out you also have to add for CordovaLib sub project. Once I added there, the error is gone and simulator works fine from xcode or ionic cordova emulate ...
   
   


-- 
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