Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom native ad upgraded to Google Ads v8.0.0 & failing #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
40260726CBF0F84FFFCFC16E /* libPods-AdManagerCustomRenderingExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A7AE6F93CAF2406B5F80AC13 /* libPods-AdManagerCustomRenderingExample.a */; };
50A6A5F52196462C004B500E /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 50A6A5E52196462B004B500E /* AppDelegate.m */; };
50A6A5F62196462C004B500E /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 50A6A5E62196462B004B500E /* LaunchScreen.xib */; };
50A6A5F72196462C004B500E /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 50A6A5E82196462B004B500E /* Main.storyboard */; };
Expand All @@ -19,6 +20,21 @@
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
19AD5F4825DF28DB00036E26 /* nanopb.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = nanopb.xcframework; path = "../../../../../Downloads/GoogleMobileAdsSdkiOS-8.1.0/nanopb.xcframework"; sourceTree = "<group>"; };
19AD5F4925DF28DB00036E26 /* GoogleMobileAds.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = GoogleMobileAds.xcframework; path = "../../../../../Downloads/GoogleMobileAdsSdkiOS-8.1.0/GoogleMobileAds.xcframework"; sourceTree = "<group>"; };
19AD5F4B25DF28DB00036E26 /* Promises-LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = "Promises-LICENSE"; sourceTree = "<group>"; };
19AD5F4C25DF28DB00036E26 /* NanoPB-LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = "NanoPB-LICENSE"; sourceTree = "<group>"; };
19AD5F4D25DF28DB00036E26 /* OpenMeasurement-LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = "OpenMeasurement-LICENSE"; sourceTree = "<group>"; };
19AD5F4E25DF28DB00036E26 /* GoogleUtilities-LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = "GoogleUtilities-LICENSE"; sourceTree = "<group>"; };
19AD5F4F25DF28DB00036E26 /* UserMessagingPlatform.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = UserMessagingPlatform.xcframework; path = "../../../../../Downloads/GoogleMobileAdsSdkiOS-8.1.0/UserMessagingPlatform.xcframework"; sourceTree = "<group>"; };
19AD5F5025DF28DB00036E26 /* PromisesObjC.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = PromisesObjC.xcframework; path = "../../../../../Downloads/GoogleMobileAdsSdkiOS-8.1.0/PromisesObjC.xcframework"; sourceTree = "<group>"; };
19AD5F5125DF28DB00036E26 /* GoogleAppMeasurement.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = GoogleAppMeasurement.xcframework; path = "../../../../../Downloads/GoogleMobileAdsSdkiOS-8.1.0/GoogleAppMeasurement.xcframework"; sourceTree = "<group>"; };
19AD5F5825DF28E700036E26 /* GoogleUtilities.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = GoogleUtilities.xcframework; path = "../../../../../Downloads/GoogleMobileAdsSdkiOS-8.1.0/GoogleUtilities.xcframework"; sourceTree = "<group>"; };
19AD5F5A25DF28E700036E26 /* Promises-LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = "Promises-LICENSE"; sourceTree = "<group>"; };
19AD5F5B25DF28E700036E26 /* NanoPB-LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = "NanoPB-LICENSE"; sourceTree = "<group>"; };
19AD5F5C25DF28E700036E26 /* OpenMeasurement-LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = "OpenMeasurement-LICENSE"; sourceTree = "<group>"; };
19AD5F5D25DF28E700036E26 /* GoogleUtilities-LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = "GoogleUtilities-LICENSE"; sourceTree = "<group>"; };
3F1BB1D6C2548CAA9E7F341D /* Pods-AdManagerCustomRenderingExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AdManagerCustomRenderingExample.release.xcconfig"; path = "Target Support Files/Pods-AdManagerCustomRenderingExample/Pods-AdManagerCustomRenderingExample.release.xcconfig"; sourceTree = "<group>"; };
50A6A5E42196462B004B500E /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
50A6A5E52196462B004B500E /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
50A6A5E72196462B004B500E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
Expand All @@ -32,6 +48,8 @@
50A6A5F22196462C004B500E /* ViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
50A6A5F32196462C004B500E /* ViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
50A6A5F42196462C004B500E /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
6B9AF3041F0CFBDE634428C5 /* Pods-AdManagerCustomRenderingExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AdManagerCustomRenderingExample.debug.xcconfig"; path = "Target Support Files/Pods-AdManagerCustomRenderingExample/Pods-AdManagerCustomRenderingExample.debug.xcconfig"; sourceTree = "<group>"; };
A7AE6F93CAF2406B5F80AC13 /* libPods-AdManagerCustomRenderingExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-AdManagerCustomRenderingExample.a"; sourceTree = BUILT_PRODUCTS_DIR; };
CF9335B71B26706400DEF1B4 /* AdManagerCustomRenderingExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AdManagerCustomRenderingExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */

