Search results for

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

186,335 results found

Post

Replies

Boosts

Views

Activity

Metal runtime shader library compilation and linking issue
In my project I need to do the following: In runtime create metal Dynamic library from source. In runtime create metal Executable library from source and Link it with my previous created Dynamic library. Create compute pipeline using those two libraries created above. But I get the following error at the third step: Error Domain=AGXMetalG15X_M1 Code=2 Undefined symbols: _Z5noisev, referenced from: OnTheFlyKernel UserInfo={NSLocalizedDescription=Undefined symbols: _Z5noisev, referenced from: OnTheFlyKernel } import Foundation import Metal class MetalShaderCompiler { let device = MTLCreateSystemDefaultDevice()! var pipeline: MTLComputePipelineState! func compileDylib() -> MTLDynamicLibrary { let source = #include using namespace metal; half3 noise() { return half3(1, 0, 1); } let option = MTLCompileOptions() option.libraryType = .dynamic option.installName = @executable_path/libFoundation.metallib let library = try! device.makeLibrary(source: source, options: option) let dylib = try! device.make
5
0
1k
1w
Reply to BLE Scanning
BLE scanning does not stop in the background. But it slows down. So for your situation, what is probably happening is: while you are juggling your scanning batches, stopping one and starting the other, it is possible that your app is not being able to start the next batch after stopping the previous one. If that happens, you would have stopped the scan but was never able to restart the other for one reason or another. If you believe the scan has actually stopped, you may want to double check the next batch was able to have started, perhaps confirm by logging the start if the next batch and see if you get there. And if you confirm the scan never starts, then debug why this is occurring. the scan is not stopping, but because it slows down when the app is in the background, you think it has stopped due to the inability to discover advertising peripherals. This is a standard behavior of iOS and the only solution would be to increase the advertising frequency of the peripherals. If the advertising interva
Topic: App & System Services SubTopic: Core OS Tags:
1w
BLE Scanning
iOS BLE Background Scanning Stops After Few Minutes to Hours Hi everyone, I'm developing a Flutter app using flutter_blue_plus that needs continuous BLE scanning in both foreground and background. Foreground scanning works perfectly, but background scanning stops after a few minutes (sometimes 1-2 hours). Current Implementation (iOS) Foreground Mode: Scans for 10 seconds with all target service UUIDs Batches and submits results every 10 seconds Works reliably ✅ Background Mode: Rotates through service UUIDs in batches of 7 Uses 1-minute batch intervals Maintains active location streaming (Geolocator.getPositionStream) Switches modes via AppLifecycleState observer // Background scanning setup await FlutterBluePlus.startScan( withServices: serviceUuids, // Batch of 7 UUIDs continuousUpdates: true, ); // Location streaming (attempt to keep app alive) LocationSettings( accuracy: LocationAccuracy.bestForNavigation, distanceFilter: 0, ); Lifecycle Management: AppLifecycleState.paused -> Start b
1
0
54
1w
How to setup UIApplicationDelegate that uses UIScenes for mirroring with AirPlay
Hi! I am developing a game for iOS using Objective-C and C++. I am trying to migrate an app to scene-based life cycle, but having a problem while mirroring screen from iPhone to MacBook using AirPlay. At this moment I don't want to implement multi-window (or multi-scene) support. The only thing I want is to have ability of screen mirroring. From the documentation from here and here I can't understand which UISceneConfiguration should I return. If I define a UIWindowSceneDelegate for the configuration, how should I handle scene:willConnectToSession:options: if the window has been already created for main device screen? Returning nil is not documented. Is there any examples? Also, I would expect that defining UIApplicationSupportsMultipleScenes to NO in Info.plist will automatically disable second scene creating. This is mentioned in documentation here, but this is not true, because I still see second scene creation (its pointer differs from one that was already created) in UIWindowSceneDelegate. What
Topic: UI Frameworks SubTopic: UIKit
4
0
94
1w
Reply to Can TextField handle undo?
Sorry for not replying earlier. No, I'm afraid that info isn't what I'm looking for. The thing that I'd like to understand really is, specifically: how to use the built-in undo support of SwiftUI TextField views, if any. Hopefully you're able to get details on this somehow!
Topic: UI Frameworks SubTopic: SwiftUI
1w
Reply to UIKit flip animation bugged in 26.1
@VAndrJ Thank you for the post, partial code, and images demonstrating the animation. Your post is comprehensive and well-written with everything we need… almost. Before anything please test with Xcode 26.3 beta!! If still happening in Xcode 26.3, please, as you demonstrated the animation effectively, I would like to request that you create a new post with the same animation image. Additionally, I would appreciate it if you could provide a focused sample link that engineers and developers can quickly access and run in various environments. If you're not familiar with preparing a test project, take a look at Creating a test project. On the new thread we can look for versions and workarounds as well. Thanks Albert Pascual
  Worldwide Developer Relations.
Topic: UI Frameworks SubTopic: UIKit Tags:
1w
Reply to Swipe to go back still broken with Zoom navigation transition.
Also confirmed this is still broken in iOS 26.3 (23D127). My feedback is FB21078443 filed Nov 2025. If anyone can’t repro it, here’s a minimal example. Tap a color, then swipe back from the left edge—the source view will disappear after the transition. Easier to repro on physical device, but also possible in sim with a solid swipe. import SwiftUI struct ContentView: View { @Namespace private var namespace private let colors: [Color] = [.red, .blue] var body: some View { NavigationStack { VStack(spacing: 16) { ForEach(colors.indices, id: .self) { index in NavigationLink(value: index) { RoundedRectangle(cornerRadius: 16) .fill(colors[index]) .frame(maxWidth: .infinity, minHeight: 200, maxHeight: 200) .matchedTransitionSource(id: index, in: namespace) } .buttonStyle(.plain) } } .padding(20) .navigationTitle(Zoom Transition Issue) .navigationSubtitle(Tap card, then swipe back from left edge) .navigationDestination(for: Int.self) { index in Rectangle() .fill(colors[index]) .ignoresSafeArea() .navigationTr
Topic: UI Frameworks SubTopic: SwiftUI Tags:
1w
Source view disappearing when interrupting a zoom navigation transition
When I use the .zoom transition in a navigation stack, I get a glitch when interrupting the animation by swiping back before it completes. When doing this, the source view disappears. I can still tap it to trigger the navigation again, but its not visible on screen. This seems to be a regression in iOS 26, as it works as expected when testing on iOS 18. Has someone else seen this issue and found a workaround? Is it possible to disable interrupting the transition? Filed a feedback on the issue FB19601591 Screen recording: https://share.icloud.com/photos/04cio3fEcbR6u64PAgxuS2CLQ Example code @State var showDetail = false @Namespace var namespace var body: some View { NavigationStack { ScrollView { showDetailButton } .navigationTitle(Title) .navigationBarTitleDisplayMode(.inline) .navigationDestination(isPresented: $showDetail) { Text(Detail) .navigationTransition(.zoom(sourceID: zoom, in: namespace)) } } } var showDetailButton: some View { Button { showDetail = true } label: { Text(Show detai
Topic: UI Frameworks SubTopic: SwiftUI
17
0
1.5k
1w
Reply to Can't find IAP/Subscriptions section for new build
I appreciate your response. But I figure out how to get out on my own. In fact, I've set up and taken several consumable IAPs off the market. I therefore believed that I needed to re-attach the new subscriptions to the next binary build. However, it turns out that if your app was published before, all you have to do is get the new subscriptions' metadata ready and submit it to review. Your binary build will function automatically without requiring you to reattach it after it is approved (in the Distribution section). Ref: Submit an in-app purchase
1w
Can't find IAP/Subscriptions section for new build
Hello communities, I am going to submit a new binary build with subscriptions. However, I cannot find the In-App Purchases and Subscriptions section like before. Is there any update on this? Despite the fact that the subscriptions were accepted and banking & agreements were set up, I still can't figure out how to include them in the binary build. Thanks for the advice.
2
0
139
1w
Reply to iOS26 beta: AppClips are not working properly
Im having the same exact issue, where my app clip for the unlisted app does work on an iPhone running iOS 17 (minimal deployment of the app is iOS17), but it does not work on an iPhone running iOS26 (iOS26.2 to be exact). On the phone runnning iOS 26, it does show the app clip card with button and text for a short second, but then switches to the ASDErrorDomain Error 507.
Topic: App & System Services SubTopic: General Tags:
1w
Reply to UIApplication.canOpenURL not working without Safari
Reproducing the issue is easy. Just copy the code from the initial description in a project and launch it on any iOS 26.2+ device after deleting Safari from it. It is not possible to delete Safari from any simulator. I think this issue has nothing to do with my app universal links. I don't know what disabling the link and checking swctutils file means...
Topic: UI Frameworks SubTopic: UIKit
1w
Reply to UIApplication.canOpenURL not working without Safari
Hello Albert, This is reproducible in the iOS 26.2 & iOS 26.3 official releases, not beta versions. So this seems to be an iOS 26.x bug that I can't seem to be mentioned anywhere. The links I'm talking about are both regular, simple links (think https://www.apple.com/apple-events/), the kind that would instantly open in the default browser, as well as universal links, none of them open. No external links seem to open using UIApplication.shared.open(url, options:) when Safari has been removed. If its eases communication, I already filed a feedback ticket FB21867922. I'll link to the app in the ticket there.
Topic: UI Frameworks SubTopic: UIKit
1w