diff --git a/mobile/library/objective-c/EnvoyConfiguration.m b/mobile/library/objective-c/EnvoyConfiguration.m index e908cee82bc3..a4e29cde8c1b 100644 --- a/mobile/library/objective-c/EnvoyConfiguration.m +++ b/mobile/library/objective-c/EnvoyConfiguration.m @@ -23,9 +23,11 @@ - (instancetype)initWithDomain:(NSString *)domain - (nullable NSString *)resolveTemplate:(NSString *)templateYAML { NSDictionary *templateKeysToValues = @{ @"domain" : self.domain, - @"connect_timeout" : [NSString stringWithFormat:@"%is", self.connectTimeoutSeconds], - @"dns_refresh_rate" : [NSString stringWithFormat:@"%is", self.dnsRefreshSeconds], - @"stats_flush_interval" : [NSString stringWithFormat:@"%is", self.statsFlushSeconds] + @"connect_timeout" : + [NSString stringWithFormat:@"%lu", (unsigned long)self.connectTimeoutSeconds], + @"dns_refresh_rate" : [NSString stringWithFormat:@"%lu", (unsigned long)self.dnsRefreshSeconds], + @"stats_flush_interval" : + [NSString stringWithFormat:@"%lu", (unsigned long)self.statsFlushSeconds] }; for (NSString *templateKey in templateKeysToValues) {