aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase
diff options
context:
space:
mode:
authorGravatar Gil <mcg@google.com>2018-07-16 11:46:55 -0700
committerGravatar GitHub <noreply@github.com>2018-07-16 11:46:55 -0700
commitc7fb0a487523b3686a03e3b7f9b459fcb9323a36 (patch)
treeb2a7ddbb1ecf7f354b000642f195129223e4bf81 /Firebase
parent22562f49ebd39bb7f3d3b00f020841eb1f545934 (diff)
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
Diffstat (limited to 'Firebase')
-rw-r--r--Firebase/Core/FIRApp.m2
1 files changed, 1 insertions, 1 deletions
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 == '-')) {