From c7fb0a487523b3686a03e3b7f9b459fcb9323a36 Mon Sep 17 00:00:00 2001 From: Gil Date: Mon, 16 Jul 2018 11:46:55 -0700 Subject: Generate CMake frameworks from podspecs (#1531) * Rename utils.cmake to cc_rules.cmake This makes it less of a dumping ground * Fix sign mismatch in FIRApp * Implement a podspec_framework CMake function ... that generates a CMake framework library target from a podspec. * Remove manual CMake scripts for xcodebuild --- Firebase/Core/FIRApp.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Firebase') diff --git a/Firebase/Core/FIRApp.m b/Firebase/Core/FIRApp.m index 5fca127..f06185a 100644 --- a/Firebase/Core/FIRApp.m +++ b/Firebase/Core/FIRApp.m @@ -166,7 +166,7 @@ static NSMutableDictionary *sLibraryVersions; if ([name isEqualToString:kFIRDefaultAppName]) { [NSException raise:kFirebaseCoreErrorDomain format:@"Name cannot be __FIRAPP_DEFAULT."]; } - for (NSInteger charIndex = 0; charIndex < name.length; charIndex++) { + for (NSUInteger charIndex = 0; charIndex < name.length; charIndex++) { char character = [name characterAtIndex:charIndex]; if (!((character >= 'a' && character <= 'z') || (character >= 'A' && character <= 'Z') || (character >= '0' && character <= '9') || character == '_' || character == '-')) { -- cgit v1.2.3