Unable to Run Webdriver Agent Runner On Xcode - ios

Error : Cannot link directly with dylib/framework, your binary is not an allowed client of /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/XCTAutomationSupport.framework/XCTAutomationSupport for architecture x86_64
Xcode Version : 14.2
Mac os Version : Ventura 13.1
Appium : 1.22.3-4

Related

Can't find app icon in react-native ios build

I installed it from react-native official site as below.
(node.js and openJDK were installed differently)
Version information
Mac OSX : Mojave 10.14.6
XCode : Version 11.0 (11A420a)
node(nvm) : 10.15
react: 16.9.0
react-native : 0.61.1
react-native-cli : 2.0.1
watchman : 4.9.0
openjdk 11.0.1 2018-10-16
OpenJDK Runtime Environment 18.9 (build 11.0.1+13)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.1+13, mixed mode)
XCode Preferences
Locations > Command Line Tools : Xcode 11.0 (11A420a)
Components > Simulator : iOS 12.2, iOS 12.1, iOS 11.1, iOS 11.0
Changed the configuration from podfile to platform: ios, '9.0' to platform: ios, '11.0 '.
code execute
react-native init rntest
react-native run-ios
(I don't see an app icon to launch.)
watchman error message
Watchman: watchman --no-pretty get-sockname returned with exit code=1, signal=null, stderr= 2019-10-03T03:19:20,686: [cli] unable to talk to your watchman on /usr/local/var/run/watchman/myname-state/sock! (No such file or directory)
What should I do to run react-native's initial app?
Do you have watchman installed properly?
What happens when you run watchman --foreground --logfile=/dev/stdout
Please try entering the following command:
chmod 0700 /usr/local/var/run/watchman/yourname-state
Don't forget to change the "yourname" to your user name or whatever you have it there!

visual studio cordova ios deploy for remote build

My problem is
Severity Code Description Project File Line Suppression State
Error Remote build error from the build server http://xxxxxx:3000/cordova - Derleme, Command to fetch XCode version failed. Your build may fail if the version installed is 8.0 or greater.
My Version:
Xcode version 7.2
Cordova version 6.3.1
Node 4.4.3
Npm 2.15
Cordova android 5.2.1
Cordova iOS 4.2.0
I had same issue previously, and I resolved it by go to my mac and accept the license agreement of xcode.
Run this in terminal : sudo xcodebuild -license and then type agree.

Xcode build errors when running Cordova run command

I am using the latest version of Cordova 6.4.0 to build an application on the iPhone (using Xcode obviously).
When I run the cordova run command to build the app I get the following errors in the terminal.
<unknown>:0: error: failed to import bridging header
'/Users/development/abc/mobapp/platforms/ios/abchq/Bridging-Header.h
** ARCHIVE FAILED **
The following build commands failed:
CompileSwiftSources normal arm64 com.apple.xcode.tools.xwift.compiler
CompileSwift normal arm64 /Users/development/abc/mobapp/platforms/ios/QuickPost/NetworkTableViewController.swift
CompileSwift normal arm64 /Users/development/abc/mobapp/platforms/ios/QuickPost/ShareViewController.swift
(3 failures)
Error: Error code 65 for command: xcodebuild with args:- xcconfig...... (a lot more info)
Can anyone suggest what could the cause of all of this - when I run this on the same machine for the Android it runs fine?? Any ideas?
My machine information is as follows:
Cordova CLI : 6.4.0
ios-deploy version : 1.9.1
ios-sim version: 5.0.13
OS : macOS Sierra
Node version : v7.1.0
Xcode version : Xcode 8.2.1 Build version 8C1002
The "Objective-C Bridging Header" setting (aka SWIFT_OBJC_BRIDGING_HEADER) must be set at the Target level, and NOT the Project level. Be sure to delete the setting value at the Project level. This should resolve the issue.
Check out this SO post for more info on this.

iOS simulator netbeans not working

When trying to run an app build in Netbeans the system gets stuck when connecting to the simulator.
this my current configuration:
OSX El capitan
Netbeans 8.1
Node.js and npm = V4.6.0 LTS
Xcode 8.0
Cordova 6.3.1
this is what the output gives, after build succeeds:
When trying to run an app build in Netbeans the system gets stuck.
this my current configuration: OSX El capitan
Netbeans 8.1
Node.js and npm = V4.6.0 LTS
Xcode 8.0
Cordova 6.3.1
this is what the output gives, after build succeeds:
build-ios-ipa: build-ios: ios-run-device: ios-run-simulator: No
matching processes belonging to you were found Result: 1 Usage of
'--family' is deprecated in 3.x. Use --devicetypeid instead. Failed to
find class DTiPhoneSimulatorSystemRoot at runtime. Result: 1 sim-ios:
BUILD SUCCESSFUL (total time: 36 seconds)

why i am getting "command failed with exit code ENOENT" when adding ios in cordova?

I am creating one cross platform app in cordova i am getting below error:
Creating ios project...
Error: C:\Users\Jay\.cordova\lib\ios\cordova\3.4.1\bin\create: Command failed wi
th exit code ENOENT
at ChildProcess.whenDone (C:\Users\Jay\AppData\Roaming\npm\node_modules\cord
ova\src\superspawn.js:126:23)
at ChildProcess.EventEmitter.emit (events.js:95:17)
at Process.ChildProcess._handle.onexit (child_process.js:795:12)
You can't add the ios platform to your cordova project from an OS other than Mac OS X.
It's because cordova needs XCode to be present so it can create an XCode project with which it will build the ios binaries.
See the official documentation here.
Relevant part :
Apple® tools required to build iOS applications run only on the OS X operating system on Intel-based Macs. Xcode® 6.0 (the minimum required version) runs only on OS X version 10.9 (Mavericks) or greater, and includes the iOS 8 SDK (Software Development Kit). To submit apps to the Apple App Store℠ requires the latest versions of the Apple tools.

Resources