No Description

caner 5585b4ce10 wda 源文件,完善readme 2 years ago
Configurations 5585b4ce10 wda 源文件,完善readme 2 years ago
Fastlane 5585b4ce10 wda 源文件,完善readme 2 years ago
PrivateHeaders 5585b4ce10 wda 源文件,完善readme 2 years ago
Scripts 5585b4ce10 wda 源文件,完善readme 2 years ago
WebDriverAgent.xcodeproj 5585b4ce10 wda 源文件,完善readme 2 years ago
WebDriverAgentLib 5585b4ce10 wda 源文件,完善readme 2 years ago
WebDriverAgentRunner 5585b4ce10 wda 源文件,完善readme 2 years ago
WebDriverAgentTests 5585b4ce10 wda 源文件,完善readme 2 years ago
azure-templates 5585b4ce10 wda 源文件,完善readme 2 years ago
build-test 5585b4ce10 wda 源文件,完善readme 2 years ago
ci-jobs 5585b4ce10 wda 源文件,完善readme 2 years ago
lib 5585b4ce10 wda 源文件,完善readme 2 years ago
test 5585b4ce10 wda 源文件,完善readme 2 years ago
wda.xcworkspace 5585b4ce10 wda 源文件,完善readme 2 years ago
.DS_Store 5585b4ce10 wda 源文件,完善readme 2 years ago
.azure-pipelines.yml 5585b4ce10 wda 源文件,完善readme 2 years ago
.eslintignore 5585b4ce10 wda 源文件,完善readme 2 years ago
.eslintrc.json 5585b4ce10 wda 源文件,完善readme 2 years ago
.gitignore d4cb9aa6c6 Initial commit 2 years ago
.mocharc.js 5585b4ce10 wda 源文件,完善readme 2 years ago
.npmrc 5585b4ce10 wda 源文件,完善readme 2 years ago
.releaserc 5585b4ce10 wda 源文件,完善readme 2 years ago
CHANGELOG.md 5585b4ce10 wda 源文件,完善readme 2 years ago
CONTRIBUTING.md 5585b4ce10 wda 源文件,完善readme 2 years ago
Gemfile 5585b4ce10 wda 源文件,完善readme 2 years ago
LICENSE 5585b4ce10 wda 源文件,完善readme 2 years ago
PATENTS 5585b4ce10 wda 源文件,完善readme 2 years ago
README.md 5585b4ce10 wda 源文件,完善readme 2 years ago
index.js 5585b4ce10 wda 源文件,完善readme 2 years ago
package.json 5585b4ce10 wda 源文件,完善readme 2 years ago
tsconfig.json 5585b4ce10 wda 源文件,完善readme 2 years ago

README.md

将wda[https://github.com/appium/WebDriverAgent.git] 打包成 ipa[https://zhuanlan.zhihu.com/p/673319266]

1、打开Xcode,打开对应的WebDriverAgentLib | WebDriverAgentRunner,选好各项配置,填好开发者账号

2、打开Xcode,File -> Save As Workspace...

3、保存名字可以任意取,我保存的是xiaozaiTest.xcworkspace
 
4. xcodebuild build-for-testing -scheme WebDriverAgentRunner -sdk iphoneos -configuration Release -derivedDataPath ./build-test

这里需要等一小会,直到出现「TEST BUILD SUCCEEDED」,就表示成功了。

5. cd ./build-test/Build/Products/Release-iphoneos

6. mkdir Payload && cp -r *.app Payload

7. zip -r WDA.ipa Payload

参考资料

1. https://zhuanlan.zhihu.com/p/673319266
2. https://blog.csdn.net/wx17343624830/article/details/129993639