Assigned
Status Update
Comments
ar...@google.com <ar...@google.com> #2
Thanks for your post.
The engineering team will look into the issue and explore if there are feasible ways to resolve it as soon as possible.
We will let you know as soon as additional updates are made available.
The engineering team will look into the issue and explore if there are feasible ways to resolve it as soon as possible.
We will let you know as soon as additional updates are made available.
ar...@google.com <ar...@google.com> #3
We have verified and logged the issue internally. Please note that we cannot give you any timelines, but you can star the issue to get notifications.
ar...@google.com <ar...@google.com> #4
Hello there! Can you please confirm if your project (or just your precompiled header) is non-ARC?
[Deleted User] <[Deleted User]> #5
No, the project is configured for ARC:
- Objective-C Automatic Reference Counting = YES
- Weak References in Manual Retain Release = YES
And I didn't see any settings specifically controlling ARC for the precompiled header, nor are there any #pragmas, etc., in the header that might affect it.
- Objective-C Automatic Reference Counting = YES
- Weak References in Manual Retain Release = YES
And I didn't see any settings specifically controlling ARC for the precompiled header, nor are there any #pragmas, etc., in the header that might affect it.
Description
This is more of an annoyance since I don't think the compiler is making bad decisions. I see a large number of build warnings when building my project's pre-compiled header that contains an import of <GoogleMaps/GoogleMaps.h> among other frameworks. There is a single issue type and it's reported for property declarations in several of the Google header files.
warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute]
warning: default property attribute 'assign' not appropriate for object [-Wobjc-property-no-attribute]
GoogleMaps.framework/Headers/GMSIndoorDisplay.h
@property(nonatomic, nullable) GMSIndoorLevel *activeLevel;
GoogleMaps.framework/Headers/GMSMapView.h
@property(nonatomic, nullable) GMSMarker *selectedMarker;
@property(nonatomic, nullable) GMSMapStyle *mapStyle;
@property(nonatomic, nullable) GMSCoordinateBounds *cameraTargetBounds;
GoogleMaps.framework/Headers/GMSOverlay.h
@property(nonatomic, nullable) id userData;
GoogleMaps.framework/Headers/GMSCircle.h
@property(nonatomic, nullable) UIColor *strokeColor;
@property(nonatomic, nullable) UIColor *fillColor;
GoogleMaps.framework/Headers/GMSGroundOverlay.h
@property(nonatomic, nullable) UIImage *icon;
@property(nonatomic, nullable) GMSCoordinateBounds *bounds;
GoogleMaps.framework/Headers/GMSMarker.h
@property(nonatomic, nullable) UIImage *icon;
@property(nonatomic, nullable) UIView *iconView;
GoogleMaps.framework/Headers/GMSPolygon.h
@property(nonatomic, nullable) UIColor *strokeColor;
@property(nonatomic, nullable) UIColor *fillColor;
GoogleMaps.framework/Headers/GMSPolyline.h
@property(nonatomic) UIColor *strokeColor;
GoogleMaps.framework/Headers/GMSPanoramaView.h
@property(nonatomic, nullable) GMSPanorama *panorama;
@property(nonatomic) GMSPanoramaCamera *camera;
What should happen instead?
No build warnings. Other third-part frameworks we use that are included in the pre-compiled header don't exhibit this issue.
Steps to reproduce the problem:
1. Build the iOS app target.
Operating system version: macOS 10.14.6
Google Maps SDK for iOS version: 3.6.0
Xcode 11.1