Some Macs recently received a macOS system update which disabled the simulator runtimes used by Xcode 15, including the simulators for iOS, tvOS, watchOS, and visionOS. If your Mac received this update, you will receive the following error message and will be unable to use the simulator:
The com.apple.CoreSimulator.SimRuntime.iOS-17-2 simulator runtime is not available.
Domain: com.apple.CoreSimulator.SimError
Code: 401
Failure Reason: runtime profile not found using "System" match policy
Recovery Suggestion: Download the com.apple.CoreSimulator.SimRuntime.iOS-17-2 simulator runtime from the Xcode
To resume using the simulator, please reboot your Mac. After rebooting, check Xcode Preferences → Platforms to ensure that the simulator runtime you would like to use is still installed. If it is missing, use the Get button to download it again.
The Xcode 15.3 Release Notes are also updated with this information.
Xcode
RSS for tagBuild, test, and submit your app using Xcode, Apple's integrated development environment.
Posts under Xcode tag
200 Posts
Sort by:
Post
Replies
Boosts
Views
Activity
I have added new user and they recive the welcome email and respond but allways show as pending in the admin console.
I need to install XCode on Mavericks. What is the last version of XCode that is supported on Maverics and how do I get it? Current version of XCode requires Yosemite and unfortunately don't whant upgrade to it with my iMac for now ?Which version, additional files do I have to download.By the way, I'm not a pro.
Xcode->Prefencrs->accounts>AppID;The certificate for this server is invalid. You might be connecting to a server that is pretending to be “idmsa.apple.com” which could put your confidential information at risk. How can I solve the problem?
I want to test parts of my app UI in isolation, so avoid having to drill down from the splash screen to the pages in question. My app implements deep linking, but I can't figure out how to configure XCUIApplication in the setUp() to trigger the page transition.I have a method in the app delegate called openURL() which handles this for the production app. It works great, but when I call it (below), nothing happens. If I put a breakpoint in openURL() it never even gets hit. override func setUp() {
super.setUp()
continueAfterFailure = false
XCUIApplication().launch()
guard let url = NSURL(string: "fooapp://page/3") else {
fatalError("Couldn't create URL")
}
UIApplication.sharedApplication().openURL(url)
}What I really want is to set UIApplicationLaunchOptionsURLKey in launchOptions and just let the app behave as if it received an external URL. I see launchArguments and launchEnvironment are available on XCUIApplication, but then I have to write something special to extract those values out and manually call openURL somewhere in the app delegate. What's the right way to do this?
Good Afternoon AllI'm having a problem ++Operator in loops after updating the Xcode 7.3. I have tried it in all three ways and non e of them worked after this update. those three ways are;1. x++2. x += 13. x = x + 1None of the above three work in the loops and is giving error everytime but the third of them was working before the update. Can someone assist me please.Many thanks
Heylo all,I've noticed an "issue" of sorts with scrolling through code that's really throwing me off. I don't think it was doing this before, but maybe I just never noticed? I'm not sure.The scrolling speed with the trackpad changes depending on how much scrollable content there is. That is to say, if the window only shows say 40% of the total file, scrolling speed feels like it does everywhere else in the OS. When it covers 80% or 90%, it slows way down so the same amount of physical scrolling translates to moving up or down fewer lines at a time. This change even happens live: if I open a source file in a separate window and shrink the window size, scrolling speeds up; expand it to be the full height of the monitor and it slows down again. (It's literally a difference of 3 lines vs 15 lines)It doesn't do this with a regular mouse wheel; just touch surfaces. I tried restarting, different projects, new projects, playing with the system scroll speed settings in accessibility, turning inertia off...nothing changes it.Has anyone else actively noticed this? Is there a setting to change or a "fix" for it?
Hello! I have windows pc and an iphone, I want to develop apps and use xcode... Please help me on that and what should I doThank YOU !
I found many questions on here asking for the same thing. I have tried all of them but I am still getting this error. I created everything from scratch again and was running well until I deleted the data from "DerivedData" folder and now this permissions alert error came back.I have been trying following things for a week now:I have tried copying this project to a new folder. Didn't work.I changed every permission to my folder structure to be read & write to every user.Product -> Clean.Renaming the app.Compiler for C, C++, Objective-C is "Default compiler Apple LLVM 8.0)Build Settings > Architectures -> to Standard ArchitecturesReplaced Info.plist from a newly created project.Xcode version 8.1.I see that one of the similar questions were tagged as a duplicate. But I am really stuck here for a week. I have tried everything from this answer in the StackOverflow.And a lot of others that I found online.I would really appreciate any help on this. I couldn't finish my project because of just this permission issue.Thank you in advance!
So this is very frustrating. My bundle ID is the same in the itunes connect store as it is in xcode. However, when I try and validate my archive for submission I am left with this prompt. My only thought is I had someone code this for me and I added a splash screen as well as changing the app name. I thought I made all the right corrections. Any ideas guys?
Hi I just started recently. I am trying to run my first application whic is a single view Application iOs.Once the project is created I set the build only to a generic OS device and here is the error I getA build only device cannot be used to run this target.No supported iOS devices are available. Connect a device to run your application or choose a simulated device as the destination.Please help me out.Thanks,
I am getting a new warning in XCode 9 that says "xcode 9 fixed width constraints may cause clipping". I intentionally have fixed with constraints on buttons with icons and text where I am using an icon font. In both these cases localization will not change the text thus causing clipping. Is there a way to turn this warning off? It would be nice to turn it off just for items that I have explicitly decided it needs a fixed width but I'm willing to turn it off all the time. I don't want to turn off all warnings in the storyboard because some of them are useful.Also, XCode 9 beta 5 seems to be compiling the entire project over and over again every time I build. It does this even as I'm typing and slows down simple coding tasks.
I "upgraded" to XCode 9 today, hoping that it would support the new ISO Appendix K safe string functions (it doesn't). It has always been difficult to get XCode to update a Mac application's Help Book. In the past I have been able to do it by following these instructions:Delete any other versions of the app and empty the trash.Update the Help.plistCreate a new Help.helpindex file using the Help IndexerRemove the help folder from project.Delete the system’s cached help folder using the terminal command: rm -rf ~/Library/Caches/com.apple.help*Sometimes it helps to restart your machine nowSometimes it helps to execute the termanal command rm -rf ~/Library/Caches/com.apple.help* againClean and rebuild the project without the Help folderAdd the new Help folder, clean and rebuildCheck to be sure that the new help book is addedNow this doesn't work. When I run my project with the new Help Book the Help Book window says:The selected topic is currently unavailable.The topic you were trying to view could not be found.XCode logs:2017-09-20 13:45:49.466114-0600 app[2349:187674] Entering AHRegisterHelpBookWithURL2017-09-20 13:45:49.466228-0600 app[2349:187674] Entering AHRegisterHelpBookWithURL: 0Can anyone tell me how to get XCode 9 to do this?
How to change smulator if open simulator from file<developer options<simulator i want to run my react nattive app on iphone 8 but it opening bydefault on iphone x
How get URL from image located in asset catalogbefore use:let path = Bundle.main.path(forResource: "***", ofType: "png")or let path = Bundle.main.path(forResource: "***", ofType: "png", inDirectory: "Assets.xcassets")let urlI = URL(fileURLWithPath: path!)but this cause error URL is nilHelp me please
Hello,I created a playground, in this playground, I created a class, I instantiate it, everything is fine. I create the same class in a source swift file, make my class public but ... I do not have the foundation framework methods! for example, no ... uppercased! While I have these methods in the basic playground (I also use the framework foundation). What am I doing wrong? thanks a lot for your help// Works with the Playground
import Foundation
import PlaygroundSupport
class me {
var firstName: String
var lastName: String
init(firstName: String, lastName: String) {
self.firstName = firstName
self.lastName = lastName
}
func mergeUpperCase() -> String {
return firstName.uppercased() + " " + lastName.uppercased()
}
}
// Don't work with the Swift File under Sources
import Foundation
public class Person {
public var firstName: String
public var lastName: String
public init(firName: String, lastName: String) {
self.firstName = firName
self.lastName = lastName
}
public func merge() -> String {
return firstName + " " + lastName
}
public func mergeUpperCase() -> String {
return firstName.xxxx + " " + lastName.xxxx // xxxx = no method uppercased()
}
}
My xcode keep loading after updating to Version 9.3 (9E145) I can work for 3o minutes, I have to force quit it each time it stops responding
I defined an iTunes account to Xcode, and all applications on that account started to appear in organizer. I removed the account from Xcode and I deleted these path. But It's coming back.~/Library/Developer/Xcode/Products/~/Library/Developer/Xcode/Archives/I tried it with the terminal. it didn't happen again.rm -fr ~/Library/Developer/Xcode/DerivedData/Please help me.
I have found multiple forum postings where people have asked for how they can delete or remove a Signing Certificate. Unfortunately none of them are helpful. Some respond with non-helpful questions like "Why do you want to delete your Signing Certificate?" I'll tell you why I want to delete it. It's mine and I don't want it any more. I want it gone! Others have responded to similar questions by saying to just create a new Apple ID. I don't want to do that either. I like my world clean and orderly without junk laying around, so that answer is not acceptable either. I want clear instructions on how to delete or remove a Signing Certificate. Interestingly, the option to delete it is there but it's grayed out. Why have it there if you can't delete it? Can someone please help me with this?
Pleas help me. How I can migrate my app in deployment from universal devices to only iPhone device?I can't find any solutions.
It would be extremely helpful to have indent guides like what Visual Studio has in Xcode as discussed here.Would you agree?