Category "xcode"

Metal kernel function not found

I am trying to use Metal Performance Shaders with Core Image. Unfortunately, the filter code is in Objective C and I am using the bridge to make it work with th

Flutter app stuck on Installing and Launching step for physical iPhone

Annoying problem here for my Flutter app: iOS13.3, Xcode11.3 on a physical iPhoneX. The iOS-Simulators all work. The problem is only happening on a physical dev

Use Binding<Int> with a TextField SwiftUI

I am currently building a page to add player information to a local database. I have a collection of TextFields for each input which is linked to elements in a

NSOpenPanel malfunctioning

I have an app that needs to have a "choose file" function and I used a button hooked up to a function using NSOpenPanel to do that. But after I tried to add a d

Mutable Binding in SwiftUI Live Preview

I have a ChildView with a variable: @Binding var itemName: String In this ChildView I have few buttons that change value of the variable: Button(action: {

WCSession counterpart app not installed or installed throughout settings in the watch app

I have developed my watch app for my iOS App. The problem is that I need to use WCSession logic in order to send data from iOS to the AppWatch and vice versa. I

Function opaque return type was inferred as ... which defines the opaque type in terms of itself

Xcode gives the error: Function opaque return type was inferred as 'Button', which defines the opaque type in terms of itself on the line below: @State var sh

Mimic the iOS Photos APP browsing behavior with SwiftUI

I am new to SwiftUI (iOS development). I would like to mimic the iOS Photos APP browsing behavior with SwiftUI. More specifically, I want to display a photo in

Add dependency on a local swift package in Xcode 11

I am trying to add a dependency on a local swift package in my Xcode project. (I don't want to add a dependency using a file url file://me/dev/app/package as th

ERROR ITMS-90171: Invalid Bundle Structure - The binary file [CocoaPods file]

Running into this error when uploading to the App Store: ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'mobile.app/Frameworks/Pods_mobile.frame

Flutter IOS Architecture Issue in M1 Mac using VS code

I am using an M1 MacBook pro laptop and ios 13 simulator for developing a flutter app, But I am getting the below issue while trying to run the flutter app in t

Error with firebase while building on Xcode for iOS

im having some troubles building an app in xcode but the build in Unity to android works just fine. I have searched all over and none of the other solutions hel

Build error of react native run iOS on M1 Macbook

I initialized new react-native project with "react-native init ReactNStudy" for first time on my M1 Silicon Apple computer. Metro builder worked without any pro

How to create ipa file in flutter for testing purpose?

I am working in flutter and i want to create an ipa file for testing purpose. Is there any way to create ipa directly from android studio terminal? If there,wha

how to auto focus editor on Xcode

I am new on Xcode and crazy using vim mode for everything. On Xcode, whenever I switch to different tab on editor view I have to use keyboard shortcut command +

How to set xcode debugger working directory with CMake

I searched for an equivalent of VS_DEBUGGER_WORKING_DIRECTORY for xcode in cmake documentation, but I couldn't find one. If it indeed doesn't exist, how I can u

SwiftUI - create a single dashed line with SwiftUI

I need to create a single dashed line. I tried going about it by creating a Rectangle view with a dashed stroke. However, when setting the height of the rectang

Failed to load module 'project name'

I added unit test target to my existing project, but while @testable import Product_Module_Name getting error "Failed to load module 'Product_Module_Name'". I

Missing required module 'Firebase' for Unit test

i added Unit test target to existing project, when i @testable import Product_Module_Name in test class i am getting Missing required module 'Firebase' i am u

XCode 13 and iOS 11.4 Simulator

All simulators of 11 version and below are missed after updating XCode to 13 version. There is iOS 11.4 in the list of available simulators: Simulator list: Bu