skip to Main Content

Xcode 13 beta: "xcrun: error: Failed to locate 'instruments'"

Please note, I'm looking for /Applications/Xcode.app/Contents/Developer/usr/bin/instruments util (lower-case), not the Instruments app which can be found in Xcode.app/Contents/Applications. I have both Xcode12 and Xcode13-beta-5 on my computer. When run xcrun instruments -w <device id>, Xcode13 says xcrun: error: Failed to…

VIEW QUESTION

Xcode – Fetch data from server swiftUI

I need to fetch data before view loads and display the data in a button text. Locations.swift class GetLocations :ObservableObject{ @Published var arrLocations = NSArray() func getLocNames(Action:String, Id: String, completion: @escaping (NSArray) -> Void){ //fetch data from server let session…

VIEW QUESTION
Back To Top
Search