Category "xcode"

Swift Switching from HTTPS to HTTP

This one's a weird one. I have a little API server that does some stuff that I want my mobile app to talk to. It has DNS and SSL correct configured, I can reach

Need to implement App Tracking Transparency?

I have the following in my AppDelegate //added these 3 methods func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions:

MVVM in TableView Cell

hope you're well, i am working on an app which uses TableView for showing feeds to user using ViewModel and my ViewModel contains a variable which contains data

Weird issues with Clang and C++, and uniform initialization

I was attempting to compile and run the example on this page that explores function pointers as a function input. The example I was running was the 66 line one

Xcode swift iOS project gives "usr/bin/python no such file or directory" error when try to build project

I am experiencing the problem after the macOS 12.3 Monterey update. I get the following error when I want to run the project. There is a code looking for "/usr/

Xcode randomly modifies my schemes content

Whenever I switch branch or trigger a build, I'm getting my xschemes modified by Xcode, it seemed to happens since the last OS version. My schemes are shared am

Export Archive with Xcode13: The data couldn’t be read because it isn’t in the correct format

Xcode 13.2.1 Exporting Archive for Development team with "Distribute App" fails Xcode 13.1 - works on the same MacBook to export IPA for development distributio

How to open google map links on apple map in wkwebview Swift?

I have an application and i am working with WKWebView. In WkWebView i have "get directions" links. When i press the "get directions" link, it must open a map. B

flutter build ios --release fatal error: module 'add_2_calendar' not found

I want to make a release for my project who work perefctly in dev mode. When I make only flutter ios build it works fine but flutter build ios --release doesn'

Package.resolved file is corrupted or malformed

I have a build error saying that all my SPM packages are missing. I decided to remove and re-add each package to the project, but each attempt at adding a packa

How to make react native app communicate with local machine (ios)

I need to know ALL the things I need to do in order to allow a react native app communicate with a local server running on my mac. (I'm running react native on

Package.resolved file is corrupted or malformed

I have a build error saying that all my SPM packages are missing. I decided to remove and re-add each package to the project, but each attempt at adding a packa

How to test receipt when Migrating iOS app from Paid to Freemium/Free in SwiftUI

I'm planning to update my app from a Paid app to a Free app with possible IAPs. I've come across the Receipt Validation, but I'm finding it very confusing. All

Error 'cannot find type 'UIHostingController' in scope'

Why could a distribution build be failed with SwiftUI? I added SwiftUI into my iOS 10+ project, and build it locally with @available(iOS 13.0, *) prefix, but wh

PhaseScriptExecution error in React Native app

Facing this error when I run react-native run-ios after creating the project Error - error Failed to build iOS project. We ran "xcodebuild" command but it exite

Selection of nested CoreData List SwiftUI

Im trying to make my List selectable so I can delete or share multiple instances! Im trying to do that, with this method: List(selection: $selection) Here's my

Why is Xcode crashing when I try to preview?

Every time I am trying to resume my preview canvas in Xcode I get this annoying error. I tried restarting, moving the project to another location, and changing

State of an instance is not updating -- SwiftUI

So I have this structure Task which has a @State completion: struct Task:Identifiable{ var id: Int @State var completion:Bool = false var priority:S

xcodebuild gives an error for multiple implementation of AMSupportURLConnectionDelegate and AMSupportURLSession : "Which one is undefined."

When I want to run any xcodebuild action it gives me the following error while the Xcode ide is working fine on Apple M1. > xcodebuild -version objc[72320]:

Get the devices list from iPhone Bluetooth , including connected and unconnected devices

The Bluetooth search page of iPhone shows these offline Bluetooth headsets. I hope to get this list and show it in my app. Can I realize this function? How? th