Skip to content

Commit b659f05

Browse files
Fixing podfile.lock and update README for v5
1 parent f87198a commit b659f05

File tree

7 files changed

+43
-41
lines changed

7 files changed

+43
-41
lines changed

Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,16 +97,16 @@ EXTERNAL SOURCES:
9797

9898
CHECKOUT OPTIONS:
9999
TeadsAdMobAdapter:
100-
:commit: 3c981fd0ab2a4b6cb3cae94fb7b429dbe1a2b1c6
100+
:commit: f87198a67cd3fc9e0cb29be22511c1e3f50f569d
101101
:git: https://github.com/teads/TeadsSDK-iOS.git
102102
TeadsMoPubAdapter:
103-
:commit: 3c981fd0ab2a4b6cb3cae94fb7b429dbe1a2b1c6
103+
:commit: f87198a67cd3fc9e0cb29be22511c1e3f50f569d
104104
:git: https://github.com/teads/TeadsSDK-iOS.git
105105
TeadsSASAdapter:
106-
:commit: 3c981fd0ab2a4b6cb3cae94fb7b429dbe1a2b1c6
106+
:commit: f87198a67cd3fc9e0cb29be22511c1e3f50f569d
107107
:git: https://github.com/teads/TeadsSDK-iOS.git
108108
TeadsSDK:
109-
:commit: 3c981fd0ab2a4b6cb3cae94fb7b429dbe1a2b1c6
109+
:commit: f87198a67cd3fc9e0cb29be22511c1e3f50f569d
110110
:git: https://github.com/teads/TeadsSDK-iOS.git
111111

112112
SPEC CHECKSUMS:

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ Note: didRecordImpression and didRecordClick are for your analytics if you have
188188

189189
You are all set! You can now display Teads ads inside your app. 🎉
190190

191-
### Valitdate your integration
191+
### Validate your integration
192192

193193
In order to be sure that your integration is well done you can use our validation tool.
194194

