This commit is contained in:
bluesea 2024-07-26 19:26:29 +08:00
parent d3a5deeae9
commit 9e836e1c17
4 changed files with 10 additions and 7 deletions

View File

@ -96,11 +96,13 @@
//ad //ad
_adConfig = [ALSdkInitializationConfiguration configurationWithSdkKey: appLovinSDKKey builderBlock:^(ALSdkInitializationConfigurationBuilder *builder) { _adConfig = [ALSdkInitializationConfiguration configurationWithSdkKey: appLovinSDKKey builderBlock:^(ALSdkInitializationConfigurationBuilder *builder) {
builder.mediationProvider = ALMediationProviderMAX; builder.mediationProvider = ALMediationProviderMAX;
// NSString *currentIDFV = UIDevice.currentDevice.identifierForVendor.UUIDString;
// if ( currentIDFV.length > 0 )
// { NSString *currentIDFV = UIDevice.currentDevice.identifierForVendor.UUIDString;
// builder.testDeviceAdvertisingIdentifiers = @[currentIDFV]; if ( currentIDFV.length > 0 )
// } {
builder.testDeviceAdvertisingIdentifiers = @[currentIDFV];
}
}]; }];
__weak typeof(self)weakSelf = self; __weak typeof(self)weakSelf = self;

View File

@ -26,6 +26,7 @@
//local url //local url
#define kLocalBaseUrl @"http://127.0.0.1:6000/" #define kLocalBaseUrl @"http://127.0.0.1:6000/"
//#define kLocalBaseUrl @"http://192.168.41.25:6000/"
#define kLocalUrlStr(_path) [kLocalBaseUrl stringByAppendingPathComponent:_path] #define kLocalUrlStr(_path) [kLocalBaseUrl stringByAppendingPathComponent:_path]
#import "LuxADVCControl.h" #import "LuxADVCControl.h"

View File

@ -32,8 +32,8 @@
</TestAction> </TestAction>
<LaunchAction <LaunchAction
buildConfiguration = "Debug" buildConfiguration = "Debug"
selectedDebuggerIdentifier = "" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0" launchStyle = "0"
useCustomWorkingDirectory = "NO" useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO" ignoresPersistentStateOnLaunch = "NO"