Expand All @@ -40,12 +58,53 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
40260726CBF0F84FFFCFC16E /* libPods-AdManagerCustomRenderingExample.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
19AD5F4725DF28DA00036E26 /* Frameworks */ = {
isa = PBXGroup;
children = (
19AD5F5825DF28E700036E26 /* GoogleUtilities.xcframework */,
19AD5F5925DF28E700036E26 /* Licenses */,
19AD5F5125DF28DB00036E26 /* GoogleAppMeasurement.xcframework */,
19AD5F4925DF28DB00036E26 /* GoogleMobileAds.xcframework */,
19AD5F4A25DF28DB00036E26 /* Licenses */,
19AD5F4825DF28DB00036E26 /* nanopb.xcframework */,
19AD5F5025DF28DB00036E26 /* PromisesObjC.xcframework */,
19AD5F4F25DF28DB00036E26 /* UserMessagingPlatform.xcframework */,
A7AE6F93CAF2406B5F80AC13 /* libPods-AdManagerCustomRenderingExample.a */,
);
name = Frameworks;
sourceTree = "<group>";
};
19AD5F4A25DF28DB00036E26 /* Licenses */ = {
isa = PBXGroup;
children = (
19AD5F4B25DF28DB00036E26 /* Promises-LICENSE */,
19AD5F4C25DF28DB00036E26 /* NanoPB-LICENSE */,
19AD5F4D25DF28DB00036E26 /* OpenMeasurement-LICENSE */,
19AD5F4E25DF28DB00036E26 /* GoogleUtilities-LICENSE */,
);
name = Licenses;
path = "../../../../../Downloads/GoogleMobileAdsSdkiOS-8.1.0/Licenses";
sourceTree = "<group>";
};
19AD5F5925DF28E700036E26 /* Licenses */ = {
isa = PBXGroup;
children = (
19AD5F5A25DF28E700036E26 /* Promises-LICENSE */,
19AD5F5B25DF28E700036E26 /* NanoPB-LICENSE */,
19AD5F5C25DF28E700036E26 /* OpenMeasurement-LICENSE */,
19AD5F5D25DF28E700036E26 /* GoogleUtilities-LICENSE */,
);
name = Licenses;
path = "../../../../../Downloads/GoogleMobileAdsSdkiOS-8.1.0/Licenses";
sourceTree = "<group>";
};
50A6A5E32196462B004B500E /* AdManagerCustomRenderingExample */ = {
isa = PBXGroup;
children = (
Expand All @@ -66,11 +125,23 @@
path = AdManagerCustomRenderingExample;
sourceTree = "<group>";
};
82B4B4C226E8D6F9F28F9A9E /* Pods */ = {
isa = PBXGroup;
children = (
6B9AF3041F0CFBDE634428C5 /* Pods-AdManagerCustomRenderingExample.debug.xcconfig */,
3F1BB1D6C2548CAA9E7F341D /* Pods-AdManagerCustomRenderingExample.release.xcconfig */,
);
name = Pods;
path = Pods;
sourceTree = "<group>";
};
CF9335AE1B26706400DEF1B4 = {
isa = PBXGroup;
children = (
50A6A5E32196462B004B500E /* AdManagerCustomRenderingExample */,
CF9335B81B26706400DEF1B4 /* Products */,
19AD5F4725DF28DA00036E26 /* Frameworks */,
82B4B4C226E8D6F9F28F9A9E /* Pods */,
);
sourceTree = "<group>";
};
Expand All @@ -89,6 +160,7 @@
isa = PBXNativeTarget;
buildConfigurationList = CF9335DA1B26706400DEF1B4 /* Build configuration list for PBXNativeTarget "AdManagerCustomRenderingExample" */;
buildPhases = (
8FDA81F5DDECD2953F178FE8 /* [CP] Check Pods Manifest.lock */,
CF9335B31B26706400DEF1B4 /* Sources */,
CF9335B41B26706400DEF1B4 /* Frameworks */,
CF9335B51B26706400DEF1B4 /* Resources */,
Expand Down Expand Up @@ -121,6 +193,7 @@
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
English,
en,
Base,
);
Expand Down Expand Up @@ -149,6 +222,31 @@
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
8FDA81F5DDECD2953F178FE8 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-AdManagerCustomRenderingExample-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
CF9335B31B26706400DEF1B4 /* Sources */ = {
isa = PBXSourcesBuildPhase;
Expand Down Expand Up @@ -290,10 +388,11 @@
};
CF9335DB1B26706400DEF1B4 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 6B9AF3041F0CFBDE634428C5 /* Pods-AdManagerCustomRenderingExample.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
INFOPLIST_FILE = AdManagerCustomRenderingExample/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.google.AdManagerCustomRenderingExample;
PRODUCT_NAME = "${TARGET_NAME}";
Expand All @@ -302,10 +401,11 @@
};
CF9335DC1B26706400DEF1B4 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 3F1BB1D6C2548CAA9E7F341D /* Pods-AdManagerCustomRenderingExample.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
INFOPLIST_FILE = AdManagerCustomRenderingExample/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.google.AdManagerCustomRenderingExample;
PRODUCT_NAME = "${TARGET_NAME}";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright (c) 2015 Google. All rights reserved.

#import "AppDelegate.h"
@import GoogleMobileAds;
#import <GoogleMobileAds/GoogleMobileAds.h>

@implementation AppDelegate
Expand All @@ -11,6 +12,7 @@ - (BOOL)application:(UIApplication *)application

// Initialize Google Mobile Ads SDK
[GADMobileAds.sharedInstance startWithCompletionHandler:nil];
GADMobileAds.sharedInstance.requestConfiguration.testDeviceIdentifiers = @[ kGADSimulatorID ];
return YES;
}

Expand Down
Loading