I found out what makes xcodebuild -showdestinations change behavior within the app codebases exactly. With Xcode 16.x on Sequoia, xcodebuild -showdestinations on the scheme without Swift Package dependencies shows only my mac, Any iOS Simulator Device, and Any iOS Device. If my app depends on any Swift Packages, the command finally prints out all the devices installed in my mac after resolving dependencies. but if the package dependencies are already resolved beforehand(e.g. by dependency cacheing) the command falls back to print out my mac, Any iOS Simulator Device, and Any iOS Device only. If you want to see what simulator devices are available, you should abandon SwiftPM cache and run SPM before executing command.
Building for iOS Simulator, but the linked and embedded framework ‘XX.framework‘ was built for
167,373 results found
Post
Replies
Boosts
Views
Activity
Hello, I checked following documentations. Vision | Apple Developer Documentation Discover Swift enhancements in the Vision framework - WWDC24 - Videos - Apple Developer I saw Vision Framework is available on visionOS. So I want to know that if it's possible using Vision Framework on visionOS for tracking human and animal body poses. Or are there some limits to use this on visionOS?
I have been digging through the docs and the developer videos, and I have noticed a mention to RealityView having som potential limitations with anchors and world tracking. However, I haven’t been able to locate my answers. Does anyone know (or point me to) if RealityView supports everything ARView does, and if not what are the difference? I was fooling around with RealityView today with a simple plane anchor, and the stability of that anchor didn’t seem to be as steady as I recall ARView being In the past on iPhone. I’m trying to determine if I should be rolling over into RealityView or stay with ARView on this little educational project. I would imagine the answer is to go RealityView, but I want to make sure I’m not setting myself up for failure based on any current limitations For anchors and world data.
After installing IOS 18.2, certificate trust is still not showing up. When trying to access a PWA with certificate access, it gives an error and does not allow it. With IOS 17.6 everything worked correctly. Does anyone have a solution for this? In the traces, the following appears: Attempt to search in legacy mode Warning: No client certificate found in the context or in LegacyGetClientCertificate. Thanks! This bug has been around for more than 2 months and is frustrating since the end user cannot access the application with their certificate. Any help is welcome!
const onClick = evt => { const link = document.querySelector('a'); const range = document.createRange(); range.selectNode(link); const selection = window.getSelection(); selection.removeAllRanges(); selection.addRange(range); const successful = document.execCommand('copy'); }; document.querySelector('button').addEventListener('click', onClick); This is an Example. Copy
Sure it works. I've tested with Xcode 16.2, MacOS 14.7.2 and using iPhone 16 Pro simulator as in your case. How long ago did you install Xcode ? Are you sure installation is complete ? Or were you asked to download simulators. If so, did you do it ? Try to select another simulator, or restart Xcode. If that does not work, try to reinstall, from a different site. This one works well: https://xcodereleases.com
I'm new to Xcode and decided to give it a try, however, I'm unable to preview even the default hello, world message. I've tried downloading Xcode on the App Store on Mac and from the official website, but I couldn't go pass the Preparing (Automatic) iPhone Simulator. I've also tried the following line of code on Terminal, but nada: xcrun simctl erase all Here's what I see for almost two hours now (it makes no sense): My system specs: iMac Retina 4K, 21.5-inch, 2019, 3 GHz Intel Core i5 6-Core, Radeon Pro 560X 4 GB, 8 GB 2667 MHz DDR4 (two 4gb core each), 1TB SSD. I've coded way bigger web projects using various applications, but Xcode can't even preview the sample file? Please, help. I would really like to code using Swift. :)
same issue on Kotlin multiplatfom project FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':composeApp:kspKotlinIosArm64'. > Could not resolve all files for configuration ':composeApp:iosArm64CompileKlibraries'. > Could not download lifecycle-viewmodel.klib (androidx.lifecycle:lifecycle-viewmodel-iosarm64:2.9.0-alpha03) > Could not get resource 'https://dl.google.com/dl/android/maven2/androidx/lifecycle/lifecycle-viewmodel-iosarm64/2.9.0-alpha03/lifecycle-viewmodel-iosarm64-2.9.0-alpha03.klib'. > Could not GET 'https://dl.google.com/dl/android/maven2/androidx/lifecycle/lifecycle-viewmodel-iosarm64/2.9.0-alpha03/lifecycle-viewmodel-iosarm64-2.9.0-alpha03.klib'. > Got socket exception during request. It might be caused by SSL misconfiguration > Connection reset by peer > Could not download lifecycle-runtime.klib (androidx.lifecycle:lifecycle-runtime-iosarm64:2.9.0-alpha03) > Could not get resource 'https://dl.google.com/dl/android/maven2/and
Has anything changed, or is CloudKit still being blocked on watchOS simulators at this point? (I'm new to iOS/watchOS development but the lack of clarity and plethora of bugs has not been a nice experience coming from Dart/Flutter environment.)
Same issue. This is frustrating, as I see no official statements from Apple this is not supported. The iPhone and Watch simulators are paired, but no iCloud on Watch. I tried everything, and I guess I have to start using physical devices. Very disappointing.
Hi everyone, I'm encountering an issue where the background location indicator remains visible on the status bar even though I have set the location permissions to Never for my app in the system settings. Despite taking all the necessary steps to stop location tracking (including stopping updates, geofencing, and other location-related services), the indicator still appears. This seems to be a bug since everything has been turned off on my end. Here’s what I’ve already tried: Setting location permissions to Never in the settings. Stopping startUpdatingLocation(), stopMonitoringSignificantLocationChanges(), and geofencing (using locationManager.stopMonitoringRegions()). Calling locationManager.showsBackgroundLocationIndicator = false. Ensuring that the CLLocationManager is fully invalidated. Despite all of this, the background location indicator still remains in the status bar. I’ve tested it on real devices, as well as in the simulator, with no improvement. Has anyone experienced something similar, o
I got a similar _dispatch_assert_queue_fail crash but the stack trace looks a bit different. I couldn't find the root cause since the stack trace does not show anything related to our code. Do you have any idea? Interestingly, this crash happens only in iOS 18+. Note: I attached the full stack crash.txt trace -[UIImageView _mainQ_beginLoadingIfApplicable] _dispatch_assert_queue_fail Crashed: com.apple.SwiftUI.AsyncRenderer EXC_BREAKPOINT 0x000000019c21e3b4 Crashed: com.apple.SwiftUI.AsyncRenderer 0 libdispatch.dylib 0x63b4 _dispatch_assert_queue_fail + 120 1 libdispatch.dylib 0x633c _dispatch_assert_queue_fail + 194 2 UIKitCore 0xb80c4 -[UIImageView _mainQ_beginLoadingIfApplicable] + 76 3 UIKitCore 0xb7fb4 -[UIImageView setHidden:] + 68 4 UIKitCore 0xb7d70 -[UIButtonLegacyVisualProvider _updateImageView] + 372 5 UIKitCore 0xe8830 -[UIButtonLegacyVisualProvider baselineOffsetsAtSize:] + 196 6 UIKitCore 0xe8748 -[UIButton _baselineOffsetsAtSize:] + 52 7 SwiftUI 0x29a48 PlatformViewLayoutEngine.explicit
My iPad 7th generation updated to iOS 18.3 I’m getting the loading 5 bar symbol and No sound at all . Tried hard resetting multiple time and nothing works
The web page image is not fully displayed, only part of it is rendered. Switch the app to the background and then to the foreground, and the incomplete image will be rendered correctly again.
Hi There, I have a iOS App which has been published and purely managing data by SwiftData. I use following simple codes everywhere in Views: ... @Query var items: [Item] .... if let firstItem = items.first( where: {...}) { ... Then I encountered crash at Query that _items.wrapperdValue has some errors. Then I tried to split first(where...) into ordinary way: let filteredItems = items.filter(...) if let firstItem = filteredItems.first { ... It runs OK. Is it a bug in SwiftData in 18.2 or I missed some steps to facilitate SwiftData macros?