Skip to content

[google_maps_flutter_ios] Xcode analyze failure: bitwise operation between different enumeration types in Google-Maps-iOS-Utils dependency #184470

@okorohelijah

Description

@okorohelijah

While testing the packages repo with Xcode 26.4, the Maps_flutter_ios package fails the analyze check. The failure seems to originate from the Google-Maps-iOS-Utils dependency.

The compiler flags a bitwise OR operation between two different enumeration types (CGBitmapInfo and CGImageAlphaInfo). it seems the Clang version flag this under -Wenum-enum-conversion. Because the CI runs with GCC_TREAT_WARNINGS_AS_ERRORS=YES, this warning blocks the build.

.../Pods/Google-Maps-iOS-Utils/Sources/GoogleMapsUtilsObjC/include/GMUHeatmapTileLayer.m:345:78: 
error: bitwise operation between different enumeration types ('enum CGBitmapInfo' and 'enum CGImageAlphaInfo') 
[-Werror,-Wenum-enum-conversion]

Context: colorSpaceRef, kCGBitmapByteOrder32Big | kCGImageAlphaLast

build: https://ci.chromium.org/ui/p/flutter/builders/try/Mac_arm64%20ios_platform_tests_shard_2%20master/27858/overview
log: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8685706193539612497/+/u/Run_package_tests/xcode_analyze/stdout?format=raw

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listp: mapsGoogle Maps pluginpackageflutter/packages repository. See also p: labels.platform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions