Skip to content

Commit b489030

Browse files
Lisnic VictorLisnicVictor
Lisnic Victor
authored andcommitted
v1.0.0
1 parent 8818c99 commit b489030

26 files changed

+1356
-9
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
.DS_Store
22
/.build
33
/Packages
4-
/*.xcodeproj
54
xcuserdata/
65
DerivedData/
76
.swiftpm/config/registries.json

LICENSE

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Copyright (C) 2022 Testappio Permission is hereby granted to use this framework as is, modification are not allowed. All rights reserved.
2+
3+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Package.swift

+2-8
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,8 @@ let package = Package(
1010
// Products define the executables and libraries a package produces, and make them visible to other packages.
1111
.library(name: "TestAppIOSDK", targets: ["TestAppIOSDK"]),
1212
],
13+
dependencies: [],
1314
targets: [
14-
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
15-
// Targets can depend on other targets in this package, and on products in packages this package depends on.
16-
.binaryTarget(name: "TestAppIOSDK", path: "../Products/xcframeworks/TestAppIOSDK.xcframework.zip"),
17-
// .binaryTarget(
18-
// name: "TestAppIOSDK",
19-
// url: "https://drive.google.com/file/d/172Cpg_GJzC_MdFVJ_84hKoiKEmZWaMjK/view?usp=sharing",
20-
// checksum: "f34d9d60f9ddb20e452300433307df7360b1c0d782a48160abf0341f72ac3956"
21-
// ),
15+
.binaryTarget(name: "TestAppIOSDK", path: "TestAppIOSDK.xcframework"),
2216
]
2317
)

TestAppIOSDK.podspec

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Pod::Spec.new do |spec|
2+
spec.name = "TestAppIODSK"
3+
spec.version = "1.0.0"
4+
spec.summary = "A feedback gathering and bug reporting SDK for testapp.io platform"
5+
spec.description = "All in one packaged integrated solution to gather feedback and report bugs during application testing."
6+
spec.homepage = "https://testapp.io"
7+
spec.documentation_url = "https://help.testapp.io/sdk-in-app-feedback/"
8+
spec.license = { :type => "Commercial", :file => "LICENSE"}
9+
spec.author = { "TestApp.io FZ-LLC" }
10+
spec.source = { :git => 'https://github.com/testappio/ios-sdk.git', :tag => "#{spec.version}" }
11+
spec.swift_version = "5.3"
12+
13+
# Supported deployment targets
14+
spec.ios.deployment_target = "11.0"
15+
16+
# Published binaries
17+
spec.vendored_frameworks = "TestAppIOSDK.xcframework"
18+
end

TestAppIOSDK.xcframework.zip

-2.53 MB
Binary file not shown.

TestAppIOSDK.xcframework/Info.plist

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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>TestAppIOSDK.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-arm64_x86_64-simulator</string>
22+
<key>LibraryPath</key>
23+
<string>TestAppIOSDK.framework</string>
24+
<key>SupportedArchitectures</key>
25+
<array>
26+
<string>arm64</string>
27+
<string>x86_64</string>
28+
</array>
29+
<key>SupportedPlatform</key>
30+
<string>ios</string>
31+
<key>SupportedPlatformVariant</key>
32+
<string>simulator</string>
33+
</dict>
34+
</array>
35+
<key>CFBundlePackageType</key>
36+
<string>XFWK</string>
37+
<key>XCFrameworkFormatVersion</key>
38+
<string>1.0</string>
39+
</dict>
40+
</plist>
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,248 @@
1+
// Generated by Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12)
2+
#ifndef TESTAPPIOSDK_SWIFT_H
3+
#define TESTAPPIOSDK_SWIFT_H
4+
#pragma clang diagnostic push
5+
#pragma clang diagnostic ignored "-Wgcc-compat"
6+
7+
#if !defined(__has_include)
8+
# define __has_include(x) 0
9+
#endif
10+
#if !defined(__has_attribute)
11+
# define __has_attribute(x) 0
12+
#endif
13+
#if !defined(__has_feature)
14+
# define __has_feature(x) 0
15+
#endif
16+
#if !defined(__has_warning)
17+
# define __has_warning(x) 0
18+
#endif
19+
20+
#if __has_include(<swift/objc-prologue.h>)
21+
# include <swift/objc-prologue.h>
22+
#endif
23+
24+
#pragma clang diagnostic ignored "-Wauto-import"
25+
#include <Foundation/Foundation.h>
26+
#include <stdint.h>
27+
#include <stddef.h>
28+
#include <stdbool.h>
29+
30+
#if !defined(SWIFT_TYPEDEFS)
31+
# define SWIFT_TYPEDEFS 1
32+
# if __has_include(<uchar.h>)
33+
# include <uchar.h>
34+
# elif !defined(__cplusplus)
35+
typedef uint_least16_t char16_t;
36+
typedef uint_least32_t char32_t;
37+
# endif
38+
typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
39+
typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
40+
typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
41+
typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
42+
typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
43+
typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
44+
typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
45+
typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
46+
typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
47+
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
48+
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
49+
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
50+
#endif
51+
52+
#if !defined(SWIFT_PASTE)
53+
# define SWIFT_PASTE_HELPER(x, y) x##y
54+
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
55+
#endif
56+
#if !defined(SWIFT_METATYPE)
57+
# define SWIFT_METATYPE(X) Class
58+
#endif
59+
#if !defined(SWIFT_CLASS_PROPERTY)
60+
# if __has_feature(objc_class_property)
61+
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
62+
# else
63+
# define SWIFT_CLASS_PROPERTY(...)
64+
# endif
65+
#endif
66+
67+
#if __has_attribute(objc_runtime_name)
68+
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
69+
#else
70+
# define SWIFT_RUNTIME_NAME(X)
71+
#endif
72+
#if __has_attribute(swift_name)
73+
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
74+
#else
75+
# define SWIFT_COMPILE_NAME(X)
76+
#endif
77+
#if __has_attribute(objc_method_family)
78+
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
79+
#else
80+
# define SWIFT_METHOD_FAMILY(X)
81+
#endif
82+
#if __has_attribute(noescape)
83+
# define SWIFT_NOESCAPE __attribute__((noescape))
84+
#else
85+
# define SWIFT_NOESCAPE
86+
#endif
87+
#if __has_attribute(ns_consumed)
88+
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
89+
#else
90+
# define SWIFT_RELEASES_ARGUMENT
91+
#endif
92+
#if __has_attribute(warn_unused_result)
93+
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
94+
#else
95+
# define SWIFT_WARN_UNUSED_RESULT
96+
#endif
97+
#if __has_attribute(noreturn)
98+
# define SWIFT_NORETURN __attribute__((noreturn))
99+
#else
100+
# define SWIFT_NORETURN
101+
#endif
102+
#if !defined(SWIFT_CLASS_EXTRA)
103+
# define SWIFT_CLASS_EXTRA
104+
#endif
105+
#if !defined(SWIFT_PROTOCOL_EXTRA)
106+
# define SWIFT_PROTOCOL_EXTRA
107+
#endif
108+
#if !defined(SWIFT_ENUM_EXTRA)
109+
# define SWIFT_ENUM_EXTRA
110+
#endif
111+
#if !defined(SWIFT_CLASS)
112+
# if __has_attribute(objc_subclassing_restricted)
113+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
114+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
115+
# else
116+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
117+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
118+
# endif
119+
#endif
120+
#if !defined(SWIFT_RESILIENT_CLASS)
121+
# if __has_attribute(objc_class_stub)
122+
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
123+
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
124+
# else
125+
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
126+
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
127+
# endif
128+
#endif
129+
130+
#if !defined(SWIFT_PROTOCOL)
131+
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
132+
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
133+
#endif
134+
135+
#if !defined(SWIFT_EXTENSION)
136+
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
137+
#endif
138+
139+
#if !defined(OBJC_DESIGNATED_INITIALIZER)
140+
# if __has_attribute(objc_designated_initializer)
141+
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
142+
# else
143+
# define OBJC_DESIGNATED_INITIALIZER
144+
# endif
145+
#endif
146+
#if !defined(SWIFT_ENUM_ATTR)
147+
# if defined(__has_attribute) && __has_attribute(enum_extensibility)
148+
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
149+
# else
150+
# define SWIFT_ENUM_ATTR(_extensibility)
151+
# endif
152+
#endif
153+
#if !defined(SWIFT_ENUM)
154+
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
155+
# if __has_feature(generalized_swift_name)
156+
# 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
157+
# else
158+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
159+
# endif
160+
#endif
161+
#if !defined(SWIFT_UNAVAILABLE)
162+
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
163+
#endif
164+
#if !defined(SWIFT_UNAVAILABLE_MSG)
165+
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
166+
#endif
167+
#if !defined(SWIFT_AVAILABILITY)
168+
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
169+
#endif
170+
#if !defined(SWIFT_WEAK_IMPORT)
171+
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
172+
#endif
173+
#if !defined(SWIFT_DEPRECATED)
174+
# define SWIFT_DEPRECATED __attribute__((deprecated))
175+
#endif
176+
#if !defined(SWIFT_DEPRECATED_MSG)
177+
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
178+
#endif
179+
#if __has_feature(attribute_diagnose_if_objc)
180+
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
181+
#else
182+
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
183+
#endif
184+
#if !defined(IBSegueAction)
185+
# define IBSegueAction
186+
#endif
187+
#if !defined(SWIFT_EXTERN)
188+
# if defined(__cplusplus)
189+
# define SWIFT_EXTERN extern "C"
190+
# else
191+
# define SWIFT_EXTERN extern
192+
# endif
193+
#endif
194+
#if __has_feature(modules)
195+
#if __has_warning("-Watimport-in-framework-header")
196+
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
197+
#endif
198+
#endif
199+
200+
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
201+
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
202+
#if __has_warning("-Wpragma-clang-attribute")
203+
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
204+
#endif
205+
#pragma clang diagnostic ignored "-Wunknown-pragmas"
206+
#pragma clang diagnostic ignored "-Wnullability"
207+
208+
#if __has_attribute(external_source_symbol)
209+
# pragma push_macro("any")
210+
# undef any
211+
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="TestAppIOSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
212+
# pragma pop_macro("any")
213+
#endif
214+
215+
216+
217+
218+
219+
220+
221+
222+
223+
224+
225+
226+
227+
228+
229+
230+
231+
232+
233+
234+
235+
236+
237+
238+
239+
240+
241+
242+
243+
244+
#if __has_attribute(external_source_symbol)
245+
# pragma clang attribute pop
246+
#endif
247+
#pragma clang diagnostic pop
248+
#endif
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License
2+
3+
Copyright (c) 2015 - 2021 Evgenii Neumerzhitckii
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
// swift-interface-format-version: 1.0
2+
// swift-compiler-version: Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12)
3+
// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name TestAppIOSDK
4+
import AVFoundation
5+
import AVKit
6+
import CoreGraphics
7+
import CoreMedia
8+
import FileProvider
9+
import Foundation
10+
import Photos
11+
import PhotosUI
12+
import ReplayKit
13+
import Security
14+
import Swift
15+
import SwiftUI
16+
import UIKit
17+
import UserNotifications
18+
import _Concurrency
19+
public struct TestAppConfiguration {
20+
public init(appId: Swift.String, apiToken: Swift.String, userId: Swift.String)
21+
}
22+
@_hasMissingDesignatedInitializers public class TestAppio {
23+
@objc deinit
24+
}
25+
extension TestAppIOSDK.TestAppio {
26+
public static func show()
27+
public static func hide()
28+
public static func setup(with configuration: TestAppIOSDK.TestAppConfiguration)
29+
@available(iOS 13.0, *)
30+
public static func setup(scene: UIKit.UIWindowScene, configuration: TestAppIOSDK.TestAppConfiguration)
31+
public static func identify(userId: Swift.String, completion: @escaping (Swift.Error?) -> ())
32+
}
33+
extension UIKit.UIControl.State : Swift.Hashable {
34+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
framework module TestAppIOSDK {
2+
header "TestAppIOSDK-Swift.h"
3+
requires objc
4+
}
Binary file not shown.

0 commit comments

Comments
 (0)