Skip to content

Commit 089d1fa

Browse files
committed
build(ios): specify our script phases always run
this removes the ambiguity of whether they need to run every time or not, which caused xcodebuild to emit a warning if ambiguous, xcodebuild runs them every time which is our desired behavior, this behavior will continue as before but now without the warning message
1 parent c6cd505 commit 089d1fa

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

packages/app/react-native.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ module.exports = {
1111
path: './ios_config.sh',
1212
execution_position: 'after_compile',
1313
input_files: ['$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)'],
14+
always_out_of_date: '1',
1415
},
1516
],
1617
},

packages/crashlytics/react-native.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ module.exports = {
2727
'${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${TARGET_NAME}',
2828
'$(SRCROOT)/$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)',
2929
],
30+
always_out_of_date: '1',
3031
},
3132
],
3233
},

tests/ios/testing.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@
245245
/* Begin PBXShellScriptBuildPhase section */
246246
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = {
247247
isa = PBXShellScriptBuildPhase;
248+
alwaysOutOfDate = 1;
248249
buildActionMask = 2147483647;
249250
files = (
250251
);
@@ -315,6 +316,7 @@
315316
};
316317
7D57265F10EEF7CD92D7973F /* Copy Detox Framework */ = {
317318
isa = PBXShellScriptBuildPhase;
319+
alwaysOutOfDate = 1;
318320
buildActionMask = 2147483647;
319321
files = (
320322
);
@@ -329,6 +331,7 @@
329331
};
330332
8512258DB46D3EF726067919 /* [CP-User] [RNFB] Crashlytics Configuration */ = {
331333
isa = PBXShellScriptBuildPhase;
334+
alwaysOutOfDate = 1;
332335
buildActionMask = 2147483647;
333336
files = (
334337
);
@@ -343,6 +346,7 @@
343346
};
344347
DAB1A184ED1FB4A446CF5BBC /* [CP-User] [RNFB] Core Configuration */ = {
345348
isa = PBXShellScriptBuildPhase;
349+
alwaysOutOfDate = 1;
346350
buildActionMask = 2147483647;
347351
files = (
348352
);

0 commit comments

Comments
 (0)