Skip to content

Commit bc6779e

Browse files
committed
Embed bitcode into NativeScript.framework
1 parent 63bcd33 commit bc6779e

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

build_nativescript.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ echo "Building for iphone simulator"
77
xcodebuild -project v8ios.xcodeproj -target "NativeScript" -configuration Release -arch x86_64 -sdk iphonesimulator
88

99
echo "Building for ARM64 device"
10-
xcodebuild -project v8ios.xcodeproj -target "NativeScript" -configuration Release -arch arm64 -sdk iphoneos
10+
xcodebuild -project v8ios.xcodeproj -target "NativeScript" -configuration Release -arch arm64 -sdk iphoneos archive
1111

1212
echo "Creating fat library"
1313
OUTPUT_DIR="build/NativeScript.framework"

v8ios.xcodeproj/project.pbxproj

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1808,7 +1808,6 @@
18081808
);
18091809
OTHER_LDFLAGS = (
18101810
"-Wl,-search_paths_first",
1811-
"-Wl,-headerpad_max_install_names",
18121811
"-ObjC",
18131812
"-framework",
18141813
NativeScript,
@@ -1845,7 +1844,6 @@
18451844
);
18461845
OTHER_LDFLAGS = (
18471846
"-Wl,-search_paths_first",
1848-
"-Wl,-headerpad_max_install_names",
18491847
"-ObjC",
18501848
"-framework",
18511849
NativeScript,
@@ -1953,7 +1951,6 @@
19531951
);
19541952
OTHER_LDFLAGS = (
19551953
"-Wl,-search_paths_first",
1956-
"-Wl,-headerpad_max_install_names",
19571954
"-ObjC",
19581955
"-framework",
19591956
NativeScript,
@@ -1994,7 +1991,6 @@
19941991
);
19951992
OTHER_LDFLAGS = (
19961993
"-Wl,-search_paths_first",
1997-
"-Wl,-headerpad_max_install_names",
19981994
"-ObjC",
19991995
"-framework",
20001996
NativeScript,
@@ -2044,7 +2040,6 @@
20442040
OTHER_CFLAGS = "-fno-rtti";
20452041
OTHER_LDFLAGS = (
20462042
"-Wl,-search_paths_first",
2047-
"-Wl,-headerpad_max_install_names",
20482043
"-Werror",
20492044
"-Wno-unused-result",
20502045
"-fno-builtin-stpcpy",
@@ -2108,7 +2103,6 @@
21082103
OTHER_CFLAGS = "-fno-rtti";
21092104
OTHER_LDFLAGS = (
21102105
"-Wl,-search_paths_first",
2111-
"-Wl,-headerpad_max_install_names",
21122106
"-Werror",
21132107
"-Wno-unused-result",
21142108
"-fno-builtin-stpcpy",

0 commit comments

Comments
 (0)