mapbox / mapbox-events-ios

Mapbox Events Framework for iOS
Other
20 stars 38 forks source link

Revert and update Apple Silicon workaround & prepare v0.10.10 #302

Closed macdrevx closed 3 years ago

macdrevx commented 3 years ago

When I updated EXCLUDED_ARCHS to work with Xcode 13, I broke the build on Xcode 11. Basically Xcode 11 does some implicit reinterpretation of the list of excluded archs and even though they're all arm* archs, it translates them to intel archs when building for the simulator. That results in no valid archs when building for simulator with Xcode 11.

What I should have done was add another build variable EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_simulator__NATIVE_ARCH_64_BIT_x86_64__XCODE_1300 instead of updating the existing one to remove the Xcode version.

This PR makes that change and also preemptively adds Xcode 14 to hopefully give us some flexibility next year at this time.

The PR also fixes some build warnings and bumps the build numbers to prepare for release.

macdrevx commented 3 years ago

I've tested that this builds on Xcode 11.7, 12.5, and 13.0 beta 5