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
[x] Was this tested locally? If not, explain why.
Build script was tested with Xcode 15 on both an M2 and Intel Mac and works correctly.
Reference Issue (For mParticle employees only. Ignore if you are an outside contributor)
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
Build script was tested with Xcode 15 on both an M2 and Intel Mac and works correctly.
Reference Issue (For mParticle employees only. Ignore if you are an outside contributor)