def resources
      resources = []
      script = Pathname.new(@config.project_dir) + SUPPORT_FILES + "Pods-#{TARGET_NAME}-resources.sh"
      return resources unless File.exist?(script)
      File.open(script) { |f|
        f.each_line do |line|
          if matched = line.match(/install_resource\s+(.*)/)
            path = (matched[1].strip)[1..-2]
            if path.start_with?('${PODS_ROOT}')
              path = path.sub('${PODS_ROOT}/', '')
            end
            if path.include?("$PODS_CONFIGURATION_BUILD_DIR")
              path = File.join(".build", File.basename(path))
            end
            unless File.extname(path) == '.framework'
              resources << Pathname.new(@config.project_dir) + PODS_ROOT + path
            end
          end
        end
      }
      resources.uniq
    end
def resources
      resources = []
      script = Pathname.new(@config.project_dir) + SUPPORT_FILES + "Pods-#{TARGET_NAME}-resources.sh"
      return resources unless File.exist?(script)
      File.open(script) { |f|
        f.each_line do |line|
          if matched = line.match(/install_resource\s+(.*)/)
            path = (matched[1].strip)[1..-2]
            if path.start_with?('${PODS_ROOT}')
              path = path.sub('${PODS_ROOT}/', '')
            end
            if path.include?("$PODS_CONFIGURATION_BUILD_DIR")
              path = File.join(".build", File.basename(path))
            end
            unless File.extname(path) == '.framework'
              resources << Pathname.new(@config.project_dir) + PODS_ROOT + path
            end
          end
        end
      }
      resources.uniq
    end
Do not copy `.framework` bundles, these should be handled through RM's
 `embedded_frameworks` config attribute.