Is there a way to migrate WidgetKit extensions made using dual-target watchOS apps to single-target apps? When you create a widget extension with a dual-target app, the bundle identifier includes the extra extension domain (com.company.app.watchkitapp.watchkitextension.widgets). When Xcode 15 migrates a dual-target to single-target, it removes “.watchkitextension” from both the watchOS app bundle identifier and the widget extension bundle identifier. watchOS seems to handle migrating the main app just fine, but any complications created with the dual-target do not get migrated and are just blank until the user re-configures, which would be a huge bummer to have to ship. If I try to manually set the bundle identifier back to include “.watchkitextension”, the OS rejects the installation because of the extraneous dot after the parent app’s prefix.
How to migrate WidgetKit extensions from dual-target to single-target watchOS app?
48 views Asked by Brock Batsell At
1
There are 1 answers
Related Questions in WATCHKIT
- How can I create an animation like WhatsApp archive button spawn animation with SwiftUI on watchOS?
- WatchOS companion app Builds successfully but gives WCSessionDelegate error when Archiving
- Can an Apple Watch Companion App programmatically change Apple Watch background/watch face?
- How to migrate WidgetKit extensions from dual-target to single-target watchOS app?
- how to programatically trigger notification on the watch from my iOS app
- Is it possible to detect that Watch is paired with iPhone or not without having Watch target
- Flutter iOS Companion App With Watch App Error : No such module 'WatchKit' While Archiving
- Could not launch Failed to get the task for process -1 when running my WatchApp Target
- How to run a function when tapping a Node in a Scene on Apple Watch?
- Using CMHeadphoneMotionManager in independent WatchOS app to Access AirPods Pro Accelerometer Data
- How to get WCSession to continue streaming data after WatchKit app falls asleep?
- Apple Watch Series 3 (WatchOS 8.8) cannot connect/pair to Xcode v15.0.1
- In WatchKit can't access UserDefaults
- Not able to add .watchface file in xcode project
- Can is share Keychain items ios app and watch app
Related Questions in WATCHOS
- Issue with Xcode Target and settings for Apple Watch App
- How can I create an animation like WhatsApp archive button spawn animation with SwiftUI on watchOS?
- Deep links in AppleWatch
- SwiftUI: Perform a different action when clicking the area around a button
- Simulate HealthKit Data on WatchOS for Apple Watch
- hide indicators for TabView when set vertically
- WatchOS companion app Builds successfully but gives WCSessionDelegate error when Archiving
- Error when building Siri Intent on Apple Watch
- NavigationStack and binding to a selection
- WatchOS app launched by tapping an associated file
- Google Fit API Alternative
- How to migrate WidgetKit extensions from dual-target to single-target watchOS app?
- How to detect touch inputs in SKScene on watchOS SpriteKit?
- Two Apple Watch Companion Targets possible?
- Button (.primaryAction in Toolbar) is not displayed correctly in scrollview on two specific Watch (watchOS) devices
Related Questions in WIDGETKIT
- Display coredata value in widgetkit - SwiftUI
- XCode 15.3 Constantly Builds for Preview
- SwiftUI Widget Previews have a padding in iOS 17 / Xcode 15
- WidgetConfigurationIntent @Parameter sometimes cannot get a value
- How to migrate WidgetKit extensions from dual-target to single-target watchOS app?
- Is it possible to launch a dialog directly from a widget through AppIntent? (IOS 17)
- How to Achieve Precise Updates with getTimeline in iOS Widget Development
- WidgetKit display realtime countdown in "x min" format?
- Migrate default data from UserDefaults.standard to UserDefaults(suitName:)
- "Prompt Label" Custom Intent localization not working in iOS 17
- Watch complication memory crash - EXC_RESOURCE
- WidgetKit iOS 17 - getCurrentConfigurations returned configuration is nil
- Wrong icon for Widget Extension scheme after rename
- SectorMark is not updating its color (ONLY in Widget) according to the color scheme
- SwiftUI, SwiftData, WidgetKit - Missing 'previewContext' modifier
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
You haven't provided any code, so it is a little difficult to help out.
However, do you have both ClockKit and WidgetKit complications in your App? In watchOS 10 ClockKit complications were deprecated, and the replacement is WidgetKit complications. You might be running into this issue.
This document from Apple talks about running a CLKComplicationWidgetMigrator, not sure if that will help at all?