iOS 11 - iOSDeviceManager unable to install DeviceAgent on the device - ios11

Test execution stops after 2-3 hours on iOS 11 devices. The same setup works fine for iOS 10 devices.
gems being used -
run_loop - 2.6.1/2.6.0/2.5.4
calabash-cucumber - 0.21.1/0.20.5
cucumber - 3.0.0.pre.2
Xcode - 9
iOS - 11.0/11.0.1/11.0.2
Below is the error message -
Could not install /Users/raenug001c/.rvm/gems/ruby-2.3.1#ios11test/gems/run_loop-2.6.1/lib/run_loop/device_agent/ipa/DeviceAgent-Runner.app. iOSDeviceManager says:
Error getting device with ID 630826b68345ba162bc2494709ff39657dd3c122: Error Domain=com.facebook.FBControlCore Code=0 “Failed to load device console entries” UserInfo={NSLocalizedDescription=Failed to load device console entries}
install <app-path>
-d,--device-id <device-identifier> iOS Simulator GUID or 40-digit physical device ID
-u,--update-app <should-update-app> [OPTIONAL] When true, will reinstall the app if the device contains an older version than the bundle specified DEFAULT=1
-p,--profile-path <profile-path> [OPTIONAL] Path to provisioning profile
-c,--codesign-identity <codesign-identifier> [OPTIONAL] Identity used to codesign app bundle [device only]. Deprecated - should use profile path. DEFAULT=
-i,--resources-path <resources-path> [OPTIONAL] Path to resources (executables) to inject into app directory. A list of colon separated files may be specified.
(RuntimeError)
/Users/raenug001c/Documents/testios11/tvx-mobile-automation/iOS/common/support/01_launch.rb:49:in `Before’
Only after the restarting the device, the tests can be executed further.
After further debugging the issue, seems like iOSDeviceManager is unable to install/launch device agent app on the device. Unable to view the source code for iOSDeviceManager, hence not able to debug further.

Related

Expo app system logs not showing console logs

I'm building an application with an expo, and I'm finding that I can't rely on Expo Go because it injects some configuration that breaks my app. I can build and run my app without Expo Go, but I can't figure out how to view the logs of the non-expo-go app.
Here's some code that does some logging:
const appId = Constants.manifest.facebookAppId;
console.log({ appId });
const permissions = ["public_profile", "email"];
await Facebook.initializeAsync({ appId, appName: "Tripvector" });
const results = await Facebook.logInWithReadPermissionsAsync({
permissions,
});
console.log({ results });
When I run my app through expo go, I see the output of appId and results.
Then, I built my application with expo build: ios, downloaded the tarball, extracted it, and installed the removed application into my simulator.
I opened up this newly installed application, and it seems to work generally, but I can't figure out how to view the logs of this application.
I've tried looking at the system logs in the simulator with cmd + /, but I only see the following:
May 21 11:28:56 forrestry syslogd[96118]: --- syslogd restarted ---
May 21 11:28:56 forrestry syslogd[96118]: Configuration Notice:
ASL Module "com.apple.contacts.ContactsAutocomplete" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
May 21 11:28:56 forrestry syslogd[96118]: Configuration Notice:
ASL Module "com.apple.clouddocs" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
May 22 08:57:02 forrestry syslogd[44981]: --- syslogd restarted ---
May 22 08:57:02 forrestry syslogd[44981]: Configuration Notice:
ASL Module "com.apple.contacts.ContactsAutocomplete" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
May 22 08:57:02 forrestry syslogd[44981]: Configuration Notice:
ASL Module "com.apple.clouddocs" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
I've also tried running tail -f ~/Library/Logs/CoreSimulator/15DF07B0-EF12-4228-BBB4-BE0EC3BB7F7D/system.log, but that gives the same result. I've also tried using the safari simulator feature, but that only shows Expo Go
Here's an image of my Safari > Develop feature menu (which doesn't embed because I'm new to StackOverflow)
How can I view the console.log output of an expo app that has been built with expo build and then installed into an iOS simulator?

Can't run my vscode project on android emulator

Everytimes i'm trying to run "npm start" in my vscode i'm getting this error in metro bundler
"Error
02:07
Couldn't start project on Android: Error running adb: No Android connected device found, and no emulators could be started automatically.
Please connect a device or create an emulator (https://docs.expo.io/workflow/android-studio-emulator).
Then follow the instructions here to enable USB debugging:
https://developer.android.com/studio/run/device.html#developer-device-options. If you are using Genymotion go to Settings -> ADB, select "Use custom Android SDK tools", and point it at your Android SDK directory."
and in android studio's log i'm getting this error
"Emulator: Warning: Quick Boot / Snapshots not supported on this machine. A CPU with EPT + UG features is currently needed. We will address this in a future release."
how to solve this issue? Thanks.

Configuring module chan_mobile using Asterisk 13 and FreePBX 12

I have just installed Asterisk 13 + FreePBX 12.0.71. I installed, also, module chan_mobile and Bluetooth drivers on my Ubuntu 14.04.2LTS Server. I've connected my Nokia C7-00 to my machine, but I have errors when loading module chan_mobile:
server*CLI> module load chan_mobile.so
[2015-07-12 15:26:54] ERROR[14478]: chan_mobile.c:4725 load_module: Errors reading config file chan_mobile.conf. Not loading module.
I tried to restart amportal and check if module is loaded
amportal restart
asterisk -rx "module show" | grep chan_mobile
And the result is:
chan_mobile.so Bluetooth Mobile Device Channel Driver 0 Not Running extended
Also, I see that file chan_mobile.conf doesn't exist.
Can someone guide me? What should I do?
I found how to find port... For others: Type in asterisk CLI:
mobile search
And if your mobile is connected you will get some info about that, also the port. For me was port 2.

BlackBerry 10 Cascades - Running app on the simulator

I am new to blackberry development and ran into this problem several times and cannot find a solution.
When I try to run an empty cascades project just with a simple HelloWorld label I get the following error
Deployment Failed: Info: Sending request: Install and Launch
Info: Action: Install and Launch
Info: Debug native: on
Info: File size: 190910
Info: Installing com.example.HelloWorld.testDev__HelloWorld7d1bfe91...
Info: Processing 190910 bytes
I'm using Momentics, VMware running BB10 Dev Alpha Sim and followed all the instructions here. http://developer.blackberry.com/cascades/documentation/getting_started/setting_up.html
I made sure my build config is set to Simulator-Debug and not even the example projects are able to run on the simulator.
Edit: I am not sure if this bit of info helps but when I try to run the application, the Progress hangs at 91% before the error dialog appears.
May be you are not setting the development Mode (like current Development Mode Simulator or Device) . I also getting the issue that Project Compile but not able to run on virtual Machine , today I sort the issue . check out the link http://supportforums.blackberry.com/t5/Native-Development/BB10-Native-Cascades-SDK-not-connecting-to-Alpha-BB10-simulator/td-p/1719865/page/5

Apache Tomcat 6.0 IIS 5.1 isapi redirector error "The request is not supported."

I am facing this problem since many days, scratched each n every piece of code again n again, but couldn't rectify it...
I ve installed Apache Tomcat 6.0 on windows XP- service pack 3 & Enabled IIS 5.1.
Tomcat is running on port 8080 and iis is running on port 80.
I ve struts application which uses SMTP service of IIS...
WORKER.PROPERTIES which i've kept in [TOMCAT]/conf/ is as follows
worker.list=wlb,jkstatus,wlb1
worker.ajp13w.type=ajp13
worker.ajp13w.host=localhost
worker.ajp13w.port=8009
worker.ajp13w1.type=ajp13
worker.ajp13w1.host=192.168.1.87
worker.ajp13w1.port=8009
worker.wlb.type=lb
worker.wlb.balance_workers=ajp13w
worker.wlb1.balance_workers=ajp13w1
worker.jkstatus.type=status
URIWORKERMAP.PROPERTIES is as follows
/admin/*=wlb
/manager/*=wlb
/examples/*=wlb
/jkmanager=jkstatus
I've done changes in regedit. Screen shot of REGISTRY EDITORS is as follows.
I've placed isapi_redirector in /bin directory.
Added a virtual directory pointing to /bin and named as jakarta.
Added isapi filter and it is showing as per the below attachment...
When I enter http://localhost:8080/examples/ in my browser I will get the result.
But when I enter http://localhost/examples/ I am getting an error "The request is not supported."
I am not getting how to trace.

Resources