Unable to compile if the ProxyManager is in objective c++ #1478
Labels
Comments
I have the same issue. |
@joeljfischer sorry for late response. This fix works for me just fine, thank you! |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
Due to our project needs, our proxy manager is in objective c++, this will cause compile error due to the template keyword that is used in SDLTemplateConfiguration.h.
This wasn't an issue in older version since SDLTemplateConfiguration class is added in 6.4.0
Reproduction Steps
Pods/Headers/Public/SmartDeviceLink/SDLTemplateConfiguration.h:40:46: error: expected identifier; 'template' is a keyword in Objective-C++
Pods/Headers/Public/SmartDeviceLink/SDLTemplateConfiguration.h:45:41: error: expected member name or ';' after declaration specifiers; 'template' is a keyword in Objective-C++
@Property (strong, nonatomic) NSString *template;
Suggest to rename this variable to templateName instead of template
Expected Behavior
Project should compile fine.
Observed Behavior
Compoile failed
OS & Version Information
Xcode 11.2.1
SDL iOS SDK 6.4.0/6.4.1
The text was updated successfully, but these errors were encountered: