This repository was archived by the owner on Jun 15, 2025. It is now read-only.
Support for Apple Silicon #33
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In order for this project to generate xcframeworks that work with the same level of perfection on all devices including Apple Silicon simulators, we needed prebuilt Google binaries that are intended for those simulators. This is why I switched to using binaries that are hidden inside Google's beta-version xcframeworks.
Carthage now downloads the beta xcframeworks from Google, instead of the older frameworks. This is so that all the universal binaries hidden inside are made available.
References inside GoogleMaps.xcodeproj have been redirected to their respective counterparts in the xcframeworks – those intended for real devices.
A new project, GoogleMaps-Sim.xcodeproj, has been created, which works the same way, but is pointed at the files inside the xcframeworks that are intended for universal simulator devices (Intel and ARM).
The make_xcframework.sh script has been updated so that the new GoogleMaps-Sim.xcodeproj project is used when generating the framework which is intended for simulators.