Skip to content

Commit 1a757d4

Browse files
AnkaAnka
authored andcommitted
Release new version: 5.1.5
1 parent 0468c62 commit 1a757d4

31 files changed

+7762
-23686
lines changed

Frameworks/TeadsSDK.xcframework/Info.plist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
<key>AvailableLibraries</key>
66
<array>
77
<dict>
8+
<key>BinaryPath</key>
9+
<string>TeadsSDK.framework/TeadsSDK</string>
810
<key>LibraryIdentifier</key>
911
<string>ios-arm64</string>
1012
<key>LibraryPath</key>
@@ -17,6 +19,8 @@
1719
<string>ios</string>
1820
</dict>
1921
<dict>
22+
<key>BinaryPath</key>
23+
<string>TeadsSDK.framework/TeadsSDK</string>
2024
<key>LibraryIdentifier</key>
2125
<string>ios-arm64_x86_64-simulator</string>
2226
<key>LibraryPath</key>
-162 KB
Binary file not shown.

Frameworks/TeadsSDK.xcframework/ios-arm64/TeadsSDK.framework/Headers/TeadsSDK-Swift.h

Lines changed: 45 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#if 0
22
#elif defined(__arm64__) && __arm64__
3-
// Generated by Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
3+
// Generated by Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
44
#ifndef TEADSSDK_SWIFT_H
55
#define TEADSSDK_SWIFT_H
66
#pragma clang diagnostic push
@@ -42,13 +42,22 @@
4242
#include <string.h>
4343
#endif
4444
#if defined(__cplusplus)
45-
#if __has_include(<ptrauth.h>)
45+
#pragma clang diagnostic push
46+
#pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
47+
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
4648
# include <ptrauth.h>
4749
#else
50+
#pragma clang diagnostic push
51+
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
4852
# ifndef __ptrauth_swift_value_witness_function_pointer
4953
# define __ptrauth_swift_value_witness_function_pointer(x)
5054
# endif
55+
# ifndef __ptrauth_swift_class_method_pointer
56+
# define __ptrauth_swift_class_method_pointer(x)
57+
# endif
58+
#pragma clang diagnostic pop
5159
#endif
60+
#pragma clang diagnostic pop
5261
#endif
5362

5463
#if !defined(SWIFT_TYPEDEFS)
@@ -246,6 +255,17 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
246255
#else
247256
# define SWIFT_NOEXCEPT
248257
#endif
258+
#if !defined(SWIFT_C_INLINE_THUNK)
259+
# if __has_attribute(always_inline)
260+
# if __has_attribute(nodebug)
261+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
262+
# else
263+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
264+
# endif
265+
# else
266+
# define SWIFT_C_INLINE_THUNK inline
267+
# endif
268+
#endif
249269
#if defined(_WIN32)
250270
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
251271
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
@@ -275,6 +295,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
275295
#pragma clang diagnostic ignored "-Wunknown-pragmas"
276296
#pragma clang diagnostic ignored "-Wnullability"
277297
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
298+
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
278299

