Closed zycio closed 1 year ago
Here is an error: "Expected identifier; 'template' is a keyword in Objective-C++" https://github.com/birkir/react-native-carplay/blob/c656d6f000d721c818d0afb3f93898bd158f9321/ios/RNCPStore.h#L14
You should change this line: "- (NSString) setTemplate:(NSString)templateId template:(CPTemplate)template;" to e.g.: "- (NSString) setTemplate:(NSString)templateId template:(CPTemplate)templ;"
@birkir hello, can you fix it?
Here is an error: "Expected identifier; 'template' is a keyword in Objective-C++" https://github.com/birkir/react-native-carplay/blob/c656d6f000d721c818d0afb3f93898bd158f9321/ios/RNCPStore.h#L14
You should change this line: "- (NSString) setTemplate:(NSString)templateId template:(CPTemplate)template;" to e.g.: "- (NSString) setTemplate:(NSString)templateId template:(CPTemplate)templ;"