Skip to content

Commit 9413ed6

Browse files
Remove Strip Frameworks build phase
1 parent 11381c5 commit 9413ed6

File tree

4 files changed

+0
-25
lines changed

4 files changed

+0
-25
lines changed

autolink.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@
1919
framework_root = '../node_modules/instabug-reactnative/ios'
2020
framework_name = 'Instabug.framework'
2121

22-
INSTABUG_PHASE_NAME = "Strip Frameworks"
23-
24-
INSTABUG_PHASE_SCRIPT = <<-SCRIPTEND
25-
bash "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/Instabug.framework/strip-frameworks.sh"
26-
SCRIPTEND
27-
2822
INSTABUG_UPLOAD_NAME = "Upload Sourcemap"
2923

3024
INSTABUG_UPLOAD_SCRIPT = <<-SCRIPTEND

autounlink.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
framework_root = '../node_modules/instabug-reactnative/ios'
1515
framework_name = 'Instabug.framework'
1616

17-
INSTABUG_PHASE_NAME = "Strip Frameworks"
18-
1917
INSTABUG_UPLOAD_NAME = "Upload Sourcemap"
2018

2119
# Get useful variables

link.rb

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@
1515
framework_root = '../node_modules/instabug-reactnative/ios'
1616
framework_name = 'Instabug.framework'
1717

18-
INSTABUG_PHASE_NAME = "Strip Frameworks"
19-
20-
INSTABUG_PHASE_SCRIPT = <<-SCRIPTEND
21-
bash "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/Instabug.framework/strip-frameworks.sh"
22-
SCRIPTEND
23-
2418
INSTABUG_UPLOAD_NAME = "Upload Sourcemap"
2519

2620
INSTABUG_UPLOAD_SCRIPT = <<-SCRIPTEND
@@ -70,11 +64,6 @@
7064
target.frameworks_build_phase.add_file_reference(framework_ref)
7165
build_file.settings = { 'ATTRIBUTES' => ['CodeSignOnCopy', 'RemoveHeadersOnCopy'] }
7266

73-
74-
#Add New Run Script Phase to Build Phases
75-
phase = target.new_shell_script_build_phase(INSTABUG_PHASE_NAME)
76-
phase.shell_script = INSTABUG_PHASE_SCRIPT
77-
7867
#Add New Run Script Phase to Build Phases
7968
upload_build_phase = target.new_shell_script_build_phase(INSTABUG_UPLOAD_NAME)
8069
upload_build_phase.shell_script = INSTABUG_UPLOAD_SCRIPT

unlink.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
framework_root = '../node_modules/instabug-reactnative/ios'
1515
framework_name = 'Instabug.framework'
1616

17-
INSTABUG_PHASE_NAME = "Strip Frameworks"
18-
1917
INSTABUG_UPLOAD_NAME = "Upload Sourcemap"
2018

2119
# Get useful variables
@@ -44,10 +42,6 @@
4442
# Remove framework from target from "Embedded Frameworks"
4543
target.frameworks_build_phase.remove_file_reference(framework_ref)
4644

47-
#Delete New Run Script Phase from Build Phases
48-
shell_script_build_phase = target.shell_script_build_phases.find { |build_phase| build_phase.to_s == INSTABUG_PHASE_NAME }
49-
target.build_phases.delete(shell_script_build_phase)
50-
5145
#Delete New Run Script Phase from Build Phases
5246
shell_script_build_phase = target.shell_script_build_phases.find { |build_phase| build_phase.to_s == INSTABUG_UPLOAD_NAME }
5347
target.build_phases.delete(shell_script_build_phase)

0 commit comments

Comments
 (0)