-
-
Notifications
You must be signed in to change notification settings - Fork 321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS 14.5 / Xcode 12.5 Build Issue: Semantic Issue (Comparison of distinct pointer types) #14
Comments
New type of error when attempting to build with Version 12.5 beta 3 (12E5244e) when testing with master: dba5d96
|
This issue still exists & is a blocker for anyone intending to upgrade to Xcode 12.5 RC for MapLibre development. I recommend sticking with Xcode 11.7 or 12.4 to build MapLibre. |
If you are keen to upgrade to Xcode 12.5, you can help investigate or make a test case to ensure that the following is the right fix and/or a proper workaround. // (NSString *) // Fixing the error by casting. TODO verify it doesn't break something else
} else if (op == (NSString *) [MGLColor class] && [function isEqualToString:@"colorWithRed:green:blue:alpha:"]) { |
Regarding the error in
with
The first warning
It looks like a bug in Mapbox source code to me: |
@glyuck — thanks for the contribution! With this commit we now support Xcode 12.5 & Xcode 13-beta. And as a bonus MapLibre runs on the simulator on Apple Silicon with the latest Xcode release & beta. Commit 19b86f7 has been tested on:
macOS Version Infouname -a Catalina
Big Sur (Intel)
Big Sur (arm)
|
…dules/ops/terraform/modules/iam_role to v3.9 in maplibreglnativeprivate (maplibre#14) Refactorator would like to apply these changes to your code! Please shepherd this to production as soon as possible, going through the normal deployment process monitoring this PR as you would any other change. **You are responsible for merging this PR; Refactorator will not automatically merge it.** If this PR is outdated, run [this job](https://refactorator.lyft.net/run?fixer=iamroleterraformmodule&projects=maplibreglnativeprivate&rerun=all) to update it; watch the output in case the fixer errors out before pushing changes. # iamroleterraformmodule See the [release notes](https://github.com/lyft/terraform-orchestration-modules/releases). For more information or questions, reach out to [#orchestration](https://lyft.slack.com/channels/orchestration).
There is a compiler error when building the scheme
dynamic
with Xcode.Tested against:
This same file (
NSExpression+MGLAdditions.mm
) compiles fine with Xcode Version 12.4 (12D4e) & Xcode Version 11.7 (11E801a)Xcode reports Semantic Issue
https://github.com/maptiler/maplibre-gl-native/blob/72692d6305bb4df1d64dab450e0d49e2c8d5c943/platform/ios/platform/darwin/src/NSExpression%2BMGLAdditions.mm#L1272
Error in Xcode 12.5 Beta
Other parameters of note:
The text was updated successfully, but these errors were encountered: