apache / cordova-ios

Apache Cordova iOS
https://cordova.apache.org/
Apache License 2.0
2.15k stars 987 forks source link

adjust build script for run on mac #1165

Closed NiklasMerz closed 2 years ago

NiklasMerz commented 2 years ago

Platforms affected

iOS

Motivation and Context

Building an iOS app for Mac fails with our current copy script. #1158 tries to solve this with a Xcode build step instead of a custom shell script.

This is an alternative solution proposed by @pulpgrinder with a simple condition in the current script. This is probably bettter for backwards compatibility.

Addresses issue: #699

Description

If the target platform is Mac Catalyst the correct paths are used.

Testing

Run app for:

Checklist

codecov-commenter commented 2 years ago

Codecov Report

Merging #1165 (98d2a6b) into master (92e6830) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1165   +/-   ##
=======================================
  Coverage   74.86%   74.86%           
=======================================
  Files          13       13           
  Lines        1723     1723           
=======================================
  Hits         1290     1290           
  Misses        433      433           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 92e6830...98d2a6b. Read the comment docs.

dpogue commented 2 years ago

Closing this in favour of #1158, which has been merged.