Skip to content

Commit 8e6d2e2

Browse files
fix(ios): Update xcframework without bitcode (#45)
* fix(ios): update keystore lib without bitcode * chore(release): Prepare version 2.6.8-OS28 * fix(ios): KeyStoreLib for Xcode 26 and Swift 5 * chore(ios): Sync xcframework from repo * chore(ios): Sync xcframework
1 parent 7ed7651 commit 8e6d2e2

24 files changed

+4694
-178
lines changed

CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Changelog
22
=========
33

4+
2.6.8-OS28 - 2026-02-03
5+
------------------
6+
- Fix: [iOS] Fix Bitcode error in App Store submission by re-building OSKeyStoreLib xcframework without Bitcode (https://outsystemsrd.atlassian.net/browse/RMET-4924)
7+
48
2.6.8-OS27 - 2026-01-13
59
------------------
610
- Chore: [Android] Remove unused dependencies to `oscore` and `oscordova` libs (https://outsystemsrd.atlassian.net/browse/RMET-4900)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cordova-plugin-secure-storage",
3-
"version": "2.6.8-OS27",
3+
"version": "2.6.8-OS28",
44
"description": "Secure storage plugin for iOS & Android",
55
"author": "Yiorgis Gozadinos <ggozad@crypho.com>",
66
"contributors": [

plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
33
xmlns:android="http://schemas.android.com/apk/res/android"
44
id="cordova-plugin-secure-storage"
5-
version="2.6.8-OS27">
5+
version="2.6.8-OS28">
66

77
<name>SecureStorage</name>
88
<author>Crypho AS</author>

src/ios/frameworks/OSKeyStoreLib.xcframework/Info.plist

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,35 @@
55
<key>AvailableLibraries</key>
66
<array>
77
<dict>
8+
<key>BinaryPath</key>
9+
<string>OSKeyStoreLib.framework/OSKeyStoreLib</string>
810
<key>LibraryIdentifier</key>
9-
<string>ios-arm64_x86_64-simulator</string>
11+
<string>ios-arm64</string>
1012
<key>LibraryPath</key>
1113
<string>OSKeyStoreLib.framework</string>
1214
<key>SupportedArchitectures</key>
1315
<array>
1416
<string>arm64</string>
15-
<string>x86_64</string>
1617
</array>
1718
<key>SupportedPlatform</key>
1819
<string>ios</string>
19-
<key>SupportedPlatformVariant</key>
20-
<string>simulator</string>
2120
</dict>
2221
<dict>
22+
<key>BinaryPath</key>
23+
<string>OSKeyStoreLib.framework/OSKeyStoreLib</string>
2324
<key>LibraryIdentifier</key>
24-
<string>ios-arm64</string>
25+
<string>ios-arm64_x86_64-simulator</string>
2526
<key>LibraryPath</key>
2627
<string>OSKeyStoreLib.framework</string>
2728
<key>SupportedArchitectures</key>
2829
<array>
2930
<string>arm64</string>
31+
<string>x86_64</string>
3032
</array>
3133
<key>SupportedPlatform</key>
3234
<string>ios</string>
35+
<key>SupportedPlatformVariant</key>
36+
<string>simulator</string>
3337
</dict>
3438
</array>
3539
<key>CFBundlePackageType</key>

src/ios/frameworks/OSKeyStoreLib.xcframework/ios-arm64/OSKeyStoreLib.framework/Headers/OSKeyStoreLib-Swift.h

Lines changed: 144 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
// Generated by Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12)
1+
#if 0
2+
#elif defined(__arm64__) && __arm64__
3+
// Generated by Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
24
#ifndef OSKEYSTORELIB_SWIFT_H
35
#define OSKEYSTORELIB_SWIFT_H
46
#pragma clang diagnostic push
@@ -22,16 +24,48 @@
2224
#endif
2325

2426
#pragma clang diagnostic ignored "-Wauto-import"
27+
#if defined(__OBJC__)
2528
#include <Foundation/Foundation.h>
29+
#endif
30+
#if defined(__cplusplus)
31+
#include <cstdint>
32+
#include <cstddef>
33+
#include <cstdbool>
34+
#include <cstring>
35+
#include <stdlib.h>
36+
#include <new>
37+
#include <type_traits>
38+
#else
2639
#include <stdint.h>
2740
#include <stddef.h>
2841
#include <stdbool.h>
42+
#include <string.h>
43+
#endif
44+
#if defined(__cplusplus)
45+
#pragma clang diagnostic push
46+
#pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
47+
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
48+
# include <ptrauth.h>
49+
#else
50+
#pragma clang diagnostic push
51+
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
52+
# ifndef __ptrauth_swift_value_witness_function_pointer
53+
# define __ptrauth_swift_value_witness_function_pointer(x)
54+
# endif
55+
# ifndef __ptrauth_swift_class_method_pointer
56+
# define __ptrauth_swift_class_method_pointer(x)
57+
# endif
58+
#pragma clang diagnostic pop
59+
#endif
60+
#pragma clang diagnostic pop
61+
#endif
2962

3063
#if !defined(SWIFT_TYPEDEFS)
3164
# define SWIFT_TYPEDEFS 1
3265
# if __has_include(<uchar.h>)
3366
# include <uchar.h>
3467
# elif !defined(__cplusplus)
68+
typedef unsigned char char8_t;
3569
typedef uint_least16_t char16_t;
3670
typedef uint_least32_t char32_t;
3771
# endif
@@ -60,53 +94,66 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
6094
# if __has_feature(objc_class_property)
6195
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
6296
# else
63-
# define SWIFT_CLASS_PROPERTY(...)
97+
# define SWIFT_CLASS_PROPERTY(...)
6498
# endif
6599
#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)
100+
#if !defined(SWIFT_RUNTIME_NAME)
101+
# if __has_attribute(objc_runtime_name)
102+
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
103+
# else
104+
# define SWIFT_RUNTIME_NAME(X)
105+
# endif
71106
#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)
107+
#if !defined(SWIFT_COMPILE_NAME)
108+
# if __has_attribute(swift_name)
109+
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
110+
# else
111+
# define SWIFT_COMPILE_NAME(X)
112+
# endif
76113
#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)
114+
#if !defined(SWIFT_METHOD_FAMILY)
115+
# if __has_attribute(objc_method_family)
116+
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
117+
# else
118+
# define SWIFT_METHOD_FAMILY(X)
119+
# endif
81120
#endif
82-
#if __has_attribute(noescape)
83-
# define SWIFT_NOESCAPE __attribute__((noescape))
84-
#else
85-
# define SWIFT_NOESCAPE
121+
#if !defined(SWIFT_NOESCAPE)
122+
# if __has_attribute(noescape)
123+
# define SWIFT_NOESCAPE __attribute__((noescape))
124+
# else
125+
# define SWIFT_NOESCAPE
126+
# endif
86127
#endif
87-
#if __has_attribute(ns_consumed)
88-
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
89-
#else
90-
# define SWIFT_RELEASES_ARGUMENT
128+
#if !defined(SWIFT_RELEASES_ARGUMENT)
129+
# if __has_attribute(ns_consumed)
130+
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
131+
# else
132+
# define SWIFT_RELEASES_ARGUMENT
133+
# endif
91134
#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
135+
#if !defined(SWIFT_WARN_UNUSED_RESULT)
136+
# if __has_attribute(warn_unused_result)
137+
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
138+
# else
139+
# define SWIFT_WARN_UNUSED_RESULT
140+
# endif
96141
#endif
97-
#if __has_attribute(noreturn)
98-
# define SWIFT_NORETURN __attribute__((noreturn))
99-
#else
100-
# define SWIFT_NORETURN
142+
#if !defined(SWIFT_NORETURN)
143+
# if __has_attribute(noreturn)
144+
# define SWIFT_NORETURN __attribute__((noreturn))
145+
# else
146+
# define SWIFT_NORETURN
147+
# endif
101148
#endif
102149
#if !defined(SWIFT_CLASS_EXTRA)
103-
# define SWIFT_CLASS_EXTRA
150+
# define SWIFT_CLASS_EXTRA
104151
#endif
105152
#if !defined(SWIFT_PROTOCOL_EXTRA)
106-
# define SWIFT_PROTOCOL_EXTRA
153+
# define SWIFT_PROTOCOL_EXTRA
107154
#endif
108155
#if !defined(SWIFT_ENUM_EXTRA)
109-
# define SWIFT_ENUM_EXTRA
156+
# define SWIFT_ENUM_EXTRA
110157
#endif
111158
#if !defined(SWIFT_CLASS)
112159
# if __has_attribute(objc_subclassing_restricted)
@@ -126,28 +173,25 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
126173
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
127174
# endif
128175
#endif
129-
130176
#if !defined(SWIFT_PROTOCOL)
131177
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
132178
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
133179
#endif
134-
135180
#if !defined(SWIFT_EXTENSION)
136181
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
137182
#endif
138-
139183
#if !defined(OBJC_DESIGNATED_INITIALIZER)
140184
# if __has_attribute(objc_designated_initializer)
141185
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
142186
# else
143-
# define OBJC_DESIGNATED_INITIALIZER
187+
# define OBJC_DESIGNATED_INITIALIZER
144188
# endif
145189
#endif
146190
#if !defined(SWIFT_ENUM_ATTR)
147-
# if defined(__has_attribute) && __has_attribute(enum_extensibility)
191+
# if __has_attribute(enum_extensibility)
148192
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
149193
# else
150-
# define SWIFT_ENUM_ATTR(_extensibility)
194+
# define SWIFT_ENUM_ATTR(_extensibility)
151195
# endif
152196
#endif
153197
#if !defined(SWIFT_ENUM)
@@ -176,13 +220,17 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
176220
#if !defined(SWIFT_DEPRECATED_MSG)
177221
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
178222
#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)
223+
#if !defined(SWIFT_DEPRECATED_OBJC)
224+
# if __has_feature(attribute_diagnose_if_objc)
225+
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
226+
# else
227+
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
228+
# endif
183229
#endif
230+
#if defined(__OBJC__)
184231
#if !defined(IBSegueAction)
185-
# define IBSegueAction
232+
# define IBSegueAction
233+
#endif
186234
#endif
187235
#if !defined(SWIFT_EXTERN)
188236
# if defined(__cplusplus)
@@ -191,19 +239,60 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
191239
# define SWIFT_EXTERN extern
192240
# endif
193241
#endif
194-
#if __has_feature(modules)
242+
#if !defined(SWIFT_CALL)
243+
# define SWIFT_CALL __attribute__((swiftcall))
244+
#endif
245+
#if !defined(SWIFT_INDIRECT_RESULT)
246+
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
247+
#endif
248+
#if !defined(SWIFT_CONTEXT)
249+
# define SWIFT_CONTEXT __attribute__((swift_context))
250+
#endif
251+
#if !defined(SWIFT_ERROR_RESULT)
252+
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
253+
#endif
254+
#if defined(__cplusplus)
255+
# define SWIFT_NOEXCEPT noexcept
256+
#else
257+
# define SWIFT_NOEXCEPT
258+
#endif
259+
#if !defined(SWIFT_C_INLINE_THUNK)
260+
# if __has_attribute(always_inline)
261+
# if __has_attribute(nodebug)
262+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
263+
# else
264+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
265+
# endif
266+
# else
267+
# define SWIFT_C_INLINE_THUNK inline
268+
# endif
269+
#endif
270+
#if defined(_WIN32)
271+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
272+
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
273+
#endif
274+
#else
275+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
276+
# define SWIFT_IMPORT_STDLIB_SYMBOL
277+
#endif
278+
#endif
279+
#if defined(__OBJC__)
280+
#if __has_feature(objc_modules)
195281
#if __has_warning("-Watimport-in-framework-header")
196282
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
197283
#endif
198284
#endif
199285

286+
#endif
200287
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
201288
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
202289
#if __has_warning("-Wpragma-clang-attribute")
203290
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
204291
#endif
205292
#pragma clang diagnostic ignored "-Wunknown-pragmas"
206293
#pragma clang diagnostic ignored "-Wnullability"
294+
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
295+
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
207296

208297
#if __has_attribute(external_source_symbol)
209298
# pragma push_macro("any")
@@ -212,8 +301,17 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
212301
# pragma pop_macro("any")
213302
#endif
214303

304+
#if defined(__OBJC__)
305+
306+
#endif
215307
#if __has_attribute(external_source_symbol)
216308
# pragma clang attribute pop
217309
#endif
310+
#if defined(__cplusplus)
311+
#endif
218312
#pragma clang diagnostic pop
219313
#endif
314+
315+
#else
316+
#error unsupported Swift architecture
317+
#endif
Binary file not shown.

0 commit comments

Comments
 (0)