Giter Club home page Giter Club logo

Comments (8)

EraChen233 avatar EraChen233 commented on September 9, 2024

Try this. Can it help ?

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

from ios-tagent.

SUDARSHANCHAUDHARI avatar SUDARSHANCHAUDHARI commented on September 9, 2024

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

from ios-tagent.

SUDARSHANCHAUDHARI avatar SUDARSHANCHAUDHARI commented on September 9, 2024

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.

EraChen233 avatar EraChen233 commented on September 9, 2024

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.

from ios-tagent.

SUDARSHANCHAUDHARI avatar SUDARSHANCHAUDHARI commented on September 9, 2024

@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.

EraChen233 avatar EraChen233 commented on September 9, 2024

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.

SUDARSHANCHAUDHARI avatar SUDARSHANCHAUDHARI commented on September 9, 2024

ok, I will shift to Xcode 10.1

from ios-tagent.

SUDARSHANCHAUDHARI avatar SUDARSHANCHAUDHARI commented on September 9, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.