@@ -202,6 +202,7 @@ let adSettings = TeadsAdRequestSettings(build: { (settings) in
202202
})
203203
placement?.requestAd(requestSettings: adSettings)
204204
```
205+
205206
Compile, then go to the controller that contains your ad and you just have to follow along with the instructions.
206207

207208
**Note: ⚠️ don't forget to remove this setting before going in production!**
@@ -219,3 +220,4 @@ When you request an ad with the adPlacement you can pass customs settings.
219220
* `disableCrashMonitoring()`, disallows the SDK to add battery informations to our logs.
220221
* `disableBatteryMonitoring()`, disallows the SDK to send crash logs to our servers.
221222
* `disableTeadsAudioSessionManagement()`, if you have custom sound session management you need to disable our audio sessio management and implement the TeadsSoundDelegate.
223+
{"mode":"full","isActive":false}

TeadsSampleApp.xcodeproj/project.pbxproj

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
B5966D22269DE859005CA2FF /* InReadSASScrollViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B5EBAF5F25655A1300B0DAFA /* InReadSASScrollViewController.swift */; };
3737
B5966D23269DE8D0005CA2FF /* InReadSASTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B52A5AC22566B4A7007CFA73 /* InReadSASTableViewController.swift */; };
3838
B5CF15BF252DC47000B12F83 /* TeadsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B5CF15BE252DC47000B12F83 /* TeadsViewController.swift */; };
39-
F47DC3EAEE552A1ADB4B8939 /* Pods_TeadsSampleApp.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 42F4EE0216EEF35F71182325 /* Pods_TeadsSampleApp.framework */; };
39+
D9EAA8DA97B5DC6D5CF72BFB /* Pods_TeadsSampleApp.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E8F6E3F5DBFC364683FDC7AF /* Pods_TeadsSampleApp.framework */; };
4040
F7651FE326A07A58004DAFD9 /* bootstrap.js in Resources */ = {isa = PBXBuildFile; fileRef = F7651FE126A07A58004DAFD9 /* bootstrap.js */; };
4141
F7651FE426A07A58004DAFD9 /* TeadsWebViewHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7651FE226A07A58004DAFD9 /* TeadsWebViewHelper.swift */; };
4242
/* End PBXBuildFile section */
@@ -51,9 +51,8 @@
5151
408A2D50253DC5A200CCFF44 /* InReadMopubTableViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InReadMopubTableViewController.swift; sourceTree = "<group>"; };
5252
40D28A26253853710031A64D /* InReadAdmobTableViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InReadAdmobTableViewController.swift; sourceTree = "<group>"; };
5353
40DCC3C825306FA00012407C /* Format.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Format.swift; sourceTree = "<group>"; };
54-
42F4EE0216EEF35F71182325 /* Pods_TeadsSampleApp.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_TeadsSampleApp.framework; sourceTree = BUILT_PRODUCTS_DIR; };
55-
4942293CD69BE5B978F3C928 /* Pods-TeadsSampleApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TeadsSampleApp.release.xcconfig"; path = "Target Support Files/Pods-TeadsSampleApp/Pods-TeadsSampleApp.release.xcconfig"; sourceTree = "<group>"; };
56-
7397997C04E7ABE14003EDEE /* Pods-TeadsSampleApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TeadsSampleApp.debug.xcconfig"; path = "Target Support Files/Pods-TeadsSampleApp/Pods-TeadsSampleApp.debug.xcconfig"; sourceTree = "<group>"; };
54+
60AA148B2F66A4B614CA54BD /* Pods-TeadsSampleApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TeadsSampleApp.debug.xcconfig"; path = "Target Support Files/Pods-TeadsSampleApp/Pods-TeadsSampleApp.debug.xcconfig"; sourceTree = "<group>"; };
55+
63B9385EDA1DC5810EC74590 /* Pods-TeadsSampleApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TeadsSampleApp.release.xcconfig"; path = "Target Support Files/Pods-TeadsSampleApp/Pods-TeadsSampleApp.release.xcconfig"; sourceTree = "<group>"; };
5756
B501EC711F823541002909B9 /* InReadDirectWebViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InReadDirectWebViewController.swift; sourceTree = "<group>"; };
5857
B502BA121F827D5C008257EC /* InReadDirectTableViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InReadDirectTableViewController.swift; sourceTree = "<group>"; };
5958
B50425CF252E078B00ABF07D /* String.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = String.swift; sourceTree = "<group>"; };
@@ -76,6 +75,7 @@
7675
B5D8037824E3E6C800C0AAF6 /* InReadMopubScrollViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InReadMopubScrollViewController.swift; sourceTree = "<group>"; };
7776
B5EBAF5F25655A1300B0DAFA /* InReadSASScrollViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InReadSASScrollViewController.swift; sourceTree = "<group>"; };
7877
DB4660DB2181B865003A6CF5 /* InReadAdmobScrollViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InReadAdmobScrollViewController.swift; sourceTree = "<group>"; };
78+
E8F6E3F5DBFC364683FDC7AF /* Pods_TeadsSampleApp.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_TeadsSampleApp.framework; sourceTree = BUILT_PRODUCTS_DIR; };
7979
F7651FE126A07A58004DAFD9 /* bootstrap.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = bootstrap.js; sourceTree = "<group>"; };
8080
F7651FE226A07A58004DAFD9 /* TeadsWebViewHelper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TeadsWebViewHelper.swift; sourceTree = "<group>"; };
8181
/* End PBXFileReference section */
@@ -85,7 +85,7 @@
8585
isa = PBXFrameworksBuildPhase;
8686
buildActionMask = 2147483647;
8787
files = (
88-
F47DC3EAEE552A1ADB4B8939 /* Pods_TeadsSampleApp.framework in Frameworks */,
88+
D9EAA8DA97B5DC6D5CF72BFB /* Pods_TeadsSampleApp.framework in Frameworks */,
8989
);
9090
runOnlyForDeploymentPostprocessing = 0;
9191
};
@@ -236,8 +236,8 @@
236236
9C4C2A8CC3AEB01218414AF6 /* Pods */ = {
237237
isa = PBXGroup;
238238
children = (
239-
7397997C04E7ABE14003EDEE /* Pods-TeadsSampleApp.debug.xcconfig */,
240-
4942293CD69BE5B978F3C928 /* Pods-TeadsSampleApp.release.xcconfig */,
239+
60AA148B2F66A4B614CA54BD /* Pods-TeadsSampleApp.debug.xcconfig */,
240+
63B9385EDA1DC5810EC74590 /* Pods-TeadsSampleApp.release.xcconfig */,
241241
);
242242
path = Pods;
243243
sourceTree = "<group>";
@@ -281,7 +281,7 @@
281281
B5555A341F7CDF80007406D4 /* TeadsSampleApp */,
282282
B5555A331F7CDF80007406D4 /* Products */,
283283
9C4C2A8CC3AEB01218414AF6 /* Pods */,
284-
B7AD469F4BA4F70A51049D42 /* Frameworks */,
284+
E85D3168550003E1A3897487 /* Frameworks */,
285285
);
286286
sourceTree = "<group>";
287287
};
@@ -357,10 +357,10 @@
357357
path = ScrollView;
358358
sourceTree = "<group>";
359359
};
360-
B7AD469F4BA4F70A51049D42 /* Frameworks */ = {
360+
E85D3168550003E1A3897487 /* Frameworks */ = {
361361
isa = PBXGroup;
362362
children = (
363-
42F4EE0216EEF35F71182325 /* Pods_TeadsSampleApp.framework */,
363+
E8F6E3F5DBFC364683FDC7AF /* Pods_TeadsSampleApp.framework */,
364364
);
365365
name = Frameworks;
366366
sourceTree = "<group>";
@@ -389,12 +389,12 @@
389389
isa = PBXNativeTarget;
390390
buildConfigurationList = B5555A441F7CDF80007406D4 /* Build configuration list for PBXNativeTarget "TeadsSampleApp" */;
391391
buildPhases = (
392-
B8583AEFB9877E0CA9757411 /* [CP] Check Pods Manifest.lock */,
392+
7CFCAA641082DED3F8281688 /* [CP] Check Pods Manifest.lock */,
393393
B5555A2E1F7CDF80007406D4 /* Sources */,
394394
B5555A2F1F7CDF80007406D4 /* Frameworks */,
395395
B5555A301F7CDF80007406D4 /* Resources */,
396396
913FE1D31FEC291B003C6E5E /* ShellScript */,
397-
9D6BB06D2C7B526437232FB0 /* [CP] Embed Pods Frameworks */,
397+
6D35E50F39BD5E8DA638F527 /* [CP] Embed Pods Frameworks */,
398398
);
399399
buildRules = (
400400
);
@@ -457,20 +457,7 @@
457457
/* End PBXResourcesBuildPhase section */
458458

459459
/* Begin PBXShellScriptBuildPhase section */
460-
913FE1D31FEC291B003C6E5E /* ShellScript */ = {
461-
isa = PBXShellScriptBuildPhase;
462-
buildActionMask = 2147483647;
463-
files = (
464-
);
465-
inputPaths = (
466-
);
467-
outputPaths = (
468-
);
469-
runOnlyForDeploymentPostprocessing = 0;
470-
shellPath = /bin/sh;
471-
shellScript = "echo \"Target architectures: $ARCHS\"\n\nAPP_PATH=\"${TARGET_BUILD_DIR}/${WRAPPER_NAME}\"\n\necho \"$APP_PATH\"\n\nfind \"$APP_PATH\" -name '*.framework' -type d | while read -r FRAMEWORK\ndo\nFRAMEWORK_EXECUTABLE_NAME=$(defaults read \"$FRAMEWORK/Info.plist\" CFBundleExecutable)\nFRAMEWORK_EXECUTABLE_PATH=\"$FRAMEWORK/$FRAMEWORK_EXECUTABLE_NAME\"\necho \"Executable is $FRAMEWORK_EXECUTABLE_PATH\"\necho $(lipo -info \"$FRAMEWORK_EXECUTABLE_PATH\")\n\nFRAMEWORK_TMP_PATH=\"$FRAMEWORK_EXECUTABLE_PATH-tmp\"\n\n# remove simulator's archs if location is not simulator's directory\ncase \"${TARGET_BUILD_DIR}\" in\n*\"iphonesimulator\")\necho \"No need to remove archs\"\n;;\n*)\nif $(lipo \"$FRAMEWORK_EXECUTABLE_PATH\" -verify_arch \"i386\") ; then\nlipo -output \"$FRAMEWORK_TMP_PATH\" -remove \"i386\" \"$FRAMEWORK_EXECUTABLE_PATH\"\necho \"i386 architecture removed\"\nrm \"$FRAMEWORK_EXECUTABLE_PATH\"\nmv \"$FRAMEWORK_TMP_PATH\" \"$FRAMEWORK_EXECUTABLE_PATH\"\nfi\nif $(lipo \"$FRAMEWORK_EXECUTABLE_PATH\" -verify_arch \"x86_64\") ; then\nlipo -output \"$FRAMEWORK_TMP_PATH\" -remove \"x86_64\" \"$FRAMEWORK_EXECUTABLE_PATH\"\necho \"x86_64 architecture removed\"\nrm \"$FRAMEWORK_EXECUTABLE_PATH\"\nmv \"$FRAMEWORK_TMP_PATH\" \"$FRAMEWORK_EXECUTABLE_PATH\"\nfi\n;;\nesac\n\necho \"Completed for executable $FRAMEWORK_EXECUTABLE_PATH\"\necho $(lipo -info \"$FRAMEWORK_EXECUTABLE_PATH\")\n\ndone\n";
472-
};
473-
9D6BB06D2C7B526437232FB0 /* [CP] Embed Pods Frameworks */ = {
460+
6D35E50F39BD5E8DA638F527 /* [CP] Embed Pods Frameworks */ = {
474461
isa = PBXShellScriptBuildPhase;
475462
buildActionMask = 2147483647;
476463
files = (
@@ -504,7 +491,7 @@
504491
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-TeadsSampleApp/Pods-TeadsSampleApp-frameworks.sh\"\n";
505492
showEnvVarsInLog = 0;
506493
};
507-
B8583AEFB9877E0CA9757411 /* [CP] Check Pods Manifest.lock */ = {
494+
7CFCAA641082DED3F8281688 /* [CP] Check Pods Manifest.lock */ = {
508495
isa = PBXShellScriptBuildPhase;
509496
buildActionMask = 2147483647;
510497
files = (
@@ -526,6 +513,19 @@
526513
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";
527514
showEnvVarsInLog = 0;
528515
};
516+
913FE1D31FEC291B003C6E5E /* ShellScript */ = {
517+
isa = PBXShellScriptBuildPhase;
518+
buildActionMask = 2147483647;
519+
files = (
520+
);
521+
inputPaths = (
522+
);
523+
outputPaths = (
524+
);
525+
runOnlyForDeploymentPostprocessing = 0;
526+
shellPath = /bin/sh;
527+
shellScript = "echo \"Target architectures: $ARCHS\"\n\nAPP_PATH=\"${TARGET_BUILD_DIR}/${WRAPPER_NAME}\"\n\necho \"$APP_PATH\"\n\nfind \"$APP_PATH\" -name '*.framework' -type d | while read -r FRAMEWORK\ndo\nFRAMEWORK_EXECUTABLE_NAME=$(defaults read \"$FRAMEWORK/Info.plist\" CFBundleExecutable)\nFRAMEWORK_EXECUTABLE_PATH=\"$FRAMEWORK/$FRAMEWORK_EXECUTABLE_NAME\"\necho \"Executable is $FRAMEWORK_EXECUTABLE_PATH\"\necho $(lipo -info \"$FRAMEWORK_EXECUTABLE_PATH\")\n\nFRAMEWORK_TMP_PATH=\"$FRAMEWORK_EXECUTABLE_PATH-tmp\"\n\n# remove simulator's archs if location is not simulator's directory\ncase \"${TARGET_BUILD_DIR}\" in\n*\"iphonesimulator\")\necho \"No need to remove archs\"\n;;\n*)\nif $(lipo \"$FRAMEWORK_EXECUTABLE_PATH\" -verify_arch \"i386\") ; then\nlipo -output \"$FRAMEWORK_TMP_PATH\" -remove \"i386\" \"$FRAMEWORK_EXECUTABLE_PATH\"\necho \"i386 architecture removed\"\nrm \"$FRAMEWORK_EXECUTABLE_PATH\"\nmv \"$FRAMEWORK_TMP_PATH\" \"$FRAMEWORK_EXECUTABLE_PATH\"\nfi\nif $(lipo \"$FRAMEWORK_EXECUTABLE_PATH\" -verify_arch \"x86_64\") ; then\nlipo -output \"$FRAMEWORK_TMP_PATH\" -remove \"x86_64\" \"$FRAMEWORK_EXECUTABLE_PATH\"\necho \"x86_64 architecture removed\"\nrm \"$FRAMEWORK_EXECUTABLE_PATH\"\nmv \"$FRAMEWORK_TMP_PATH\" \"$FRAMEWORK_EXECUTABLE_PATH\"\nfi\n;;\nesac\n\necho \"Completed for executable $FRAMEWORK_EXECUTABLE_PATH\"\necho $(lipo -info \"$FRAMEWORK_EXECUTABLE_PATH\")\n\ndone\n";
528+
};
529529
/* End PBXShellScriptBuildPhase section */
530530

531531
/* Begin PBXSourcesBuildPhase section */
@@ -698,7 +698,7 @@
698698
};
699699
B5555A451F7CDF80007406D4 /* Debug */ = {
700700
isa = XCBuildConfiguration;
701-
baseConfigurationReference = 7397997C04E7ABE14003EDEE /* Pods-TeadsSampleApp.debug.xcconfig */;
701+
baseConfigurationReference = 60AA148B2F66A4B614CA54BD /* Pods-TeadsSampleApp.debug.xcconfig */;
702702
buildSettings = {
703703
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
704704
BUNDLE_LOADER = "";
@@ -797,7 +797,7 @@
797797
};
798798
B5555A461F7CDF80007406D4 /* Release */ = {
799799
isa = XCBuildConfiguration;
800-
baseConfigurationReference = 4942293CD69BE5B978F3C928 /* Pods-TeadsSampleApp.release.xcconfig */;
800+
baseConfigurationReference = 63B9385EDA1DC5810EC74590 /* Pods-TeadsSampleApp.release.xcconfig */;
801801
buildSettings = {
802802
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
803803
BUNDLE_LOADER = "";

TeadsSampleApp/Controllers/InRead/Admob/TableView/InReadAdmobTableViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ class InReadAdmobTableViewController: TeadsViewController {
7777
}
7878

7979
@objc func rotationDetected() {
80-
if adRatio != nil {
81-
resizeTeadsAd(adRatio: adRatio!)
80+
if let adRatio = self.adRatio {
81+
resizeTeadsAd(adRatio: adRatio)
8282
}
8383
}
8484

TeadsSampleApp/Controllers/InRead/Direct/ScrollView/InReadDirectScrollViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class InReadDirectScrollViewController: TeadsViewController {
3737

3838
@objc func rotationDetected() {
3939
if let adRatio = self.adRatio {
40-
resizeTeadsAd(adRatio: adRatio!)
40+
resizeTeadsAd(adRatio: adRatio)
4141
}
4242
}
4343

TeadsSampleApp/Controllers/InRead/Mopub/TableView/InReadMopubTableViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ class InReadMopubTableViewController: TeadsViewController {
7878
}
7979

8080
@objc func rotationDetected() {
81-
if adRatio != nil {
82-
resizeTeadsAd(adRatio: adRatio!)
81+
if let adRatio = self.adRatio {
82+
resizeTeadsAd(adRatio: adRatio)
8383
}
8484
}
8585

TeadsSampleApp/Controllers/InRead/SAS/TableView/InReadSASTableViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ class InReadSASTableViewController: TeadsViewController {
5454

5555

5656
@objc func rotationDetected() {
57-
if adRatio != nil {
58-
resizeTeadsAd(adRatio: adRatio!)
57+
if let adRatio = self.adRatio {
58+
resizeTeadsAd(adRatio: adRatio)
5959
}
6060
}
6161

0 commit comments

Comments
 (0)