Comments (8)
Try this. Can it help ?
Workaround: add the following to the parameters for xcodebuild:
GCC_TREAT_WARNINGS_AS_ERRORS=0
from ios-tagent.
@EraChen233 , Can you help me with syntax , where to use this parameter and how?
from ios-tagent.
I changed the value of "GCC_TREAT_WARNINGS_AS_ERRORS=0 from GCC_TREAT_WARNINGS_AS_ERRORS=YES" - in file ProjectSettings.xcconfig from Configurations folder
Now I am getting this error, may be same
2019-03-27 12:53:38.252005+0700 WebDriverAgentRunner-Runner[392:30120] +[CATransaction synchronize] called within transaction
2019-03-27 12:53:38.279854+0700 WebDriverAgentRunner-Runner[392:30120] Running tests...
2019-03-27 12:53:38.331208+0700 WebDriverAgentRunner-Runner[392:30120] The bundle “WebDriverAgentRunner” couldn’t be loaded. Try reinstalling the bundle.
2019-03-27 12:53:38.331273+0700 WebDriverAgentRunner-Runner[392:30120] (dlopen(/var/containers/Bundle/Application/2EDAD69B-E921-41C8-BA18-ACCD639D32D6/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner, 265): Symbol not found: OBJC_CLASS$_XCEventGenerator
Referenced from: /private/var/containers/Bundle/Application/2EDAD69B-E921-41C8-BA18-ACCD639D32D6/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/WebDriverAgentLib
Expected in: /private/var/containers/Bundle/Application/2EDAD69B-E921-41C8-BA18-ACCD639D32D6/WebDriverAgentRunner-Runner.app/Frameworks/XCTest.framework/XCTest
in /private/var/containers/Bundle/Application/2EDAD69B-E921-41C8-BA18-ACCD639D32D6/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/WebDriverAgentLib)
from ios-tagent.
xcodebuild is a command-line tool that allows you to perform build, query, analyze, test, and archive operations on your Xcode projects and workspaces from the command line.
GCC_TREAT_WARNINGS_AS_ERRORS=0
can be added to the command line like:
Change the configuration in ProjectSettings.xcconfig may have the same effect.
I have noticed that you mentioned "Xcode-beta 12". What is that means? The latest version of Xcode is 10.2 released in Mar 26, 2019.
from ios-tagent.
@EraChen233, I changed the issue title,
yes tried the same thing
still getting the same error
I am using Xcode version 10.2
from ios-tagent.
We haven't supported the latest version of Xcode so far. Unexpected errors may occur. We suggest you to reinstall Xcode in a lower version, such as 10.1.
from ios-tagent.
ok, I will shift to Xcode 10.1
from ios-tagent.
Ok, I just switched back to Xcode version 10.1
iOS-Tagent is working fine (and as intended),
and I can connect a device to AirtestIDE without any problem
I am closing this ticket
@EraChen233 , thank you for your help and time.
from ios-tagent.
Related Issues (20)
- -[XCUIScreen screenshotDataForQuality:rect:error:]: unrecognized selector sent to instance HOT 2
- Xcode 12.5.1 版本 -[XCUIScreen screenshotDataForQuality:rect:error:]: unrecognized selector sent to instance 0x282515e00
- M1芯片MacBook点连接iOS设备没反应
- xcode12.5.1 [XCUIScreen screenshotDataForQuality:rect:error:]: unrecognized selector sent to instance
- airtest IDEA连接ios时,报XCUIScreen screenshotDataForQuality:rect:error IOS:12.4.5 xcode:11.4.1 HOT 1
- 编译成功,却无法使用? HOT 4
- 【iOS 15.0.2 + Xcode 13.1 + AirtestIDE 1.2.12】手机端已经展示Automation Runner,但是在airtest IDE上点击 iOS connect之后没有反应 HOT 1
- 尝试打开不存在的bundleid 抛出连接失败的异常
- the linked and embedded framework 'WebDriverAgentLib.framework' was built for iOS + iOS Simulator
- 'CocoaAsyncSocket.framework' was built for iOS + iOS Simulator. HOT 5
- when I use the Tagent,it came to a command nonzero problem HOT 9
- command
- 想知道对比appium的WebDriverAgent,做了哪些改动呢?
- When using "ios.alert_accept()" it's showing "wda.exceptions.WDAUnknownError: WDARequestError(status=110, value={'error': 'unknown error', 'message': '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'})" error for latest ios-target
- WDA在iPhone启动后,Mac无法通过URL连接iPhone HOT 2
- iPhone7 ios11.2 软件包已损坏或丢失必要的资源
- 执行tidevice sysinfo 会出现报错
- 使用xcodebuild构建失败
- 关于 iOS WebDriverAgent 作动问题
- 连接iOS一直提示"TypeError: string indices must be integers"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ios-tagent.