Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode-beta 10.2 Messaging unqualified id #33

Closed
SUDARSHANCHAUDHARI opened this issue Mar 26, 2019 · 8 comments
Closed

Xcode-beta 10.2 Messaging unqualified id #33

SUDARSHANCHAUDHARI opened this issue Mar 26, 2019 · 8 comments
Assignees

Comments

@SUDARSHANCHAUDHARI
Copy link

SUDARSHANCHAUDHARI commented Mar 26, 2019

I am facing issue about "unqualified id" with WebDriverAgentRunner .
Build is succeed but test is failing

i think it is related to this >> facebookarchive/WebDriverAgent#1089

Kindly check the log

error.txt

@EraChen233
Copy link
Member

Try this. Can it help ?

Workaround: add the following to the parameters for xcodebuild:
GCC_TREAT_WARNINGS_AS_ERRORS=0

@SUDARSHANCHAUDHARI
Copy link
Author

@EraChen233 , Can you help me with syntax , where to use this parameter and how?

@SUDARSHANCHAUDHARI
Copy link
Author

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)


@EraChen233
Copy link
Member

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:

image

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.

@SUDARSHANCHAUDHARI SUDARSHANCHAUDHARI changed the title Xcode-beta 12 Messaging unqualified id Xcode-beta 10.2 Messaging unqualified id Mar 27, 2019
@SUDARSHANCHAUDHARI
Copy link
Author

@EraChen233, I changed the issue title,
yes tried the same thing
still getting the same error

I am using Xcode version 10.2

@EraChen233
Copy link
Member

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.

@SUDARSHANCHAUDHARI
Copy link
Author

ok, I will shift to Xcode 10.1

@SUDARSHANCHAUDHARI
Copy link
Author

SUDARSHANCHAUDHARI commented Mar 27, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants