diff --git a/Podfile.lock b/Podfile.lock index 2c4987f5..1bddf648 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -52,7 +52,7 @@ DEPENDENCIES: EXTERNAL SOURCES: MZFayeClient: - :path: ../CatchLib-iOS/MZFayeClient/ + :path: "../CatchLib-iOS/MZFayeClient/" SPEC CHECKSUMS: 1PasswordExtension: 676a216461ffa9189db66541b5a2465e10ae4743 diff --git a/Yep/Info.plist b/Yep/Info.plist index 169fc74b..e5d2e8d1 100644 --- a/Yep/Info.plist +++ b/Yep/Info.plist @@ -40,7 +40,7 @@ CFBundleVersion - 150 + 152 Fabric APIKey diff --git a/Yep/Services/YepServiceSync.swift b/Yep/Services/YepServiceSync.swift index 4c115487..02af929f 100644 --- a/Yep/Services/YepServiceSync.swift +++ b/Yep/Services/YepServiceSync.swift @@ -503,6 +503,10 @@ func syncGroupsAndDoFurtherAction(furtherAction: () -> Void) { //println("allGroups: \(allGroups)") + if allGroups.count == 0 { // Workaround for empty group + return + } + dispatch_async(realmQueue) { // 先整理出所有的 group 的 groupID