         }
     }
 
-    func frameworksInformation() throws -> [FrameworkInformation] {
-        let frameworkFolder = try projectFolder.subfolder(atPath: "Carthage/Build/iOS")
-        let frameworks = frameworkFolder.subfolders.filter { $0.name.hasSuffix("framework") }
-        return try frameworks.map(information)
-    }
-
     public func printFrameworksInformation() throws {
         let informations = try frameworksInformation()
         informations.forEach { information in

        else {
            let file = try folder.createFile(named: name)
            try file.write(string: content)
            filelistsWereUpdated = true
            print("✅ \(file.name) was successfully added")
            try shellOut(to: "chmod -w \(file.name)", at: folder.path)
        }
        return filelistsWereUpdated
    }
}

func getEnvironmentVar(_ name: String) -> String? {
    guard let rawValue = getenv(name) else {
        return nil
    }
    return String(utf8String: rawValue)
}

struct FrameworkInformation {

    }

    // MARK: - Private

    private func frameworksInformation() throws -> [FrameworkInformation] {
        let frameworkFolder = try projectFolder.subfolder(atPath: "Carthage/Build/iOS")
        let frameworks = frameworkFolder.subfolders.filter { $0.name.hasSuffix("framework") }
        return try frameworks.map(information)
    }

    private func information(for framework: Folder) throws -> FrameworkInformation {
        let path = framework.path + framework.nameExcludingExtension
