Calabash iOS: Setting location does not work - xcode

I am using set_location on Calabash iOS 0.9.169, but it does not seem to take effect.
This has worked earlier and I think might have broken after upgrading to 0.9.169.
I am using:
set_location(latitude: latitude.to_f,longitude: longitude.to_f)
But the simulator still reports either no location, or the location selected in Debug -> Location, if one is set there.
Is this a known issue ? Any workarounds or things to try ? I have debugged through the Ruby code and the uia call to set location succeeds.
Version info:
~> calabash-ios version
0.9.169
~> xcodebuild -version
Xcode 5.1.1
Build version 5B1008
Calabash framework version: 0.9.169

UPDATE FOR Xcode 7 Setting the location is broken for iOS Simulators and physical devices.
I recently investigated this issue.
I can confirm that setting the location works in iOS 7 Simulators, but does not work on physical devices.
We are tracking this issue here: https://github.com/calabash/calabash-ios/issues/377

Related

black/blank screen iOS simulator on VMware

I am having a weird issue with simulator it shows me this screen
I have searched around for a solution and have tried to reset the content and settings it didn't work
Currently, I have Xcode version 11.3 (11C29) and macOS version 10.15 beta installed. When I run the project with iPhone 11 pro 13.3 it shows me the black screen.
Unlike regular/ initial ios simulator set up, there are no apps installed by default.
I am running mac on VMware. Any kind of help is really helpful.
I was facing a similar issue, got it fixed by using the correct version of Xcode
For VMWare Catalina - 10.15 Beta(197a471t) use Xcode - 10.3
Use this site to Download Specefic Xcode from Apple -> https://xcodereleases.com
It also fixed a Assets.Xcassets problem I was facing (LaunchImage Problem), really bad the MacOS is so specific with these versions
Hope you get it fixed...
P.S for virtual Box users there is a command line fix ->https://wasaytechtips.com/springboard-quit-unexpectedly/

What is the minimum version of Xcode I can use for submission to app store

I have an app on the appstore currently that is built using Xcode 6 with a deployment target of iOS 7. The recent release Xcode 6.3, however only works on OSX 10.10
Can I submit updates to the app store by building on an earlier version of Xcode (6.2 in my case) because I am unable to update OSX to 10.10? Does Apple release documentation about this when it releases a new Xcode version? The only thing I found was this
https://developer.apple.com/library/ios/qa/qa1806/_index.html
which says that I should aim to build with the latest version of Xcode but does not mention if the app would be rejected/approved if built with a lower version.
The minimum Version of Xcode is 5.1.1 as stated in iTunesConnect when you want to upload a new binary of your app. This information does obviously include, that you can of course use Xcode 6.2 for AppStore submission.
Hope that helps :)
You can build using the lower version of the SDK within reason I believe. Some older compilers may be missing features that Apple will eventually require, but in the short term shipping with 6.2 won't really hurt much.
That said, Xcode 6.3 should include the iOS SDK. Make sure you got it from the App Store, which includes the full suite of stuff.

Run debugging on device cause Xcode 6.0.1 to crash

Yesterday i updated to the latest version of Xcode, since the update i experience a very strange glitch:
When i try to run the app on a device the Xcode start with the process and say "finish run the app on iPhone" and then the Xcode crashes.
what could cause this problem?
before the update everything worked perfect.
I was seeing this same issue and even trying to view the device from Window -> Devices would cause Xcode to crash. I updated the device to the latest version of iOS (8.0.2) and that seems to have fixed the problem (for this afternoon at least).

'app name' specifies a minimum os of version 4.3, which is too high to be installed on the iPhone. 4.2 isn't an option

'app name' specifies a minimum os of version 4.3, which is too high to be installed on the iPhone
This is the error I am receiving when I attempt to deploy my application to my iPhone, which is on the latest version, 4.2. I have searched everywhere in an attempt to find a solution to this issue, and everything simply says to change the build to target the previous OS. However...
...I do not see 4.2 as an availible option. 4.2 is the highest version I can update my iPhone to, and 4.3 is the lowest version of the SDK I have.
How can I fix this?
Just set the deployment target of the project to eg. iOS 4.0.
You only have the 4.3 SDK installed, so you can do as JustSid says and set your Deployment Target to something lower than what your device has installed.

Xcode Crash while "build and archive"

i have snow leopard 10.6.3 installed via iAtkos..everything runs good even XCode as well.I can successfully build iPhone apps run them on the simulator and the device but when i use the "build and archive" option( for adhoc distribution or itunes connect ) XCode simply crashes..does anybody have a solution for this?
thanks in advance
btw XCode version 3.2.3(tried 3.2.3 as well same result,also in safe mode)
Mac OS X version 10.6.3
I had the exact same problem, and it turned out it was caused by a variable of wrong type in info.plist. My short bundle version was created as int instead of string.
I was getting the warnings about it, but it didn't seem relevant since the crash happened only when archiving, and normal building worked fine, the app ran fine. I suggest you check your benign looking warnings, one of them could fix the issue.
You might try 3.2.4 (available now).

Resources