Skip to content

Commit

Permalink
adapers/add_support_for_compiling_against_sdk_11.0.0 (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasmso authored Jan 3, 2022
1 parent 312d78c commit dd43344
Show file tree
Hide file tree
Showing 119 changed files with 2,184 additions and 454 deletions.
8 changes: 2 additions & 6 deletions AdColony/AdColonyAdapter.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -233,13 +233,12 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = "$PROJECT_DIR/../iOS-SDK/sdk/**";
HEADER_SEARCH_PATHS = "";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LIBRARY_SEARCH_PATHS = "";
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
USER_HEADER_SEARCH_PATHS = "$PROJECT_DIR/../iOS-SDK/sdk/**";
VALID_ARCHS = "$(ARCHS_STANDARD)";
};
name = Debug;
Expand Down Expand Up @@ -290,13 +289,12 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = "$PROJECT_DIR/../iOS-SDK/sdk/**";
HEADER_SEARCH_PATHS = "";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LIBRARY_SEARCH_PATHS = "";
MTL_ENABLE_DEBUG_INFO = NO;
ONLY_ACTIVE_ARCH = NO;
SDKROOT = iphoneos;
USER_HEADER_SEARCH_PATHS = "$PROJECT_DIR/../iOS-SDK/sdk/**";
VALIDATE_PRODUCT = YES;
VALID_ARCHS = "$(ARCHS_STANDARD)";
};
Expand All @@ -319,7 +317,6 @@
SKIP_INSTALL = YES;
SYSTEM_FRAMEWORK_SEARCH_PATHS = "";
TARGETED_DEVICE_FAMILY = "1,2";
USER_HEADER_SEARCH_PATHS = "$PROJECT_DIR/../../iOS-SDK/sdk/Public/** $PROJECT_DIR/../../iOS-SDK/sdk/Private/**";
};
name = Debug;
};
Expand All @@ -340,7 +337,6 @@
SKIP_INSTALL = YES;
SYSTEM_FRAMEWORK_SEARCH_PATHS = "";
TARGETED_DEVICE_FAMILY = "1,2";
USER_HEADER_SEARCH_PATHS = "$PROJECT_DIR/../../iOS-SDK/sdk/Public/** $PROJECT_DIR/../../iOS-SDK/sdk/Private/**";
};
name = Release;
};
Expand Down
4 changes: 1 addition & 3 deletions AdColony/AdColonyAdapter/ALAdColonyMediationAdapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
// Copyright © 2022 AppLovin Corporation. All rights reserved.
//

#import "ALMediationAdapter.h"
#import "MAInterstitialAdapter.h"
#import "MARewardedAdapter.h"
#import <AppLovinSDK/AppLovinSDK.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
8 changes: 3 additions & 5 deletions AdColony/AdColonyAdapter/ALAdColonyMediationAdapter.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@

#import "ALAdColonyMediationAdapter.h"
#import <AdColony/AdColony.h>
#import "ALUtils.h"
#import "NSDictionary+ALUtils.h"
#import "NSString+ALUtils.h"
#import "ALAtomicBoolean.h"
#import "MAAdFormat+Internal.h"

#define ADAPTER_VERSION @"4.7.2.0.0"

Expand Down Expand Up @@ -325,10 +320,13 @@ + (MAAdapterError *)toMaxError:(NSError *)adColonyError
break;
}

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
return [MAAdapterError errorWithCode: adapterError.errorCode
errorString: adapterError.errorMessage
thirdPartySdkErrorCode: adColonyErrorCode
thirdPartySdkErrorMessage: adColonyError.localizedDescription];
#pragma clang diagnostic pop
}

- (AdColonyAppOptions *)optionsFromParameters:(id<MAAdapterParameters >)parameters
Expand Down
3 changes: 3 additions & 0 deletions AdColony/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## x.x.x.x.x
* Update open source versions to allow compilation with AppLovin SDK v11.0.0+.

## 4.7.2.0.0
* Certified with AdColony SDK 4.7.2.

Expand Down
Loading

0 comments on commit dd43344

Please sign in to comment.