Relative Content

Tag Archive for iosswiftxcode

How to find toolchain in xcode 15.0.1

Failed to build module ‘PayUCheckoutProKit’; this SDK is not supported by the compiler (the SDK is built with ‘Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)’, while this compiler is ‘Apple Swift version 5.9 (swiftlang-5.9.0.128.108 clang-1500.0.40.1)’). Please select a toolchain which matches the SDK.

Array and UserDefault

I am making a Quiz app, but I’ve gotten a bit stuck where I am now. This is the class for the quiz questions:

Archive is failing from Xcode command line tools

I’ve recently upgraded to MAC OS 14.5 and Xcode 15.3. My iOS project which was running properly on earlier Xcode versions started failing when I run archive command from command line tools. Still able to archive properly from Xcode directly.

How to persist simulated location after disconnecting iPhone from Xcode?

I want to simulate a location (longitude+latitude) on my iPhone. I created a small app in Xcode with a .gpx file containing the location, allowed location simulation and set default location for the app, then connected iPhone to Mac, ran the app on iPhone, and saw the location was being simulated on iPhone (such as with Google Maps). However, shortly after I disconnect iPhone from Mac, iPhone goes back to using its real location. Is there a way to persist the simulated location, such as until iPhone restart?