mParticle / mparticle-apple-sdk

mParticle Apple SDK
Apache License 2.0
46 stars 66 forks source link

ci: Update carthage.sh for Xcode 15 and ARM Macs #253

Closed einsteinx2 closed 8 months ago

einsteinx2 commented 8 months ago

Summary

Our carthage.sh script used by the SDK release action did not support Xcode 15 as it requires new environment variables. Also it didn't support ARM build hosts which also need their own environment variables to get regular framework builds to use x86_64 architecture instead of arm64 like a device. This change adds the correct variables to fix both of those issues, allowing us to up our CI builds to use Xcode 15 and support the new ARM Mac Github runners that are starting to roll out.

Testing Plan