File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 3131
3232# Add Instabug to every target that is of type application
3333targets . 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 )
3535
3636 # Add new "Embed Frameworks" build phase to target
3737 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 2727
2828# Remove Instabug to every target that is of type application
2929targets . 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 )
3131
3232 # Remove "Embed Frameworks" build phase to target
3333 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