You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Rename ProxyManager.m to ProxyManager.mm so it will be compiled as objective c++
Import SmartDeviceLink.h as documented
Compile error will occur.
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:
@ed-h@Braves We have a bug fix in the PR #1485. Could you please verify that branch fixes your bugs? It may be a few weeks before release due to the holidays and CES, but until that point, hopefully you can continue development using the provided PR and branch.
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: