Hello, I am very new to Xcode and trying to build and run a simple project that installs and runs a VM. The sample code is provided by apple at https://developer.apple.com/documentation/virtualization/running_macos_in_a_virtual_machine_on_apple_silicon_macs The code has two apps. One that installs the bundle and another that runs it. I am able to create the bundle but don't know how to run the app macOSVirtualMachineSampleApp. Every time I start run I get the following. create VM.bundle: the base directory already exists. Which means I am running InstallationTool app every time. How do I run the macOSVirtualMachineSampleApp? I can see that in products folder both apps have been created but I only see Installationtool command line tool when I go to that location.
Search results for
show when run
112,693 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I’m trying to create complications für the Watch using the new WidgetKit. While the complications do show up fine in the preview in Xcode and also in the Simulator, on a real device the complications do never shown anything. The complications are listed and can be selected in the watch face settings, but the preview is always black, and when added to a watch face, it shows nothing. I can tap on this „nothing“ and the App launches, so the complication is actually there. But it doesn’t show anything. This is also true for the Watch App on the iPhone, which lets me add the complications to a watch face, but it also shows nothing. But in the Simulator everything works as expected, the complications show their content just fine. So it looks like the code is fine. The iPhone runs the iOS 16.1, and the watch runs watchOS 9.1 (right now the latest public releases) Does anyone having the same issue and maybe a solution or a hint, what exactly I should chec
Can you show the code where the error occurs.You may have some UI code not running in the main thread.
Topic:
Developer Tools & Services
SubTopic:
Developer Forums
Tags:
When I build an applet on the command line using osacompile -x -u -o foo.app foo.scpt. the resulting applet doesn't show the startup screen, it only shows the Quit/Run default window. If I export the same script from the AppleScript Editor, it shows the correct startup screen. Do I need to set any additional options on the osacompile command?
I'm on a training course and need a slide bar to show entire area. Help? I'm using Firefox since safari keeps dropping my internet.
My drive is already converted to apfs... I would like to know if I can still recover data from my drive. I wasn't able to do croaker's method before because I couldn't find the directory, but during the decryption process, I was able to locate it. After the installation proceeded, when I try to restart, my mbp now shows a circle with slash during startup. My drive is ok when I run first aid. I was asked to run diagnostics and showed that my drive has no issues..
Topic:
App & System Services
SubTopic:
Core OS
Tags:
I have a Package.swift // swift-tools-version: 5.9 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription let package = Package( name: SharedUI, defaultLocalization: en_US, platforms: [.iOS(.v16)], products: [ .library( name: SharedUI, targets: [ AppTheme, ] ), ], dependencies: [ .package(url: https://github.com/apple/swift-markdown.git, 0.2.0..<0.3.0), ], targets: [ .target( name: AppTheme, dependencies: [ .product(name: Markdown, package: swift-markdown), ], path: AppTheme ), ] ) Run swift package show-dependencies shows error yuantong-macbookpro2:Downloads yuantong$ swift package show-dependencies Fetching https://github.com/apple/swift-markdown.git from cache Fetched https://github.com/apple/swift-markdown.git (0.67s) error: Couldn’t get the list of tags: fatal: cannot use bare repository '/Users/yuantong/Downloads/.build/repositories/swift-markdown-b692ce3c' (safe.bareRepository is 'explicit') which
I had the app running on the phone (5S with ios 9 on it).Today I added CloudKit code to simply save a few records to the db. That will not run in the Simulator. I did configure my iCloud creds and that made it stop saying I needed auth, but then it put up an error that access was denied based on the user.Running on the phone, it never even loads. Then the phone is basically hung. I try to term the app but it's not running. If I disconnect and reconnect I can start the cycle again.The devices screen says the phone is 'busy validating' the application.
How to show the keyboard for textfield on ToolbarItem(placement: .keyboard)? I have a button and it's action I want is to show the keyboard. On top of which is ToolbarItem(placement: .keyboard) { HStack{ Button(...) TextField(, text: $bindingText) .textFieldStyle(RoundedBorderTextFieldStyle()) .keyboardType(.numberPad) .multilineTextAlignment(.trailing) } } I know keyboard shows with a textfield focused. How though to show the keyboard for ToolbarItem(placement: .keyboard) Textfield if can't show it without showing the keyboard?
i've a problem about unit test and code coverage the problem is when i run unit test on xcode 15.2 code coverage and execuable line is show normally but when i upgrade to xcode 16 code coverage and executable line is always show 0 how can i fix that
I am following a course and am trying so test myself.I have a model and I give values to properties from a json-file.(If Im showing code wrong please tell me how I shoud do it)This works:func updateUIWithWeatherData() { cityLabel.text = weatherDataModel.city temperatureLabel.text = String(weatherDataModel.temperature) weatherIcon.image = UIImage(named: weatherDataModel.weatherIconName) }But here it doesn't. Test shows but not the city.func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { let cell = UITableViewCell(style: .default, reuseIdentifier: Cell) cell.textLabel?.text = weatherDataModel.city //cell.textLabel?.text = test return cell }
I was having the same problem. Safari 9.0.1 and Yosemite 10.10.5. Simulator was running fine and the Develop menu actually had Simulator Item available but it showed the greyed out No Inspectable Applications in the menu. I exited (cmd+q) safari, xcode, and the simulator. I started up Safari, got Xcode running and ran the simulator (in that order) and my app showed up in the Safari>Develop>Simulator menu.Thanks for the help peeps!
Topic:
App & System Services
SubTopic:
Core OS
Tags:
I have created a simple Sprite kit game in swift and added an adbanner in my gameviewcontroller but it won't show when I load my game scene it's like it's behind or hidden.
In one of my projects, many built-in assets, such as the clear button in UITextField or UISearchBar objects, the UITableViewIndexSearch image, and the activity indicator in the status bar set by UIApplication.sharedApplication().networkActivityIndicatorVisible don't show at the correct resolution. I've noticed this on iPhone 6 and iPhone 6 Plus devices running iOS 8.4, as well as all of the simulators running iOS 8.4. I have other projects that don't show this issue.Screenshots are here: http://imgur.com/a/7TMlE
My iPhone 6 doesn't show carrier name and signal strength after i updated to iOS 9 even their is no sim it shows same but every thing works