Skip to content

Commit

Permalink
Merge pull request #1017 from Microsoft/develop
Browse files Browse the repository at this point in the history
Merge to master for 1.7.1
  • Loading branch information
iamclement authored Jun 18, 2018
2 parents e676379 + a21016f commit 6524e95
Show file tree
Hide file tree
Showing 20 changed files with 32 additions and 24 deletions.
2 changes: 1 addition & 1 deletion AppCenter.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'AppCenter'
s.version = '1.7.0'
s.version = '1.7.1'

s.summary = 'Visual Studio App Center is your continuous integration, delivery and learning solution for iOS and macOS apps.'
s.description = <<-DESC
Expand Down
1 change: 0 additions & 1 deletion AppCenter/AppCenter.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2298,7 +2298,6 @@
B2CD74881F22BD910070E7DF /* MSLogDBStorage.m in Sources */,
E7D23C7720B6549E00A47D62 /* MSCSModelConstants.m in Sources */,
8087362920C134AC004C4157 /* MSEncrypter.m in Sources */,
E7D23C7720B6549E00A47D62 /* MSCSModelConstants.m in Sources */,
E84B8E361D235226006FD231 /* MSHttpSender.m in Sources */,
D38024061E7126F500466558 /* MSServiceAbstract.m in Sources */,
B2CD74C41F22BE270070E7DF /* MSUtility+StringFormatting.m in Sources */,
Expand Down
3 changes: 1 addition & 2 deletions AppCenter/AppCenter/Internals/MSAppCenterPrivate.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
* @discussion This may be called only once per application process lifetime.
* @param appSecret A unique and secret key used to identify the application.
*/
// FIXME: Rename to configureWithAppSecret
- (BOOL)configure:(NSString *)appSecret;
- (BOOL)configureWithAppSecret:(NSString *)appSecret;