279300
#if __has_attribute(external_source_symbol)
280301
# pragma push_macro("any")
@@ -701,6 +722,14 @@ SWIFT_CLASS("_TtC8TeadsSDK24TeadsAdPlacementSettings")
701722
/// \param consent The CCPA consent string.
702723
///
703724
- (void)setUsPrivacyWithConsent:(NSString * _Nonnull)consent;
725+
/// In order to follow the IAB specifications for GDPR, please fill the following parameters with attention.
726+
/// note:
727+
/// If you use a <a href="https://iabeurope.eu/tcf-for-cmps/">CMP</a>, you can skip this step: CMP will store those parameters into <code>UserDefaults</code>, TeadSDK will automatically retrieve these values. <a href="https://github.com/InteractiveAdvertisingBureau/Global-Privacy-Platform/blob/main/Core/Consent%20String%20Specification.md">Global Privacy Platform </a> IAB documentation.
728+
/// \param consent Which vendors and purposes did the user give consent for.
729+
///
730+
/// \param sectionIds List of the applicable section ids.
731+
///
732+
- (void)setGppConsentWithConsent:(NSString * _Nonnull)consent sectionIds:(NSString * _Nonnull)sectionIds;
704733
/// Prevent to automatically set UIDevice.current.isBatteryMonitoringEnabled
705734
- (void)disableBatteryMonitoring;
706735
/// Add extra informations to settings.
@@ -869,6 +898,14 @@ SWIFT_CLASS("_TtC8TeadsSDK20TeadsAdapterSettings")
869898
/// \param consent The CCPA consent string
870899
///
871900
- (void)setUsPrivacyWithConsent:(NSString * _Nonnull)consent;
901+
/// In order to follow the IAB specifications for GPP, please fill the following parameters with attention.
902+
/// note:
903+
/// If you use a <a href="https://iabeurope.eu/tcf-for-cmps/">CMP</a>, you can skip this step: CMP will store those parameters into <code>UserDefaults</code>, TeadSDK will automatically retrieve these values. <a href="https://github.com/InteractiveAdvertisingBureau/Global-Privacy-Platform/blob/main/Core/Consent%20String%20Specification.md">Global Privacy Platform </a> IAB documentation.
904+
/// \param consent Which vendors and purposes did the user give consent for.
905+
///
906+
/// \param sectionIds List of the applicable section ids.
907+
///
908+
- (void)setGppConsentWithConsent:(NSString * _Nonnull)consent sectionIds:(NSString * _Nonnull)sectionIds;
872909
/// Prevent to automatically set UIDevice.current.isBatteryMonitoringEnabled
873910
- (void)disableBatteryMonitoring;
874911
/// Add extra informations to settings.
@@ -1293,13 +1330,15 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK18TeadsSoundDelegate_") SWIFT_UNAVAILABLE_MSG("'Tea
12931330

12941331

12951332

1296-
12971333
@interface UIButton (SWIFT_EXTENSION(TeadsSDK))
12981334
- (void)bindWithComponent:(CommonComponent * _Nullable)component;
12991335
@end
13001336

13011337

13021338

1339+
1340+
1341+
13031342
@interface UIImageView (SWIFT_EXTENSION(TeadsSDK))
13041343
- (void)bindWithComponent:(CommonComponent * _Nullable)component;
13051344
@end
@@ -1311,7 +1350,6 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK18TeadsSoundDelegate_") SWIFT_UNAVAILABLE_MSG("'Tea
13111350

13121351

13131352

1314-
13151353
@interface UIView (SWIFT_EXTENSION(TeadsSDK))
13161354
/// map your UIKit element to TeadsSDK logic,
13171355
/// this ensures visibility measurement is monitored and click behaviors are well handled
@@ -1328,6 +1366,7 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK18TeadsSoundDelegate_") SWIFT_UNAVAILABLE_MSG("'Tea
13281366

13291367

13301368

1369+
13311370
/// Native video component containing media content
13321371
/// note:
13331372
/// In order to render VideoComponent, you need to instanciate a <code>TeadsMediaView</code> by calling <code>TeadsMediaView/init(videoComponent:)</code>
@@ -1337,12 +1376,12 @@ SWIFT_CLASS("_TtC8TeadsSDK14VideoComponent")
13371376
@property (nonatomic, readonly) CGFloat contentAspectRatio;
13381377
@end
13391378

1340-
#endif
1341-
#if defined(__cplusplus)
13421379
#endif
13431380
#if __has_attribute(external_source_symbol)
13441381
# pragma clang attribute pop
13451382
#endif
1383+
#if defined(__cplusplus)
1384+
#endif
13461385
#pragma clang diagnostic pop
13471386
#endif
13481387

1 Byte
Binary file not shown.

0 commit comments

Comments
 (0)