Skip to content

Commit 7e6dc76

Browse files
committed
added xcframework
1 parent 8386d3b commit 7e6dc76

File tree

23 files changed

+1317
-0
lines changed

23 files changed

+1317
-0
lines changed

TestlioSDK.xcframework/Info.plist

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>AvailableLibraries</key>
6+
<array>
7+
<dict>
8+
<key>LibraryIdentifier</key>
9+
<string>ios-arm64</string>
10+
<key>LibraryPath</key>
11+
<string>TestlioSDK.framework</string>
12+
<key>SupportedArchitectures</key>
13+
<array>
14+
<string>arm64</string>
15+
</array>
16+
<key>SupportedPlatform</key>
17+
<string>ios</string>
18+
</dict>
19+
<dict>
20+
<key>LibraryIdentifier</key>
21+
<string>ios-x86_64-simulator</string>
22+
<key>LibraryPath</key>
23+
<string>TestlioSDK.framework</string>
24+
<key>SupportedArchitectures</key>
25+
<array>
26+
<string>x86_64</string>
27+
</array>
28+
<key>SupportedPlatform</key>
29+
<string>ios</string>
30+
<key>SupportedPlatformVariant</key>
31+
<string>simulator</string>
32+
</dict>
33+
</array>
34+
<key>CFBundlePackageType</key>
35+
<string>XFWK</string>
36+
<key>XCFrameworkFormatVersion</key>
37+
<string>1.0</string>
38+
</dict>
39+
</plist>
Binary file not shown.
Lines changed: 281 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,281 @@
1+
// Generated by Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53)
2+
#pragma clang diagnostic push
3+
#pragma clang diagnostic ignored "-Wgcc-compat"
4+
5+
#if !defined(__has_include)
6+
# define __has_include(x) 0
7+
#endif
8+
#if !defined(__has_attribute)
9+
# define __has_attribute(x) 0
10+
#endif
11+
#if !defined(__has_feature)
12+
# define __has_feature(x) 0
13+
#endif
14+
#if !defined(__has_warning)
15+
# define __has_warning(x) 0
16+
#endif
17+
18+
#if __has_include(<swift/objc-prologue.h>)
19+
# include <swift/objc-prologue.h>
20+
#endif
21+
22+
#pragma clang diagnostic ignored "-Wauto-import"
23+
#include <Foundation/Foundation.h>
24+
#include <stdint.h>
25+
#include <stddef.h>
26+
#include <stdbool.h>
27+
28+
#if !defined(SWIFT_TYPEDEFS)
29+
# define SWIFT_TYPEDEFS 1
30+
# if __has_include(<uchar.h>)
31+
# include <uchar.h>
32+
# elif !defined(__cplusplus)
33+
typedef uint_least16_t char16_t;
34+
typedef uint_least32_t char32_t;
35+
# endif
36+
typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
37+
typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
38+
typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
39+
typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
40+
typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
41+
typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
42+
typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
43+
typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
44+
typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
45+
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
46+
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
47+
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
48+
#endif
49+
50+
#if !defined(SWIFT_PASTE)
51+
# define SWIFT_PASTE_HELPER(x, y) x##y
52+
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
53+
#endif
54+
#if !defined(SWIFT_METATYPE)
55+
# define SWIFT_METATYPE(X) Class
56+
#endif
57+
#if !defined(SWIFT_CLASS_PROPERTY)
58+
# if __has_feature(objc_class_property)
59+
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
60+
# else
61+
# define SWIFT_CLASS_PROPERTY(...)
62+
# endif
63+
#endif
64+
65+
#if __has_attribute(objc_runtime_name)
66+
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
67+
#else
68+
# define SWIFT_RUNTIME_NAME(X)
69+
#endif
70+
#if __has_attribute(swift_name)
71+
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
72+
#else
73+
# define SWIFT_COMPILE_NAME(X)
74+
#endif
75+
#if __has_attribute(objc_method_family)
76+
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
77+
#else
78+
# define SWIFT_METHOD_FAMILY(X)
79+
#endif
80+
#if __has_attribute(noescape)
81+
# define SWIFT_NOESCAPE __attribute__((noescape))
82+
#else
83+
# define SWIFT_NOESCAPE
84+
#endif
85+
#if __has_attribute(ns_consumed)
86+
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
87+
#else
88+
# define SWIFT_RELEASES_ARGUMENT
89+
#endif
90+
#if __has_attribute(warn_unused_result)
91+
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
92+
#else
93+
# define SWIFT_WARN_UNUSED_RESULT
94+
#endif
95+
#if __has_attribute(noreturn)
96+
# define SWIFT_NORETURN __attribute__((noreturn))
97+
#else
98+
# define SWIFT_NORETURN
99+
#endif
100+
#if !defined(SWIFT_CLASS_EXTRA)
101+
# define SWIFT_CLASS_EXTRA
102+
#endif
103+
#if !defined(SWIFT_PROTOCOL_EXTRA)
104+
# define SWIFT_PROTOCOL_EXTRA
105+
#endif
106+
#if !defined(SWIFT_ENUM_EXTRA)
107+
# define SWIFT_ENUM_EXTRA
108+
#endif
109+
#if !defined(SWIFT_CLASS)
110+
# if __has_attribute(objc_subclassing_restricted)
111+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
112+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
113+
# else
114+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
115+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
116+
# endif
117+
#endif
118+
#if !defined(SWIFT_RESILIENT_CLASS)
119+
# if __has_attribute(objc_class_stub)
120+
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
121+
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
122+
# else
123+
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
124+
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
125+
# endif
126+
#endif
127+
128+
#if !defined(SWIFT_PROTOCOL)
129+
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
130+
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
131+
#endif
132+
133+
#if !defined(SWIFT_EXTENSION)
134+
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
135+
#endif
136+
137+
#if !defined(OBJC_DESIGNATED_INITIALIZER)
138+
# if __has_attribute(objc_designated_initializer)
139+
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
140+
# else
141+
# define OBJC_DESIGNATED_INITIALIZER
142+
# endif
143+
#endif
144+
#if !defined(SWIFT_ENUM_ATTR)
145+
# if defined(__has_attribute) && __has_attribute(enum_extensibility)
146+
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
147+
# else
148+
# define SWIFT_ENUM_ATTR(_extensibility)
149+
# endif
150+
#endif
151+
#if !defined(SWIFT_ENUM)
152+
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
153+
# if __has_feature(generalized_swift_name)
154+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
155+
# else
156+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
157+
# endif
158+
#endif
159+
#if !defined(SWIFT_UNAVAILABLE)
160+
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
161+
#endif
162+
#if !defined(SWIFT_UNAVAILABLE_MSG)
163+
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
164+
#endif
165+
#if !defined(SWIFT_AVAILABILITY)
166+
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
167+
#endif
168+
#if !defined(SWIFT_WEAK_IMPORT)
169+
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
170+
#endif
171+
#if !defined(SWIFT_DEPRECATED)
172+
# define SWIFT_DEPRECATED __attribute__((deprecated))
173+
#endif
174+
#if !defined(SWIFT_DEPRECATED_MSG)
175+
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
176+
#endif
177+
#if __has_feature(attribute_diagnose_if_objc)
178+
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
179+
#else
180+
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
181+
#endif
182+
#if !defined(IBSegueAction)
183+
# define IBSegueAction
184+
#endif
185+
#if __has_feature(modules)
186+
#if __has_warning("-Watimport-in-framework-header")
187+
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
188+
#endif
189+
@import Foundation;
190+
@import ObjectiveC;
191+
@import UIKit;
192+
#endif
193+
194+
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
195+
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
196+
#if __has_warning("-Wpragma-clang-attribute")
197+
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
198+
#endif
199+
#pragma clang diagnostic ignored "-Wunknown-pragmas"
200+
#pragma clang diagnostic ignored "-Wnullability"
201+
202+
#if __has_attribute(external_source_symbol)
203+
# pragma push_macro("any")
204+
# undef any
205+
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="TestlioSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
206+
# pragma pop_macro("any")
207+
#endif
208+
209+
210+
SWIFT_CLASS("_TtC10TestlioSDK7Testlio")
211+
@interface Testlio : NSObject
212+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) Testlio * _Nullable shared;)
213+
+ (Testlio * _Nullable)shared SWIFT_WARN_UNUSED_RESULT;
214+
+ (void)setShared:(Testlio * _Nullable)value;
215+
+ (void)startWithClientToken:(NSString * _Nonnull)clientToken collectionId:(NSString * _Nonnull)collectionId maxReproSteps:(NSInteger)maxReproSteps maxNetworkRequests:(NSInteger)maxNetworkRequests samplingRate:(double)samplingRate windowSize:(double)windowSize useTestEnvironment:(BOOL)useTestEnvironment useLocationServices:(BOOL)useLocationServices;
216+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
217+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
218+
@end
219+
220+
@class NSCachedURLResponse;
221+
@protocol NSURLProtocolClient;
222+
223+
SWIFT_CLASS("_TtC10TestlioSDK15TestlioProtocol")
224+
@interface TestlioProtocol : NSURLProtocol
225+
- (nonnull instancetype)initWithRequest:(NSURLRequest * _Nonnull)request cachedResponse:(NSCachedURLResponse * _Nullable)cachedResponse client:(id <NSURLProtocolClient> _Nullable)client OBJC_DESIGNATED_INITIALIZER;
226+
+ (BOOL)canInitWithRequest:(NSURLRequest * _Nonnull)request SWIFT_WARN_UNUSED_RESULT;
227+
+ (NSURLRequest * _Nonnull)canonicalRequestForRequest:(NSURLRequest * _Nonnull)request SWIFT_WARN_UNUSED_RESULT;
228+
+ (BOOL)requestIsCacheEquivalent:(NSURLRequest * _Nonnull)a toRequest:(NSURLRequest * _Nonnull)b SWIFT_WARN_UNUSED_RESULT;
229+
- (void)startLoading;
230+
- (void)stopLoading;
231+
@end
232+
233+
@class NSURLSession;
234+
@class NSURLSessionTask;
235+
236+
@interface TestlioProtocol (SWIFT_EXTENSION(TestlioSDK)) <NSURLSessionDataDelegate>
237+
- (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task didCompleteWithError:(NSError * _Nullable)error;
238+
@end
239+
240+
@class NSURLSessionDataTask;
241+
@class NSURLResponse;
242+
243+
@interface TestlioProtocol (SWIFT_EXTENSION(TestlioSDK)) <NSURLSessionTaskDelegate>
244+
- (void)URLSession:(NSURLSession * _Nonnull)session dataTask:(NSURLSessionDataTask * _Nonnull)dataTask didReceiveResponse:(NSURLResponse * _Nonnull)response completionHandler:(void (^ _Nonnull)(NSURLSessionResponseDisposition))completionHandler;
245+
- (void)URLSession:(NSURLSession * _Nonnull)session dataTask:(NSURLSessionDataTask * _Nonnull)dataTask didReceiveData:(NSData * _Nonnull)data;
246+
@end
247+
248+
249+
250+
251+
252+
253+
254+
255+
256+
257+
258+
259+
260+
261+
262+
263+
264+
265+
266+
267+
268+
269+
270+
271+
272+
273+
274+
275+
276+
277+
278+
#if __has_attribute(external_source_symbol)
279+
# pragma clang attribute pop
280+
#endif
281+
#pragma clang diagnostic pop
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
//
2+
// TestlioSDK.h
3+
// TestlioSDK
4+
//
5+
// Created by Michael Le on 01/07/2020.
6+
// Copyright © 2020 Appy Coder Ltd. All rights reserved.
7+
//
8+
9+
#import <Foundation/Foundation.h>
10+
11+
//! Project version number for TestlioSDK.
12+
FOUNDATION_EXPORT double TestlioSDKVersionNumber;
13+
14+
//! Project version string for TestlioSDK.
15+
FOUNDATION_EXPORT const unsigned char TestlioSDKVersionString[];
16+
17+
// In this header, you should import all the public headers of your framework using statements like #import <TestlioSDK/PublicHeader.h>
18+
19+
Binary file not shown.

0 commit comments

Comments
 (0)