Skip to content

Commit 3b1eafc

Browse files
rigor789NathanWalker
authored andcommitted
fix: xcode14 build phase files (#169)
1 parent e185014 commit 3b1eafc

File tree

4 files changed

+20
-6
lines changed

4 files changed

+20
-6
lines changed

NativeScript/NativeScript-Prefix.pch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef NativeScript_Prefix_pch
22
#define NativeScript_Prefix_pch
33

4-
#define NATIVESCRIPT_VERSION "8.3.0"
4+
#define NATIVESCRIPT_VERSION "8.3.0-alpha.0"
55

66
#ifdef DEBUG
77
#define SIZEOF_OFF_T 8

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@nativescript/ios",
33
"description": "NativeScript Runtime for iOS",
4-
"version": "8.3.0",
4+
"version": "8.3.0-alpha.0",
55
"keywords": [
66
"NativeScript",
77
"iOS",

project-template/__PROJECT_NAME__.xcodeproj/project.pbxproj

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 52;
6+
objectVersion = 54;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -221,13 +221,18 @@
221221
/* Begin PBXShellScriptBuildPhase section */
222222
C97FD7AC1ADE5369004DB2A4 /* NativeScript PreBuild */ = {
223223
isa = PBXShellScriptBuildPhase;
224+
alwaysOutOfDate = 1;
224225
buildActionMask = 2147483647;
225226
files = (
226227
);
227228
inputPaths = (
228229
);
229230
name = "NativeScript PreBuild";
230231
outputPaths = (
232+
"$CONFIGURATION_BUILD_DIR/metadata-arm64.bin",
233+
"$CONFIGURATION_BUILD_DIR/metadata-arm64e.bin",
234+
"$CONFIGURATION_BUILD_DIR/metadata-i386.bin",
235+
"$CONFIGURATION_BUILD_DIR/metadata-x86_64.bin",
231236
);
232237
runOnlyForDeploymentPostprocessing = 0;
233238
shellPath = /bin/sh;
@@ -236,6 +241,7 @@
236241
};
237242
CD3EAD351B05FF060042DBFC /* NativeScript PostBuild */ = {
238243
isa = PBXShellScriptBuildPhase;
244+
alwaysOutOfDate = 1;
239245
buildActionMask = 2147483647;
240246
files = (
241247
);
@@ -246,11 +252,12 @@
246252
);
247253
runOnlyForDeploymentPostprocessing = 0;
248254
shellPath = /bin/sh;
249-
shellScript = "\"$SRCROOT/internal/nativescript-post-build\"";
255+
shellScript = "\"$SRCROOT/internal/nativescript-post-build\"\n";
250256
showEnvVarsInLog = 0;
251257
};
252258
CD62955B1BB2651D00AE3A93 /* NativeScript PreLink */ = {
253259
isa = PBXShellScriptBuildPhase;
260+
alwaysOutOfDate = 1;
254261
buildActionMask = 2147483647;
255262
files = (
256263
);
@@ -261,7 +268,7 @@
261268
);
262269
runOnlyForDeploymentPostprocessing = 0;
263270
shellPath = /bin/sh;
264-
shellScript = "\"$SRCROOT/internal/nativescript-pre-link\"";
271+
shellScript = "\"$SRCROOT/internal/nativescript-pre-link\"\n";
265272
showEnvVarsInLog = 0;
266273
};
267274
/* End PBXShellScriptBuildPhase section */
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
#!/usr/bin/env bash
2-
#Ignore errors while inserting environment variables (some could be readonly)
2+
3+
# Ignore errors while inserting environment variables (some could be readonly)
34
(echo "set +e"; echo "set +o posix"; export; echo "set -o posix"; echo "set -e";) > ./.build_env_vars.sh
5+
6+
# create temporary empty metadata files for XCode LD/LDPLUSPLUS flag analysis
7+
for arch in $VALID_ARCHS
8+
do :
9+
touch "$CONFIGURATION_BUILD_DIR/metadata-$arch.bin"
10+
done

0 commit comments

Comments
 (0)