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
Building for iOS Simulator, but the linked and embedded framework ‘XX.framework‘ was built for
167,548 results found
Post
Replies
Boosts
Views
Activity
I am facing the same issue. My code works without any bug on Xcode 15 and till iOS 17. As soon as i upgraded to Xcode 16 and running the app on iOS 18 then same issue persists. Any solution for this?
The same happened to me (https://forums.developer.apple.com/forums/thread/771428) Did you find a workaround? I can't seem to find it anywhere and I can't code because I can't preview and simulate my app. This is really a bummer.
I solved this problem by adding CoreHaptics framework success
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.
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
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
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
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
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.
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
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
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!
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,
Take a look at this. I hope it will be helpful to you! https://developer.apple.com/documentation/xcode/running-your-app-in-simulator-or-on-a-device#Connect-real-devices-to-your-Mac