lib/cocoapods-developing-folder/preserve_folder.rb
def add_pod_group(pod_name, path, development = false, absolute = false)
        # copy from original
        raise '[BUG]' if pod_group(pod_name)
        parent_group = development ? development_pods : pods
        # end of copy from original

        if development
            parent_group = get_parent_development_pod_group(pod_name, path)
        end
        
        # copy from original
        source_tree = absolute ? :absolute : :group
        group = parent_group.new_group(pod_name, path, source_tree)
        group.setIsPodGroup true
        group
        # end of copy from original
    end
def add_pod_group(pod_name, path, development = false, absolute = false)
        # copy from original
        raise '[BUG]' if pod_group(pod_name)
        parent_group = development ? development_pods : pods
        # end of copy from original

        if development
            parent_group = get_parent_development_pod_group(pod_name, path)
        end
        
        # copy from original
        source_tree = absolute ? :absolute : :group
        group = parent_group.new_group(pod_name, path, source_tree)
        group.setIsPodGroup true
        group
        # end of copy from original
    end
---- modified methods ----