/IOSHierarchyDumper

Primary LanguageSwiftMIT LicenseMIT

IOSHierarchyDumper

基于XCUITEST 用swift实现的类似WDA的功能

目录

安装

1. 克隆仓库

使用以下命令将仓库克隆到本地:

git clone https://github.com/letmeNo1/IOSHierarchyDumper.git

2. 打开项目

进入项目目录:

cd IOSHierarchyDumper
open dump_hierarchy.xcodeproj

或者,你也可以双击 project_name.xcodeproj 文件来打开项目

3. 配置签名设置

在Xcode中配置项目的签名设置:

在项目导航栏中选择项目。 进入 Signing & Capabilities 选项卡。 确保在 Signing 下选择了有效的团队。 0cacb5abdb80a99ae0f489a726fd1a0

4. 编译并安装包

使用快捷键 Cmd + U 或通过 Product > Test

贡献

说明如何为该项目贡献代码:

Fork 仓库 创建新分支 提交修改 提交 Pull Request

许可证

该项目基于 MIT 许可证。请查看 LICENSE 文件以获取更多信息。

IOSHierarchyDumper

Functionality similar to WebDriverAgent (WDA) implemented in Swift based on XCUITest.

Table of Contents

Installation

1. Clone the Repository

Clone the repository to your local machine using the following command:

git clone https://github.com/letmeNo1/IOSHierarchyDumper.git

2. Open the Project

Navigate to the project directory:

cd IOSHierarchyDumper
open dump_hierarchy.xcodeproj

Alternatively, you can double-click the project_name.xcodeproj file to open the project.

3. Configure Signing Settings

Configure the project's signing settings in Xcode:

Select the project in the Project Navigator. Go to the Signing & Capabilities tab. Ensure that a valid team is selected under Signing. 0cacb5abdb80a99ae0f489a726fd1a0

4. Build and Install the Package

Use the shortcut Cmd + U or go to Product > Test to build and test the project.

Contributing

To contribute to this project:

Fork the repository.

Create a new branch. Commit your changes. Submit a Pull Request. License This project is licensed under the MIT License. Please refer to the LICENSE file for more information.