@end
6 changes: 3 additions & 3 deletions AppCenter/AppCenter/MSAppCenter.m
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ + (instancetype)sharedInstance {
#pragma mark - public

+ (void)configureWithAppSecret:(NSString *)appSecret {
[[self sharedInstance] configure:appSecret];
[[self sharedInstance] configureWithAppSecret:appSecret];
}

+ (void)start:(NSString *)appSecret withServices:(NSArray<Class> *)services {
Expand Down Expand Up @@ -192,7 +192,7 @@ - (instancetype)init {
* Configuring without an app secret is valid. If that is the case, the app secret will
* not be set.
*/
- (BOOL)configure:(NSString *)appSecret {
- (BOOL)configureWithAppSecret:(NSString *)appSecret {
@synchronized(self) {
BOOL success = false;
if (self.sdkConfigured) {
Expand Down Expand Up @@ -235,7 +235,7 @@ - (BOOL)configure:(NSString *)appSecret {

- (void)start:(NSString *)appSecret withServices:(NSArray<Class> *)services {
@synchronized(self) {
BOOL configured = [self configure:appSecret];
BOOL configured = [self configureWithAppSecret:appSecret];
if (configured && services) {
MSLogVerbose([MSAppCenter logTag], @"Prepare to start services: %@", [services componentsJoinedByString:@", "]);
NSArray *sortedServices = [self sortServices:services];
Expand Down
4 changes: 2 additions & 2 deletions AppCenter/AppCenterTests/MSAppCenterTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ - (void)testAppIsBackgrounded {

// If
id<MSChannelGroupProtocol> channelGroup = OCMProtocolMock(@protocol(MSChannelGroupProtocol));
[self.sut configure:@"AnAppSecret"];
[self.sut configureWithAppSecret:@"AnAppSecret"];
self.sut.channelGroup = channelGroup;

// When
Expand All @@ -513,7 +513,7 @@ - (void)testAppIsForegrounded {

// If
id<MSChannelGroupProtocol> channelGroup = OCMProtocolMock(@protocol(MSChannelGroupProtocol));
[self.sut configure:@"AnAppSecret"];
[self.sut configureWithAppSecret:@"AnAppSecret"];
self.sut.channelGroup = channelGroup;

// When
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# App Center SDK for iOS and macOS Change Log

## Version 1.7.1

This version contains a bug fix.

### AppCenter

* **[Fix]** Fix duplicate symbol errors discovered when using Xamarin wrapper SDK.

___

## Version 1.7.0

This version contains a new feature.
Expand Down
2 changes: 1 addition & 1 deletion Config/Version.xcconfig
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
BUILD_NUMBER = 1
VERSION_STRING = 1.7.0
VERSION_STRING = 1.7.1
2 changes: 1 addition & 1 deletion Documentation/iOS/AppCenter/.jazzy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sdk: iphonesimulator
theme: ../../Themes/apple

module: AppCenter
module_version: 1.7.0
module_version: 1.7.1
author: Microsoft Corp
author_url: http://www.microsoft.com

Expand Down
2 changes: 1 addition & 1 deletion Documentation/iOS/AppCenterAnalytics/.jazzy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sdk: iphonesimulator
theme: ../../Themes/apple

module: AppCenterAnalytics
module_version: 1.7.0
module_version: 1.7.1
author: Microsoft Corp
author_url: http://www.microsoft.com

Expand Down
2 changes: 1 addition & 1 deletion Documentation/iOS/AppCenterCrashes/.jazzy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sdk: iphonesimulator
theme: ../../Themes/apple

module: AppCenterCrashes
module_version: 1.7.0
module_version: 1.7.1
author: Microsoft Corp
author_url: http://www.microsoft.com

Expand Down
2 changes: 1 addition & 1 deletion Documentation/iOS/AppCenterDistribute/.jazzy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sdk: iphonesimulator
theme: ../../Themes/apple

module: AppCenterDistribute
module_version: 1.7.0
module_version: 1.7.1
author: Microsoft Corp
author_url: http://www.microsoft.com

Expand Down
2 changes: 1 addition & 1 deletion Documentation/iOS/AppCenterPush/.jazzy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sdk: iphonesimulator
theme: ../../Themes/apple

module: AppCenterPush
module_version: 1.7.0
module_version: 1.7.1
author: Microsoft Corp
author_url: http://www.microsoft.com

Expand Down
2 changes: 1 addition & 1 deletion Documentation/macOS/AppCenter/.jazzy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sdk: macosx
theme: ../../Themes/apple

module: AppCenter
module_version: 1.7.0
module_version: 1.7.1
author: Microsoft Corp
author_url: http://www.microsoft.com

Expand Down
2 changes: 1 addition & 1 deletion Documentation/macOS/AppCenterAnalytics/.jazzy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sdk: macosx
theme: ../../Themes/apple

module: AppCenterAnalytics
module_version: 1.7.0
module_version: 1.7.1
author: Microsoft Corp
author_url: http://www.microsoft.com

Expand Down
2 changes: 1 addition & 1 deletion Documentation/macOS/AppCenterCrashes/.jazzy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sdk: macosx
theme: ../../Themes/apple

module: AppCenterCrashes
module_version: 1.7.0
module_version: 1.7.1
author: Microsoft Corp
author_url: http://www.microsoft.com

Expand Down
2 changes: 1 addition & 1 deletion Documentation/macOS/AppCenterPush/.jazzy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sdk: macosx
theme: ../../Themes/apple

module: AppCenterPush
module_version: 1.7.0
module_version: 1.7.1
author: Microsoft Corp
author_url: http://www.microsoft.com

Expand Down
2 changes: 1 addition & 1 deletion Documentation/tvOS/AppCenter/.jazzy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sdk: appletvsimulator
theme: ../../Themes/apple

module: AppCenter
module_version: 1.7.0
module_version: 1.7.1
author: Microsoft Corp
author_url: http://www.microsoft.com

Expand Down
2 changes: 1 addition & 1 deletion Documentation/tvOS/AppCenterAnalytics/.jazzy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sdk: appletvsimulator
theme: ../../Themes/apple

module: AppCenterAnalytics
module_version: 1.7.0
module_version: 1.7.1
author: Microsoft Corp
author_url: http://www.microsoft.com

Expand Down
2 changes: 1 addition & 1 deletion Documentation/tvOS/AppCenterCrashes/.jazzy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sdk: appletvsimulator
theme: ../../Themes/apple

module: AppCenterCrashes
module_version: 1.7.0
module_version: 1.7.1
author: Microsoft Corp
author_url: http://www.microsoft.com

Expand Down
4 changes: 2 additions & 2 deletions TestApps/Sasquatch/SasquatchSwift/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate, MSCrashesDelegate, MSDist
let useOneCollector = UserDefaults.standard.bool(forKey: "isOneCollectorEnabled");
if useOneCollector {
#if DEBUG
MSAppCenter.start("token=1dd3a9a64e144fcbbd4ce31c5def22e0-e57d4574-c5e7-4f89-a745-b2e850b54185-7090;appsecret=0dbca56b-b9ae-4d53-856a-7c2856137d85", withServices: [MSAnalytics.self, MSCrashes.self, MSPush.self])
MSAppCenter.start("target=1dd3a9a64e144fcbbd4ce31c5def22e0-e57d4574-c5e7-4f89-a745-b2e850b54185-7090;appsecret=0dbca56b-b9ae-4d53-856a-7c2856137d85", withServices: [MSAnalytics.self, MSCrashes.self, MSPush.self])
#else
MSAppCenter.start("token=1dd3a9a64e144fcbbd4ce31c5def22e0-e57d4574-c5e7-4f89-a745-b2e850b54185-7090;appsecret=0dbca56b-b9ae-4d53-856a-7c2856137d85", withServices: [MSAnalytics.self, MSCrashes.self, MSDistribute.self, MSPush.self])
MSAppCenter.start("target=1dd3a9a64e144fcbbd4ce31c5def22e0-e57d4574-c5e7-4f89-a745-b2e850b54185-7090;appsecret=0dbca56b-b9ae-4d53-856a-7c2856137d85", withServices: [MSAnalytics.self, MSCrashes.self, MSDistribute.self, MSPush.self])
#endif
}
else {
Expand Down

0 comments on commit 6524e95

Please sign in to comment.