While testing the Examples app in this repo with Xcode 12.5 Beta 2 there is a blocking compiler error related to MMEEventsManager.m.
Compiler error occurs with Xcode Version 12.5 beta 2 (12E5234g), released Feb 16, 2021 using Examples.xcworkspace
Issue occurs in Version 12.5 beta 3 (12E5244e) released on Mar 2, 2021.
The demo app in Examples.xcworkspace works as expected with Xcode Version 12.4 (12D4e)
The Podfile.lock shows that the MME version is MapboxMobileEvents (0.10.5), so this may be fixed in MapboxMobileEvents after this version.
The fix may be as simple as upgrading the mapbox/mapbox-events-ios in the Podfile. Change would have to occur in mapbox/mapbox-gl-native-ios as the Podfile only points to the 6.3 release for iOS, and the MME is not configurable via the Podfile.
Error report from Xcode 12.5 Beta 2
Showing All Issues
~/git/mapbox/ios-sdk-examples/Pods/MapboxMobileEvents/Sources/MapboxMobileEvents/MMEEventsManager.m:3:5: 'TARGET_OS_MACOS' is not defined, evaluates to 0
While testing the Examples app in this repo with Xcode 12.5 Beta 2 there is a blocking compiler error related to
MMEEventsManager.m
.Examples.xcworkspace
Examples.xcworkspace
works as expected with Xcode Version 12.4 (12D4e)Podfile.lock
shows that the MME version isMapboxMobileEvents (0.10.5)
, so this may be fixed in MapboxMobileEvents after this version.The fix may be as simple as upgrading the mapbox/mapbox-events-ios in the Podfile. Change would have to occur in mapbox/mapbox-gl-native-ios as the Podfile only points to the 6.3 release for iOS, and the MME is not configurable via the Podfile.
Error report from Xcode 12.5 Beta 2
Podfile.lock contents