File tree Expand file tree Collapse file tree 4 files changed +0
-25
lines changed Expand file tree Collapse file tree 4 files changed +0
-25
lines changed Original file line number Diff line number Diff line change 19
19
framework_root = '../node_modules/instabug-reactnative/ios'
20
20
framework_name = 'Instabug.framework'
21
21
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
-
28
22
INSTABUG_UPLOAD_NAME = "Upload Sourcemap"
29
23
30
24
INSTABUG_UPLOAD_SCRIPT = <<-SCRIPTEND
Original file line number Diff line number Diff line change 14
14
framework_root = '../node_modules/instabug-reactnative/ios'
15
15
framework_name = 'Instabug.framework'
16
16
17
- INSTABUG_PHASE_NAME = "Strip Frameworks"
18
-
19
17
INSTABUG_UPLOAD_NAME = "Upload Sourcemap"
20
18
21
19
# Get useful variables
Original file line number Diff line number Diff line change 15
15
framework_root = '../node_modules/instabug-reactnative/ios'
16
16
framework_name = 'Instabug.framework'
17
17
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
-
24
18
INSTABUG_UPLOAD_NAME = "Upload Sourcemap"
25
19
26
20
INSTABUG_UPLOAD_SCRIPT = <<-SCRIPTEND
70
64
target . frameworks_build_phase . add_file_reference ( framework_ref )
71
65
build_file . settings = { 'ATTRIBUTES' => [ 'CodeSignOnCopy' , 'RemoveHeadersOnCopy' ] }
72
66
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
-
78
67
#Add New Run Script Phase to Build Phases
79
68
upload_build_phase = target . new_shell_script_build_phase ( INSTABUG_UPLOAD_NAME )
80
69
upload_build_phase . shell_script = INSTABUG_UPLOAD_SCRIPT
Original file line number Diff line number Diff line change 14
14
framework_root = '../node_modules/instabug-reactnative/ios'
15
15
framework_name = 'Instabug.framework'
16
16
17
- INSTABUG_PHASE_NAME = "Strip Frameworks"
18
-
19
17
INSTABUG_UPLOAD_NAME = "Upload Sourcemap"
20
18
21
19
# Get useful variables
44
42
# Remove framework from target from "Embedded Frameworks"
45
43
target . frameworks_build_phase . remove_file_reference ( framework_ref )
46
44
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
-
51
45
#Delete New Run Script Phase from Build Phases
52
46
shell_script_build_phase = target . shell_script_build_phases . find { |build_phase | build_phase . to_s == INSTABUG_UPLOAD_NAME }
53
47
target . build_phases . delete ( shell_script_build_phase )
You can’t perform that action at this time.
0 commit comments