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

167,548 results found

Post

Replies

Boosts

Views

Activity

Widget Extension scheme causes "failed to find valid container bundle" errors when ran
I've got a macOS app with a Widget Extension. When I try to run the scheme attached to this extension, WidgetKit Simulator unexpectedly quits and I get plenty of errors such as the ones below, that do not seem to be at all linked with the purpose nor the functionalities explicitly used by the app (nor the extension). That's what I get in Xcode's console: com.apple.siri.AssistantSettingsControls failed to find valid container bundle for file:///System/Library/ExtensionKit/Extensions/AssistantSettingsControlsExtension.appex/ at /System/Library/ExtensionKit/Extensions/AssistantSettingsControlsExtension.appex com.apple.settings-intents.LoginItemsIntents failed to find valid container bundle for file:///System/Library/ExtensionKit/Extensions/LoginItemsIntentsExtension.appex/ at /System/Library/ExtensionKit/Extensions/LoginItemsIntentsExtension.appex com.apple.SoftwareUpdate.SoftwareUpdateSettingsWidget failed to find valid container bundle for file:///System/Library/ExtensionKit/Extensions/Softwa
0
0
92
5d
Possible to access CoreData/Persistent storage from DeviceActivityReportExtension?
This is more a general question of whether it is possible to share persistent/coredata from the main app to Screentime-related extensions such as DeviceActivityReportExtension. I've set my code up (e.g., App Groups, files to different targets, using nspersistentcontainer with app group url, etc.) in a way that it builds, and the extension seems to recognize my CoreData schema (able to query using fetchrequest). But the data returned is always null. So i'm wondering if it is even possible to READ app data from the extension. I understand it is not possible to write or pass data from the extension back to the app. I've also been able to read data that was saved in main app from UserDefaults in my extension.
1
0
93
5d
Reply to Numerous Undefined symbol errors
Our app is very large and does numous things. But we do use 2 frameworks to capture images. Kofax which we have udated to the latest and MiSnap which we are in the process of upgrading. We also are using Lottie and a variety of other frameworks. We have created our own SPMs which all seem to be Rosetta free
5d
Unable to install an app extension when running it for debugging
I've got an app with several app extensions (call extension, action extension, notification service extension, message filtering extension, notification content extension). If I need to interactively debug these then I can select the scheme and run the extension within Xcode for all of them except for the notification content extension, with that I get an error dialog summary saying: Failed to install the app on the device / The provided item to be installed is not of a type that CoreDevice recognizes. Which when expanded has the blumpf posted below. Why can I not run the notification content extension, when I can run any other type of app extension? Failed to install the app on the device. Domain: com.apple.dt.CoreDeviceError Code: 3002 Failure Reason: The provided item to be installed is not of a type that CoreDevice recognizes. User Info: { DVTErrorCreationDateKey = 2024-12-27 16:39:54 +0000; IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker; NSURL = file:///Users/Me/Library/Developer/Xcode/Derived
0
0
66
5d
Sync IOS cursor to app cursor.
My app controls the cursor within its text area. Upon touching the screen the ios moves the cursor when dragging. The app cursor and the IOS cursor are now out of sync. Is there a way to set the app cursor to the IOS cursor? I have checked many sources to no avail. Thanks for your help. Charlie
2
0
87
5d
undefined symbol errors
hello, when i try to archive my unity game through xcode to publish it on app store connect i get these 4 undefined symbol errors: undefined symbol:_initializeclass, undefined symbol: _initializeunityobject, undefined symbol: _onrequestasync, undefined symbol: _onrequestsync. is there anyway to get rid of this error ? the only solution i found was enabling module verifier in build settings but when i do that i get this error:error: Sandbox: mkdir(24068) deny(1) file-write-create , i get rid of this by choosing no to user script sandboxing in builds settings, but when i do that i get these errors: double-quoted include LifeCycleListener.h in framework header, expected angle-bracketed instead, RedefinePlatforms.h can only be used after UndefinePlatforms.h got included before., double-quoted include RenderPluginDelegate.h in framework header, expected angle-bracketed instead, umbrella header for module 'UnityFramework' does not include header 'RedefinePlatforms.h', umbrella he
1
0
107
5d
Arc Browser like tabs view and tabs management in Safari
Enhancement in managing tabs in Safari It would really be awesome to bring the fascinating tab management feature of Arc Browser to Safari across iOS, iPadOS and macOS. Especially below listed features; Multitask Create Organize Rev Up Release Notes For further info , here is the official link of Arc Browser, https://resources.arc.net/hc/en-us/categories/16435255982103-Features.
0
0
142
5d
New apple pay in PC chrome dosn't work with iOS 18
I've encountered an issue with Apple Pay in PC Chrome with iOS 18. Below is the scenario and code for reference: Issue Scenario: A button is clicked to initiate the Apple Pay process. A QR code window pops up, which I scan with my phone. As soon as the session is established, the window closes immediately, not allowing the user to select a payment card. No errors appear in the console. Here's the code snippet for handling the Apple Pay button click: const onApplePayButtonClicked = () => { if (!window.ApplePaySession) { return; } log('Apple Pay button clicked'); const request = { countryCode: 'UA', currencyCode: 'UAH', merchantCapabilities: ['supports3DS'], supportedNetworks: ['visa', 'masterCard'], total: { label: 'PoC Merchant Apple Pay', type: 'final', amount: amount.toString(), }, }; const session = new window.ApplePaySession(3, request); session.onvalidatemerchant = async (event) => { try { log('Creating ApplePaySession'); const response = await fetchAppleSessionAPI(event.validationURL, app
0
0
81
5d
Issue with Live CallerID URL Caching
I've been testing the Live CallerID feature using the Apple-provided local server example - live-caller-id-lookup-example. I've been running a local server with tunneling using ngrok for the initial setup. Everything was working perfectly with the following setup: @main final class CallerID: LiveCallerIDLookupProtocol { var context: LiveCallerIDLookupExtensionContext { LiveCallerIDLookupExtensionContext( serviceURL: URL(string: https://example-tunnel.ngrok.io)!, tokenIssuerURL: URL(string: https://example-tunnel.ngrok.io)!, userTierToken: Data(base64Encoded: BBBB)! ) } } However, after I updated the URLs to the production ones, I encountered an issue: @main struct CallerID: LiveCallerIDLookupProtocol { var context: LiveCallerIDLookupExtensionContext { LiveCallerIDLookupExtensionContext( serviceURL: URL(string: https://example.net/)!, tokenIssuerURL: URL(string: https://example/issue)!, userTierToken: Data(base64Encoded: BBBB)! ) } } The problem is that during calls or when updating PIR parameters, the applica
0
0
95
5d
Enabling MIDINetworkSession in a catalyst app
Hi, I am trying to enable the default MIDINetworkSession in a Catalyst app on MacOS like this: MIDINetworkSession.default().isEnabled = true MIDINetworkSession.default().connectionPolicy = .anyone In the AppSandbox I have both incoming and outgoing network connections enabled. And I also added the NSLocalNetworkUsageDescription key to the info.plist. Bonjour services are also added to the info.plist: NSBonjourServices _apple-midi._udp. Nevertheless the session stays disabled. Running the same code works just fine on iOS. Is there any special setup I need to make on MacOS to enable the MIDINetworkSession? Thanks!
0
0
110
5d
Reply to NavigationSplitView list selection buggy after deleting?
Thank you for your reply @Claude31! Saving the context did unfortunately not help. Interestingly I could recreate the same issue using plain Swift structs as models instead of SwiftData, so it seems to be related to SwiftUI rather than SwiftData. The link that you provided led me to another Apple sample project in which I was able to find a solution: Provide the list with a selection, and Use NavigationLink with value and move detail to the NavigationSplitView I'm including these changes below in case anyone else runs into the same issue: import SwiftUI import SwiftData struct ContentView: View { @Environment(.modelContext) private var modelContext @Query private var items: [Item] @State private var selection: Item? var body: some View { NavigationSplitView { List(selection: $selection) { ForEach(items) { item in NavigationLink(value: item) { Text(item.timestamp, format: Date.FormatStyle(date: .numeric, time: .standard)) } } .onDelete(perform: deleteItems) } .navigationSplitViewColumnWidth(min: 180,
5d