Category "xcode"

Cannot find type 'PiPViewCoordinator' in scope

I am getting following error when i install JitsiMeetSDK in flutter but i am unable to run app. Can somebody suggest me how can i resolve this issue? I am usin

Flutter build iOS got error: Requested but did not find extension point with identifier

I just upgraded to Xcode 13.3-beta, running a flutter project got this error: Error output from Xcode build: ↳ 2022-03-02 17:45:38.148 xcodebuild[6284

SwiftUI edges visible after using overlay

I'm trying to create rounded edges in one of my views using overlay. .background(Color.gray.opacity(0.2)) .overlay( RoundedRectangle(cornerRadius: 10)

Xcode 13 crashing when adding a dictionary to the Info.plist from a target

Xcode Version 13.3 beta 3 (13E5104i) or Version 13.2.1 (13C100) When I add a dictionary to the Info.plist file from the Info tab in the project (for example wit

SwiftUI Get Coordinates of TextField or any View

I'm struggling to find a way in SwiftUI to get the x,y coordinates of the origin of a TextField (or any view). I can certainly provide a position or offset to m

QLPreviewController missing navigation bar in SwiftUI

QLPreviewController navigation bar missing when I presented in sheet. It looks like this : How can I show up top navigation bar or navigationItem? QuickLook

SwiftUI: How to center a view vertically and horizontally inside of a container view and put something under it

I searched stackoverflow, but unfortunately didn't find a solution to this particular case. I try to display following scenario: a container view a Text that

How to create a delay in Swift?

I want to pause my app at a certain in point. In other words, I want my app to execute the code, but then at a certain point, pause for 4 seconds, and then cont

Apple Push Service certificate is not trusted

I have recently created an Apple Push Service certificate on my M1 mac mini. In the Keychain, it says the certificate is not trusted. I have installed the Deve

Couldn't locate otool-classic while running ipatool

Running ipatool errors out. xcrun ipatool ~/app.ipa --output=foo --info --json=foo/ipatool.info.json It prints the following error "alerts": [ {

Where is the "Canvas" option in Xcode?

I'm new to Xcode and when reading a tutorial, it tells me to do this in my storyboard file: First, click on the view controller and go to Editor > Canvas &g

Xcode 13 on Catalina

I downloaded Xcode 13.2.1 from Xcode Releases but as it is not supported for macOS Catalina I cannot install it. Are there any ways around this, other than to f

How to disable SwiftUI animations in UITests?

I tried to disable animation in UITests with the following code: let app = XCUIApplication() app.launchEnvironment = ["DISABLE_ANIMATIONS": "1"] I also tried

Cocoapods Warning - CocoaPods did not set the base configuration of your project because because your project already has a custom config set

After I execute a pod install at the base of my project, I get the following error: CocoaPods did not set the base configuration of your project because bec

Importing Project-Swift.h into a Objective-C class...file not found

I have a project that was started in Objective-C, and I am trying to import some Swift code into the same class files that I have previously written Objective-C

React Native - FBReactNativeSpec Command PhaseScriptExecution failed with a nonzero exit code

I am using a MacBook Pro with M1 chip MacOS Big Sur Xcode Version 13.2.1 node v14.17.5 I wanted to follow this tutorial to set up a new React Native project cal

CLLocationDegrees to String variable in Swift

Given that the code var latitude = userLocation.coordinate.latitude returns a CLLocationDegrees Object, how can I store the value in to a variable so that I

How to run Xcode Build Server under Rosetta?

I have a configured Xcode Server on an M1 mac mini. Due to some issues which are outside of the scope of the question, I have to run the server so it builds the

SwiftUI customized text field in OSX

I am creating a edit view in SwiftUI for Mac OSX. A user can change his profile. At the moment I am using default Text() elements to view his current values/set

Swift - Remove " character from string

I have a string which is "Optional("5")". I need to remove the "" surrounding the 5. I have removed the 'Optional' by doing: text2 = text2.stringByReplacingO