Working with karma and BrowserStack - karma-runner

I'm currently working with Karma(0.12.33) with Karma-browserstack-launcher(0.1.2), As I set up my username and accessKey, it keeps telling me Starting browser iPhone 6 (ios 6.0) on BrowserStack without running test cases, I also try some wrong username & accessKey combinations, it just tells me Starting browser iPhone 6 (ios 6.0) on BrowserStack as also.
How can I debug this? My karma.conf.js is here:https://gist.github.com/klamtlne/5e18bee9d3090d685c76

Related

Is there any way to use appium with xcode 8, iOS 10, real device

Is there any way to use appium 1.6 with xcode 8, iOS 10, real device.
Currently I am using appium 1.4 and while running it with xcode 8(swift 3 coding) , iOS 10 real device I am getting some errors and I have searched on some sites where its given that there is not any successful compatibility yet of xcode 8 with appium.
Is that true? If anyone can explain exact remark about this.
Thanks in advance
To execute the appium scripts on ios 10 devices xcode 8 is mandatory.If you have xcode 8 you can run the scripts on ios 10 simulators and also real devices.
For this you need to install appium 1.6 and this is not GUI app like appium 1.5.3. You have to launch appium 1.6.0 from terminal only.

Xcode: Cannot start the application on Device (ExperitestServer: level was set to: (3))

As I build and run the application on Xcode for installing the app on an iPhone 3GS, Xcode suddenly stops the process (before even starting the application) and logs this:
ExperitestServer: level was set to: (3)
what does this mean?
It seems that the Testing team was using ExperiTest for testing automation. It has nothing to do with Xcode. I contacted the ExperiTest.com for that matter.

purgeIdleCellConnections: found one to purge conn = 0x1d57ba00

What's going on here? This is the first time I've ever seen this in the log.
I'm connected to NTP servers.
Building on iPhone running iOS 6.0 with latest version of XCode.
Should I ignore this? It doesn't seem to be doing anything else to my app...
IMPORTANT: You will get this message only when you run the App on a real device (iPhone 4 with iOS 6.0.1). This device uses a 3G-connection, not a WIFI-connection.
I do not get this message when I run the App on the simulator or when i run the application on device with Wifi.

XCode 4.2 with iOS 6 SDK: Unable to Debug with iPhone 4

I recently upgraded my XCode 4.2 to utilize the iOS 6 SDK (Mac is too old to install Lion and XCode 4.5) following these instructions here:
Is it possible to get the iOS 5.1 SDK for Xcode 4.2 on Snow Leopard?
Everything seems to work fine (i.e. creating builds to upload to the app store with iOS 6 as the base SDK, generating builds for the customer to test, able to detect devices with iOS 6 installed).
Unfortunately, though, I get the following error when I try and run on my iPhone 4 (iOS 6) in debug mode, after attempting to switch between my simple viewControllers:
Error Starting Executable “AppName" - Error launching remote program: failed to get the task for process 453.
The process number above seems to be constantly different whenever I give it a shot. Also, the app works fine on the iOS 5 simulator or if I stop debug mode and open up the version that gets installed on my device.
Anyone have any insight into how I can solve this issue for running debug mode on my device?
Thanks in Advance!

Install iOS Apps on device without developer program, iOS 5.1

I'm trying to install my iOS app on to my device running iOS 5.1.
It's not currently jailbreaked but if that's what it takes I'll do that.
When i was running iOS 5.0.1 I followed this thread: How can I deploy an iPhone application from Xcode to a real iPhone device? and created a self-signed certificate, that worked like a charm.
I'm not able to get it working after updating to Xcode 4.3.2 and iOS 5.1
I'v also tried following this thread but with no success: Test iOS app on device without apple developer program or jailbreak
So how do I install my apps from Xcode 4.3.2 to my iPhone 4 running iOS 5.1, without being member in a developer program?
EDIT:
I am now able to get the applications on to the iPhone. But when i try to start them they crash, not even the launch image comes up. I've Jailbroken the device, installed Appsync, edited the SDKSettings.plist and changed the build properties to "Don't code Sign".
This is what the console gives me when i try to start the app, i'm not getting any crash log in Xcode:
May 8 18:25:35 unknown SpringBoard[54] <Warning>: Unable to obtain a task name port right for pid 1017: (os/kern) failure
May 8 18:25:35 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.KerschApps.Test[0x2fa8]) Exited: Killed: 9
May 8 18:25:35 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:com.KerschApps.Test[0x2fa8]) Throttling respawn: Will start in 2147483647 seconds
May 8 18:25:35 unknown SpringBoard[54] <Warning>: Application 'Test' exited abnormally with signal 9: Killed: 9
May 8 18:25:36 unknown kernel[0] <Debug>: AMFI: hook..execve() killing pid 1017: no code signature
Why are all my applications crashing in the iPhone when they run fine in the simulator?
Thanks /Tim
I've had exactly the same problem as you, getting apps running on iOS 5.1 with Xcode 4.3.2 and I've just managed to get it working almost perfectly using this method here:
Building Apps for iOS 5.1 with Xcode 4.3.2
It's based on this one from iPhone Dev wiki, but I had to include some alterations - the -gta switch results in a build error, and the instructions aren't exactly explicit. The complete tutorial is in that blog post, but the steps basically are:
Create self-signed certificate with name 'iPhone Developer'
Turn 'Code Signing Identities' in Xcode project Build Settings back on - to use your self-signed certificate 'iPhone Developer'
Change info.plist occurrences as stated
Download ldid, make executable
Create python script, stick it in /usr/bin, change python script references accordingly
Change iPhoneCodeSign.xcspec to use ldid3.py
Create tdmtanf file on device with touch over ssh
Don't put -gta flags in 'Other Code Signing Flags'
I happen to use Unity for debugging so the lack of Xcode debugging with -gta didn't bother me - obviously Objective C developers will need this functionality, so hopefully someone can expand on this if they get it working. I'm currently playing with a dev build of my app on my iPhone on 5.1, and fingers cross you can get the same result.
I don't know if you resolve your problem but I had the same that you had. I'll explain how solve.
Require:
Xcode 4.3.2, iPhone with iOS 5.1.x, Mac.
All you need is auto sign your application. All steps that you did are corrects, so when you have your application builded from Xcode you need to sign it.
Create a self certificate in keychain and then go in the folder (by terminal) where xcode compile the application, then write this:
mac$ platform=/Developer/Platforms/iPhoneOS.platform
mac$ allocate=${platform}/Developer/usr/bin/codesign_allocate
mac$ export CODESIGN_ALLOCATE=${allocate}
mac$ codesign -fs "Name" Program
where "Name" is the name of the certificate and Program is the name the Program.app (you must specify .app). The copy your app in /Applications by ssh or cyberduck or iTunes... Then respring and enjoy!
I was trying to do the same and had failed at a few points, then I found Moustafa Hassan's blog, which had the steps I successfully used.
It works fine testing with Xcode 4.6.3 on OS X 10.8.4 (on my Hackintosh) and iOS 6.1.2 on my iPad
That page contained step by step examples and pictures to do the job. It only takes about 15 minutes.
The only thing I can think of that is not listed on the page is how to access /usr/local/bin on your OS X device. That is easily done by showing hidden files in terminal[1].
[1]: defaults write com.apple.Finder AppleShowAllFiles YES