Skip to content

Commit 0ea54c5

Browse files
refactor: remove ETModel.h header and add description to build.sh
1 parent 4c62e14 commit 0ea54c5

File tree

6 files changed

+16
-71
lines changed

6 files changed

+16
-71
lines changed

packages/react-native-executorch/third-party/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>

packages/react-native-executorch/third-party/ios/ExecutorchLib.xcframework/ios-arm64-simulator/ExecutorchLib.framework/Headers/ETModel.h

Lines changed: 0 additions & 27 deletions
This file was deleted.

packages/react-native-executorch/third-party/ios/ExecutorchLib.xcframework/ios-arm64/ExecutorchLib.framework/Headers/ETModel.h

Lines changed: 0 additions & 27 deletions
This file was deleted.

packages/react-native-executorch/third-party/ios/ExecutorchLib/ExecutorchLib.xcodeproj/project.pbxproj

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
0E4A7F472D67549100D8DCBA /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0E4A7F442D67549100D8DCBA /* Metal.framework */; };
1111
0E4A7F482D67549100D8DCBA /* MetalPerformanceShaders.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0E4A7F452D67549100D8DCBA /* MetalPerformanceShaders.framework */; };
1212
0E4A7F492D67549100D8DCBA /* MetalPerformanceShadersGraph.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0E4A7F462D67549100D8DCBA /* MetalPerformanceShadersGraph.framework */; };
13-
5576B4B72CEF9709005027B7 /* ETModel.h in Headers */ = {isa = PBXBuildFile; fileRef = 5576B4B62CEF9705005027B7 /* ETModel.h */; settings = {ATTRIBUTES = (Public, ); }; };
1413
5576B4B92CEF970E005027B7 /* ETModel.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5576B4B82CEF970C005027B7 /* ETModel.mm */; };
1514
55EA2C572CB90E7D004315B3 /* Accelerate.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 55EA2C562CB90E7D004315B3 /* Accelerate.framework */; };
1615
55EA2C592CB90E80004315B3 /* CoreML.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 55EA2C582CB90E80004315B3 /* CoreML.framework */; };
@@ -95,23 +94,11 @@
9594
};
9695
/* End PBXGroup section */
9796

98-
/* Begin PBXHeadersBuildPhase section */
99-
55EA2C172CB90C22004315B3 /* Headers */ = {
100-
isa = PBXHeadersBuildPhase;
101-
buildActionMask = 2147483647;
102-
files = (
103-
5576B4B72CEF9709005027B7 /* ETModel.h in Headers */,
104-
);
105-
runOnlyForDeploymentPostprocessing = 0;
106-
};
107-
/* End PBXHeadersBuildPhase section */
108-
10997
/* Begin PBXNativeTarget section */
11098
55EA2C1B2CB90C22004315B3 /* ExecutorchLib */ = {
11199
isa = PBXNativeTarget;
112100
buildConfigurationList = 55EA2C232CB90C22004315B3 /* Build configuration list for PBXNativeTarget "ExecutorchLib" */;
113101
buildPhases = (
114-
55EA2C172CB90C22004315B3 /* Headers */,
115102
55EA2C182CB90C22004315B3 /* Sources */,
116103
55EA2C192CB90C22004315B3 /* Frameworks */,
117104
55EA2C1A2CB90C22004315B3 /* Resources */,

packages/react-native-executorch/third-party/ios/ExecutorchLib/build.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
#!/bin/bash
22

3+
# Builds ExecutorchLib.xcframework for iOS and iOS Simulator
4+
#
5+
# This script:
6+
# 1. Cleans previous builds
7+
# 2. Archives the framework for iOS device (arm64)
8+
# 3. Archives the framework for iOS Simulator (arm64)
9+
# 4. Combines both archives into a single .xcframework
10+
#
11+
# Output: ./output/ExecutorchLib.xcframework
12+
#
13+
# Usage: ./build.sh
14+
315
# --- Configuration ---
416
PROJECT_NAME="ExecutorchLib" # Replace with your Xcode project name
517
SCHEME_NAME="ExecutorchLib" # Replace with your scheme name

0 commit comments

Comments
 (0)