AirtestProject / iOS-Tagent

iOS support agent for automation
http://airtest.netease.com/
Other
655 stars 179 forks source link

这个WebdriverAgent怎么打包成ipa? #203

Open jeniva opened 3 years ago

jeniva commented 3 years ago

现在很多电脑安装不了xcode,能不能直接别人电脑配置好证书打包成ipa给其他人安装?

EgoistInory commented 3 years ago

xcodebuild build-for-testing -workspace WebDriverAgent.xcworkspace/ -scheme WebDriverAgent -sdk iphoneos -configuration Release -derivedDataPath /tmp/derivedDataPath

jeniva commented 3 years ago

MacBook-Pro:iOS-Tagent-master autotest$ sudo xcodebuild build-for-testing -workspace /Users/autotest/Downloads/iOS-Tagent-master/WebDriverAgent.xcodeproj/project.xcworkspace/ -scheme WebDriverAgentRunner -sdk iphoneos -configuration Release -derivedDataPath /temp/ Password: User defaults from command line: IDEDerivedDataPathOverride = /temp

Build settings from command line: SDKROOT = iphoneos13.2

note: Using new build system note: Planning build note: Constructing build description error: No profile for team '7C96VW3Y8M' matching 'companyDebug' found: Xcode couldn't find any provisioning profiles matching '8C76VW3YDM/companyDebug'. Install the profile (by dragging and dropping it onto Xcode's dock item) or select a different one in the Signing & Capabilities tab of the target editor. (in target 'WebDriverAgentRunner' from project 'WebDriverAgent')

2021-02-02 19:25:36.703 xcodebuild[10586:324984] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “WebDriverAgentRunner_iphoneos13.2-arm64e.xctestrun” doesn’t exist." UserInfo={NSFilePath=/temp/Build/Products/WebDriverAgentRunner_iphoneos13.2-arm64e.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fa98ee06370 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} TEST BUILD FAILED 我通过命令执行报这个错误,证书是要放哪个路径,怎么配置?

jeniva commented 3 years ago

或者能不能每次更新工程能不能直接帮我们生成一个ipa文件,我们重签名一下?