Skip to content

Commit 0fd1c5e

Browse files
chore: update lib versions to include latest changes
1 parent f5e289c commit 0fd1c5e

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

android/libs/executorch.aar

3.24 KB
Binary file not shown.

ios/ExecutorchLib.xcframework/Info.plist

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<key>BinaryPath</key>
99
<string>ExecutorchLib.framework/ExecutorchLib</string>
1010
<key>LibraryIdentifier</key>
11-
<string>ios-arm64</string>
11+
<string>ios-arm64-simulator</string>
1212
<key>LibraryPath</key>
1313
<string>ExecutorchLib.framework</string>
1414
<key>SupportedArchitectures</key>
@@ -17,12 +17,14 @@
1717
</array>
1818
<key>SupportedPlatform</key>
1919
<string>ios</string>
20+
<key>SupportedPlatformVariant</key>
21+
<string>simulator</string>
2022
</dict>
2123
<dict>
2224
<key>BinaryPath</key>
2325
<string>ExecutorchLib.framework/ExecutorchLib</string>
2426
<key>LibraryIdentifier</key>
25-
<string>ios-arm64-simulator</string>
27+
<string>ios-arm64</string>
2628
<key>LibraryPath</key>
2729
<string>ExecutorchLib.framework</string>
2830
<key>SupportedArchitectures</key>
@@ -31,8 +33,6 @@
3133
</array>
3234
<key>SupportedPlatform</key>
3335
<string>ios</string>
34-
<key>SupportedPlatformVariant</key>
35-
<string>simulator</string>
3636
</dict>
3737
</array>
3838
<key>CFBundlePackageType</key>
Binary file not shown.
Binary file not shown.

third-party/ios/ExecutorchLib/ExecutorchLib/Exported/HuggingFaceTokenizer.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ @implementation HuggingFaceTokenizer {
88
std::unique_ptr<tokenizers::Tokenizer> _tokenizer;
99
}
1010

11-
std::string LoadBytesFromFile(const std::string &path) {
11+
std::string loadBytesFromFile(const std::string &path) {
1212
std::ifstream fs(path, std::ios::in | std::ios::binary);
1313
if (fs.fail()) {
1414
exit(1);
@@ -24,7 +24,7 @@ @implementation HuggingFaceTokenizer {
2424

2525
- (NSNumber *)loadTokenizer:(NSString *)jsonPath {
2626
try {
27-
auto blob = LoadBytesFromFile([jsonPath UTF8String]);
27+
auto blob = loadBytesFromFile([jsonPath UTF8String]);
2828
_tokenizer = tokenizers::Tokenizer::FromBlobJSON(blob);
2929
} catch (const std::exception &e) {
3030
return @1;

0 commit comments

Comments
 (0)