Building for iOS Simulator, but the linked and embedded framework ‘XX.framework‘ was built for

167,390 results found

Post

Replies

Boosts

Views

Activity

App Automatically Logging Out for Some Users
Hello, We’re experiencing an issue in our app where a subset of users are being logged out automatically without any apparent reason. This is impacting both iOS 16 and iOS 17 users (though it’s hard to confirm if it’s platform-specific). Here’s a breakdown of the situation: Symptoms Some users report being logged out of the app randomly, even after remaining active. The issue doesn’t seem to affect all users—just a specific subset. Users are prompted to log in again, and once they do, the app behaves as expected until the issue recurs.
1
0
28
9h
Reply to Has `xcodebuild -showdestinations` been changed since macOS Sequoia?
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.
12h
[Vision, visionOS] Is it possible using Vision Framework on visionOS for body tracking feature?
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?
0
0
69
13h
ARView vs RealityView (iOS, iPadOS)
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.
0
0
66
14h
Reply to iOS 18 Bug -Certificate Trust Settings for Private Root Certificates Not Available
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!
16h
Reply to Updated HTML and Javascript in HTML
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
19h
Reply to Unable to preview on latest Xcode
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
21h
Unable to preview on latest Xcode
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. :)
2
0
105
22h
Reply to XCode Cloud is literally broken for 2 months now
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
22h
Background Location Indicator Remains Active Despite "Never" Permission Setting in iOS 18+
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
0
0
84
1d
Reply to _dispatch_assert_queue_fail under iOS 16.4.1. Don't understand the error.
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
1d