@@ -1036,7 +1036,7 @@ + (void)updateSkAdNetworkConversionValue:(NSNumber *)conversionValue {
10361036
10371037 Class skAdNetwork = NSClassFromString (@" SKAdNetwork" );
10381038 if (skAdNetwork == nil ) {
1039- [logger warn: @" StoreKit framework not found in user's app (SKAdNetwork not found)" ];
1039+ [logger warn: @" StoreKit framework not found in the app (SKAdNetwork not found)" ];
10401040 return ;
10411041 }
10421042
@@ -1279,7 +1279,7 @@ + (NSString *)fetchAdServicesAttribution:(NSError **)errorPtr {
12791279 // [AAAttribution attributionTokenWithError:...]
12801280 Class attributionClass = NSClassFromString (@" AAAttribution" );
12811281 if (attributionClass == nil ) {
1282- [logger warn: @" AdServices framework not found in user's app (AAAttribution not found)" ];
1282+ [logger warn: @" AdServices framework not found in the app (AAAttribution class not found)" ];
12831283 if (errorPtr) {
12841284 *errorPtr = [NSError errorWithDomain: @" com.adjust.sdk.adServices"
12851285 code: 100
@@ -1290,6 +1290,7 @@ + (NSString *)fetchAdServicesAttribution:(NSError **)errorPtr {
12901290
12911291 SEL attributionTokenSelector = NSSelectorFromString (@" attributionTokenWithError:" );
12921292 if (![attributionClass respondsToSelector: attributionTokenSelector]) {
1293+ [logger warn: @" AdServices framework not found in the app (attributionTokenWithError: method not found)" ];
12931294 if (errorPtr) {
12941295 *errorPtr = [NSError errorWithDomain: @" com.adjust.sdk.adServices"
12951296 code: 100
@@ -1315,6 +1316,7 @@ + (NSString *)fetchAdServicesAttribution:(NSError **)errorPtr {
13151316 return nil ;
13161317 }
13171318
1319+ [logger debug: @" AdServices framework successfully found in the app" ];
13181320 NSString * __unsafe_unretained tmpToken = nil ;
13191321 [tokenInvocation getReturnValue: &tmpToken];
13201322 NSString *token = tmpToken;
@@ -1334,22 +1336,22 @@ + (void)checkForiAd:(ADJActivityHandler *)activityHandler queue:(dispatch_queue_
13341336 // [[ADClient sharedClient] ...]
13351337 Class ADClientClass = NSClassFromString (@" ADClient" );
13361338 if (ADClientClass == nil ) {
1337- [logger warn: @" iAd framework not found in user's app (ADClientClass not found)" ];
1339+ [logger warn: @" iAd framework not found in the app (ADClientClass not found)" ];
13381340 return ;
13391341 }
13401342#pragma clang diagnostic push
13411343#pragma clang diagnostic ignored "-Warc-performSelector-leaks"
13421344 SEL sharedClientSelector = NSSelectorFromString (@" sharedClient" );
13431345 if (![ADClientClass respondsToSelector: sharedClientSelector]) {
1344- [logger warn: @" iAd framework not found in user's app (sharedClient method not found)" ];
1346+ [logger warn: @" iAd framework not found in the app (sharedClient method not found)" ];
13451347 return ;
13461348 }
13471349 id ADClientSharedClientInstance = [ADClientClass performSelector: sharedClientSelector];
13481350 if (ADClientSharedClientInstance == nil ) {
1349- [logger warn: @" iAd framework not found in user's app (ADClientSharedClientInstance is nil)" ];
1351+ [logger warn: @" iAd framework not found in the app (ADClientSharedClientInstance is nil)" ];
13501352 return ;
13511353 }
1352- [logger debug: @" iAd framework successfully found in user's app" ];
1354+ [logger debug: @" iAd framework successfully found in the app" ];
13531355 BOOL iAdInformationAvailable = [ADJUtil setiAdWithDetails: activityHandler
13541356 adClientSharedInstance: ADClientSharedClientInstance
13551357 queue: queue];
0 commit comments