-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 8fca02a
Showing
15 changed files
with
2,060 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'FeatureProbe' | ||
s.version = '1.0.1' | ||
s.license = { :type => 'MIT' } | ||
s.homepage = 'https://www.featureprobe.com/' | ||
s.summary = 'iOS feature probe SDK' | ||
s.source = { :git => 'git@github.com:FeatureProbe/client-sdk-ios.git', :tag => s.version } | ||
s.source_files = 'Sources/**/*.swift' | ||
s.authors = 'FeatreProbeTeam' | ||
|
||
s.platform = :ios, '9.0' | ||
s.pod_target_xcconfig = { 'VALID_ARCHS' => 'x86_64 arm64' } | ||
s.swift_versions = ['4.0', '4.2', '5.0', '5.5'] | ||
s.vendored_frameworks = "FeatureProbeFFI.xcframework" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>AvailableLibraries</key> | ||
<array> | ||
<dict> | ||
<key>LibraryIdentifier</key> | ||
<string>ios-arm64</string> | ||
<key>LibraryPath</key> | ||
<string>FeatureProbeFFI.framework</string> | ||
<key>SupportedArchitectures</key> | ||
<array> | ||
<string>arm64</string> | ||
</array> | ||
<key>SupportedPlatform</key> | ||
<string>ios</string> | ||
</dict> | ||
<dict> | ||
<key>LibraryIdentifier</key> | ||
<string>ios-arm64_x86_64-simulator</string> | ||
<key>LibraryPath</key> | ||
<string>FeatureProbeFFI.framework</string> | ||
<key>SupportedArchitectures</key> | ||
<array> | ||
<string>arm64</string> | ||
<string>x86_64</string> | ||
</array> | ||
<key>SupportedPlatform</key> | ||
<string>ios</string> | ||
<key>SupportedPlatformVariant</key> | ||
<string>simulator</string> | ||
</dict> | ||
</array> | ||
<key>CFBundlePackageType</key> | ||
<string>XFWK</string> | ||
<key>XCFrameworkFormatVersion</key> | ||
<string>1.0</string> | ||
</dict> | ||
</plist> |
Binary file added
BIN
+21.2 MB
FeatureProbeFFI.xcframework/ios-arm64/FeatureProbeFFI.framework/FeatureProbeFFI
Binary file not shown.
140 changes: 140 additions & 0 deletions
140
FeatureProbeFFI.xcframework/ios-arm64/FeatureProbeFFI.framework/Headers/FeatureProbeFFI.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,140 @@ | ||
// This file was autogenerated by some hot garbage in the `uniffi` crate. | ||
// Trust me, you don't want to mess with it! | ||
|
||
#pragma once | ||
|
||
#include <stdbool.h> | ||
#include <stdint.h> | ||
|
||
// The following structs are used to implement the lowest level | ||
// of the FFI, and thus useful to multiple uniffied crates. | ||
// We ensure they are declared exactly once, with a header guard, UNIFFI_SHARED_H. | ||
#ifdef UNIFFI_SHARED_H | ||
// We also try to prevent mixing versions of shared uniffi header structs. | ||
// If you add anything to the #else block, you must increment the version suffix in UNIFFI_SHARED_HEADER_V4 | ||
#ifndef UNIFFI_SHARED_HEADER_V4 | ||
#error Combining helper code from multiple versions of uniffi is not supported | ||
#endif // ndef UNIFFI_SHARED_HEADER_V4 | ||
#else | ||
#define UNIFFI_SHARED_H | ||
#define UNIFFI_SHARED_HEADER_V4 | ||
// ⚠️ Attention: If you change this #else block (ending in `#endif // def UNIFFI_SHARED_H`) you *must* ⚠️ | ||
// ⚠️ increment the version suffix in all instances of UNIFFI_SHARED_HEADER_V4 in this file. ⚠️ | ||
|
||
typedef struct RustBuffer | ||
{ | ||
int32_t capacity; | ||
int32_t len; | ||
uint8_t *_Nullable data; | ||
} RustBuffer; | ||
|
||
typedef int32_t (*ForeignCallback)(uint64_t, int32_t, RustBuffer, RustBuffer *_Nonnull); | ||
|
||
typedef struct ForeignBytes | ||
{ | ||
int32_t len; | ||
const uint8_t *_Nullable data; | ||
} ForeignBytes; | ||
|
||
// Error definitions | ||
typedef struct RustCallStatus { | ||
int8_t code; | ||
RustBuffer errorBuf; | ||
} RustCallStatus; | ||
|
||
// ⚠️ Attention: If you change this #else block (ending in `#endif // def UNIFFI_SHARED_H`) you *must* ⚠️ | ||
// ⚠️ increment the version suffix in all instances of UNIFFI_SHARED_HEADER_V4 in this file. ⚠️ | ||
#endif // def UNIFFI_SHARED_H | ||
|
||
void ffi_featureprobe_17ce_FeatureProbe_object_free( | ||
void*_Nonnull ptr, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
void*_Nonnull featureprobe_17ce_FeatureProbe_new( | ||
void*_Nonnull config,void*_Nonnull user, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
int8_t featureprobe_17ce_FeatureProbe_bool_value( | ||
void*_Nonnull ptr,RustBuffer key,int8_t default_value, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
RustBuffer featureprobe_17ce_FeatureProbe_bool_detail( | ||
void*_Nonnull ptr,RustBuffer key,int8_t default_value, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
double featureprobe_17ce_FeatureProbe_number_value( | ||
void*_Nonnull ptr,RustBuffer key,double default_value, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
RustBuffer featureprobe_17ce_FeatureProbe_number_detail( | ||
void*_Nonnull ptr,RustBuffer key,double default_value, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
RustBuffer featureprobe_17ce_FeatureProbe_string_value( | ||
void*_Nonnull ptr,RustBuffer key,RustBuffer default_value, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
RustBuffer featureprobe_17ce_FeatureProbe_string_detail( | ||
void*_Nonnull ptr,RustBuffer key,RustBuffer default_value, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
RustBuffer featureprobe_17ce_FeatureProbe_json_value( | ||
void*_Nonnull ptr,RustBuffer key,RustBuffer default_value, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
RustBuffer featureprobe_17ce_FeatureProbe_json_detail( | ||
void*_Nonnull ptr,RustBuffer key,RustBuffer default_value, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
void ffi_featureprobe_17ce_FPUser_object_free( | ||
void*_Nonnull ptr, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
void*_Nonnull featureprobe_17ce_FPUser_new( | ||
RustBuffer key, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
void featureprobe_17ce_FPUser_set_attr( | ||
void*_Nonnull ptr,RustBuffer key,RustBuffer value, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
void ffi_featureprobe_17ce_FPUrl_object_free( | ||
void*_Nonnull ptr, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
void ffi_featureprobe_17ce_FPUrlBuilder_object_free( | ||
void*_Nonnull ptr, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
void*_Nonnull featureprobe_17ce_FPUrlBuilder_new( | ||
RustBuffer remote_url, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
RustBuffer featureprobe_17ce_FPUrlBuilder_build( | ||
void*_Nonnull ptr, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
void ffi_featureprobe_17ce_FPConfig_object_free( | ||
void*_Nonnull ptr, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
void*_Nonnull featureprobe_17ce_FPConfig_new( | ||
void*_Nonnull remote_url,RustBuffer client_sdk_key,uint8_t refresh_interval,int8_t wait_first_resp, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
RustBuffer ffi_featureprobe_17ce_rustbuffer_alloc( | ||
int32_t size, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
RustBuffer ffi_featureprobe_17ce_rustbuffer_from_bytes( | ||
ForeignBytes bytes, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
void ffi_featureprobe_17ce_rustbuffer_free( | ||
RustBuffer buf, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
RustBuffer ffi_featureprobe_17ce_rustbuffer_reserve( | ||
RustBuffer buf,int32_t additional, | ||
RustCallStatus *_Nonnull out_status | ||
); |
6 changes: 6 additions & 0 deletions
6
...robeFFI.xcframework/ios-arm64/FeatureProbeFFI.framework/Headers/FeatureProbeFFI.modulemap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// This file was autogenerated by some hot garbage in the `uniffi` crate. | ||
// Trust me, you don't want to mess with it! | ||
module FeatureProbeFFI { | ||
header "FeatureProbeFFI.h" | ||
export * | ||
} |
6 changes: 6 additions & 0 deletions
6
FeatureProbeFFI.xcframework/ios-arm64/FeatureProbeFFI.framework/Modules/module.modulemap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
framework module FeatureProbeFFI { | ||
umbrella header "FeatureprobeFFI.h" | ||
|
||
export * | ||
module * { export * } | ||
} |
Binary file added
BIN
+30.1 MB
...ProbeFFI.xcframework/ios-arm64_x86_64-simulator/FeatureProbeFFI.framework/FeatureProbeFFI
Binary file not shown.
140 changes: 140 additions & 0 deletions
140
...cframework/ios-arm64_x86_64-simulator/FeatureProbeFFI.framework/Headers/FeatureProbeFFI.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,140 @@ | ||
// This file was autogenerated by some hot garbage in the `uniffi` crate. | ||
// Trust me, you don't want to mess with it! | ||
|
||
#pragma once | ||
|
||
#include <stdbool.h> | ||
#include <stdint.h> | ||
|
||
// The following structs are used to implement the lowest level | ||
// of the FFI, and thus useful to multiple uniffied crates. | ||
// We ensure they are declared exactly once, with a header guard, UNIFFI_SHARED_H. | ||
#ifdef UNIFFI_SHARED_H | ||
// We also try to prevent mixing versions of shared uniffi header structs. | ||
// If you add anything to the #else block, you must increment the version suffix in UNIFFI_SHARED_HEADER_V4 | ||
#ifndef UNIFFI_SHARED_HEADER_V4 | ||
#error Combining helper code from multiple versions of uniffi is not supported | ||
#endif // ndef UNIFFI_SHARED_HEADER_V4 | ||
#else | ||
#define UNIFFI_SHARED_H | ||
#define UNIFFI_SHARED_HEADER_V4 | ||
// ⚠️ Attention: If you change this #else block (ending in `#endif // def UNIFFI_SHARED_H`) you *must* ⚠️ | ||
// ⚠️ increment the version suffix in all instances of UNIFFI_SHARED_HEADER_V4 in this file. ⚠️ | ||
|
||
typedef struct RustBuffer | ||
{ | ||
int32_t capacity; | ||
int32_t len; | ||
uint8_t *_Nullable data; | ||
} RustBuffer; | ||
|
||
typedef int32_t (*ForeignCallback)(uint64_t, int32_t, RustBuffer, RustBuffer *_Nonnull); | ||
|
||
typedef struct ForeignBytes | ||
{ | ||
int32_t len; | ||
const uint8_t *_Nullable data; | ||
} ForeignBytes; | ||
|
||
// Error definitions | ||
typedef struct RustCallStatus { | ||
int8_t code; | ||
RustBuffer errorBuf; | ||
} RustCallStatus; | ||
|
||
// ⚠️ Attention: If you change this #else block (ending in `#endif // def UNIFFI_SHARED_H`) you *must* ⚠️ | ||
// ⚠️ increment the version suffix in all instances of UNIFFI_SHARED_HEADER_V4 in this file. ⚠️ | ||
#endif // def UNIFFI_SHARED_H | ||
|
||
void ffi_featureprobe_17ce_FeatureProbe_object_free( | ||
void*_Nonnull ptr, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
void*_Nonnull featureprobe_17ce_FeatureProbe_new( | ||
void*_Nonnull config,void*_Nonnull user, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
int8_t featureprobe_17ce_FeatureProbe_bool_value( | ||
void*_Nonnull ptr,RustBuffer key,int8_t default_value, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
RustBuffer featureprobe_17ce_FeatureProbe_bool_detail( | ||
void*_Nonnull ptr,RustBuffer key,int8_t default_value, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
double featureprobe_17ce_FeatureProbe_number_value( | ||
void*_Nonnull ptr,RustBuffer key,double default_value, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
RustBuffer featureprobe_17ce_FeatureProbe_number_detail( | ||
void*_Nonnull ptr,RustBuffer key,double default_value, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
RustBuffer featureprobe_17ce_FeatureProbe_string_value( | ||
void*_Nonnull ptr,RustBuffer key,RustBuffer default_value, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
RustBuffer featureprobe_17ce_FeatureProbe_string_detail( | ||
void*_Nonnull ptr,RustBuffer key,RustBuffer default_value, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
RustBuffer featureprobe_17ce_FeatureProbe_json_value( | ||
void*_Nonnull ptr,RustBuffer key,RustBuffer default_value, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
RustBuffer featureprobe_17ce_FeatureProbe_json_detail( | ||
void*_Nonnull ptr,RustBuffer key,RustBuffer default_value, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
void ffi_featureprobe_17ce_FPUser_object_free( | ||
void*_Nonnull ptr, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
void*_Nonnull featureprobe_17ce_FPUser_new( | ||
RustBuffer key, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
void featureprobe_17ce_FPUser_set_attr( | ||
void*_Nonnull ptr,RustBuffer key,RustBuffer value, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
void ffi_featureprobe_17ce_FPUrl_object_free( | ||
void*_Nonnull ptr, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
void ffi_featureprobe_17ce_FPUrlBuilder_object_free( | ||
void*_Nonnull ptr, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
void*_Nonnull featureprobe_17ce_FPUrlBuilder_new( | ||
RustBuffer remote_url, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
RustBuffer featureprobe_17ce_FPUrlBuilder_build( | ||
void*_Nonnull ptr, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
void ffi_featureprobe_17ce_FPConfig_object_free( | ||
void*_Nonnull ptr, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
void*_Nonnull featureprobe_17ce_FPConfig_new( | ||
void*_Nonnull remote_url,RustBuffer client_sdk_key,uint8_t refresh_interval,int8_t wait_first_resp, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
RustBuffer ffi_featureprobe_17ce_rustbuffer_alloc( | ||
int32_t size, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
RustBuffer ffi_featureprobe_17ce_rustbuffer_from_bytes( | ||
ForeignBytes bytes, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
void ffi_featureprobe_17ce_rustbuffer_free( | ||
RustBuffer buf, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
RustBuffer ffi_featureprobe_17ce_rustbuffer_reserve( | ||
RustBuffer buf,int32_t additional, | ||
RustCallStatus *_Nonnull out_status | ||
); |
6 changes: 6 additions & 0 deletions
6
...rk/ios-arm64_x86_64-simulator/FeatureProbeFFI.framework/Headers/FeatureProbeFFI.modulemap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// This file was autogenerated by some hot garbage in the `uniffi` crate. | ||
// Trust me, you don't want to mess with it! | ||
module FeatureProbeFFI { | ||
header "FeatureProbeFFI.h" | ||
export * | ||
} |
6 changes: 6 additions & 0 deletions
6
...xcframework/ios-arm64_x86_64-simulator/FeatureProbeFFI.framework/Modules/module.modulemap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
framework module FeatureProbeFFI { | ||
umbrella header "FeatureprobeFFI.h" | ||
|
||
export * | ||
module * { export * } | ||
} |
Oops, something went wrong.