Skip to content

Commit 78310e6

Browse files
shoumikhinfacebook-github-bot
authored andcommitted
Skip building frameworks and switch to Swift PM. (#2583)
Summary: . Differential Revision: D55229068
1 parent 001cc5f commit 78310e6

File tree

3 files changed

+103
-99
lines changed

3 files changed

+103
-99
lines changed

build/test_ios.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,6 @@ say "Downloading Labels"
9797
curl https://raw.githubusercontent.com/pytorch/hub/master/imagenet_classes.txt \
9898
-o "$APP_PATH/Resources/Models/MobileNet/imagenet_classes.txt"
9999

100-
say "Building Frameworks"
101-
102-
./build/build_apple_frameworks.sh --buck2="$(realpath $BUCK2)" --coreml --mps --portable --xnnpack
103-
mv cmake-out "$APP_PATH/Frameworks"
104-
105100
say "Creating Simulator"
106101

107102
xcrun simctl create "$SIMULATOR_NAME" "iPhone 15"

build/test_ios_ci.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,6 @@ say "Downloading Labels"
5454
curl https://raw.githubusercontent.com/pytorch/hub/master/imagenet_classes.txt \
5555
-o "$APP_PATH/Resources/Models/MobileNet/imagenet_classes.txt"
5656

57-
say "Building Frameworks"
58-
59-
./build/build_apple_frameworks.sh --buck2="$(which buck2)" --flatc="$(which flatc)" --coreml --mps --portable --xnnpack
60-
mv cmake-out "$APP_PATH/Frameworks"
61-
6257
say "Creating Simulator"
6358

6459
xcrun simctl create "$SIMULATOR_NAME" "iPhone 15"

0 commit comments

Comments
 (0)