File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 31
31
32
32
# Add Instabug to every target that is of type application
33
33
targets . each do |target |
34
- if target . is_a? Xcodeproj ::Project ::Object ::PBXNativeTarget and ( target . product_type == "com.apple.product-type.application" ) and ( target . platform_name == :ios )
34
+ if target . is_a? Xcodeproj ::Project ::Object ::PBXNativeTarget && ( target . product_type == "com.apple.product-type.application" ) && ( target . platform_name == :ios )
35
35
36
36
# Add new "Embed Frameworks" build phase to target
37
37
embed_frameworks_build_phase = target . build_phases . find { |build_phase | build_phase . to_s == 'Embed Instabug Framework' }
Original file line number Diff line number Diff line change 27
27
28
28
# Remove Instabug to every target that is of type application
29
29
targets . each do |target |
30
- if target . is_a? Xcodeproj ::Project ::Object ::PBXNativeTarget and ( target . product_type == "com.apple.product-type.application" ) and ( target . platform_name == :ios )
30
+ if target . is_a? Xcodeproj ::Project ::Object ::PBXNativeTarget && ( target . product_type == "com.apple.product-type.application" ) && ( target . platform_name == :ios )
31
31
32
32
# Remove "Embed Frameworks" build phase to target
33
33
embed_frameworks_build_phase = target . build_phases . find { |build_phase | build_phase . to_s == 'Embed Instabug Framework' }
You can’t perform that action at this time.
0 commit comments