Posts

Post not yet marked as solved
0 Replies
272 Views
I've tried MKMapSnapshotter in the TimelineProvider , but the completion handler of the start is never called (snapshot is a MKMapSnapshotter object and I have verified that the callback is called when this code runs on the actual app and not the widget TimelineProvider. What am I missing? 		snapshot.start { (snapshot, error) in       let image = Image(uiImage: snapshot?.image)       completionHandler(image)     }
Posted
by MeanRaw.
Last updated
.
Post not yet marked as solved
1 Replies
2k Views
The following WWDC session saya that the user can select a folder and we can read all files in a folderhttps://developer.apple.com/videos/play/wwdc2019/719/But the delegte is never called when the user taps on a folder. Does anybody know how the user can select a folder so that the app can get a callback with the URL of the selected folder.Here is the code that I am using: let documentPicker = UIDocumentPickerViewController(documentTypes: [String(kUTTypeFolder)], in: .open) documentPicker.delegate = self documentPicker.allowsMultipleSelection = true present(documentPicker, animated: true) { print("done presenting") }
Posted
by MeanRaw.
Last updated
.
Post not yet marked as solved
19 Replies
7.5k Views
I can install the watch app on my iPhone using Xcode fine (adHoc install also works). But, I get the following error when I (or my beta testers) try to install the watch app using TestFlight.Error: "Couldn't install <app_name> on Apple Watch"I found this message on the console. The provisioning profiles are handled by Xcode automatically. Previous build of this app had no problem with the Watch app installation via TestFlight, but now even previous builds in TestFlight refuse to install the watch app.Watch Install Update (for iOSAppID: ***, iOSBuildID: ***, buildVersion: 4.1.5 (16)): Could not find a matching profile. Profile bundleIDs: ( "***.watchkitapp.watchkitextension", "***.watchkitapp", "***.watchkitapp.watchkitextension.WatchOSIntents" )
Posted
by MeanRaw.
Last updated
.