I am unable to download the latest crash reports in Xcode Organizer. I see the following error message :
An error occurred preventing Xcode from downloading crashes list. "xxxxx" failed with error: Waiting for future 'CrashPointNetworkListSource' to complete timed out
I am using Xcode 13.2.1. Anybody have an idea how I could fix this?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I have a Mac Catalyst App that I switched over to the SwiftUI lifecycle. I am trying to add MenuBarExtra to the app :
if #available(macOS 13.0, *) {
MenuBarExtra("....", systemImage: ......) {
..........
}
}
However, I get an error :
'init(_:systemImage:content:)' is unavailable in iOS
'MenuBarExtra' is unavailable in iOS
How do I add MenuBarExtra to the app?
I am getting a weird crash that I have not been able to figure out.At the top of the crash log in Organizer I see:#0(null) in 0 ()#1(null) in outlined destroy of Event ()where Event is my object.Does anybody know what this means?Thanks,Girish
The "What New in SwiftUI" talk mentioned that this feature can be back deployed. I assume that I need Xcode 13 to include this in my app? Can I ship this before Xcode 13 is GA to iOS 14/ Mac Catalyst 11.3 users? Will App Store Connect accept those builds?
In iOS 15, the SwiftUI List view adds extra separators to fill the empty space when there are not enough rows (please see attached). These happens on MacOS but does not occur when the same code is run on iPadOS.
I am using the new bindable List. I am seeing this on MacOS Monterey.
How do I remove the extra separators?
I have a project with a deployment target set to iOS 16.4. The project includes a local framework target whose deployment target is also set to iOS 16.4 in build settings. The build settings for the parent app target also show iOS 16.4 deployment target.
However, when I try to compile the parent app I get a series of "xxx" is only available in iOS 15.0 or newer errors when it tries to build the embedded framework.
I am using SPM to manage dependencies.
I am adding Group Activities integration with a MacCatalyst app. I have added the Group Activities entitlement in Xcode. I also checked the entitlements with :
codesign --display --entitlements :-
I can see the entitlement :
<key>com.apple.developer.group-session</key><true/><key>
The feature work fine on iPadOS but when I run it on MacOS, the GroupActivitySharingController is not loading properly. I get the following error messages:
Cannot run query EXQuery: extension point com.apple.groupactivities platforms: 6 with error: (null)
Failed to lookup extension with query EXQuery: extension point com.apple.groupactivities platforms: 6 on <_GroupActivities_UIKit.PeoplePickerController: 0x600005020980>
Failed to fetch config for hostViewController <_GroupActivities_UIKit.PeoplePickerController: 0x600005020980>
Failed to build remote hostViewController for <_GroupActivities_UIKit.GroupActivitySharingController: 0x1417f1250>
Failed to fetch extensionViewController
Calling -viewDidAppear: directly on a view controller is not supported, and may result in out-of-order callbacks and other inconsistent behavior. Use the -beginAppearanceTransition:animated: and -endAppearanceTransition APIs on UIViewController to manually drive appearance callbacks instead. Make a symbolic breakpoint at UIViewControllerAlertForAppearanceCallbackMisuse to catch this in the debugger. View controller: <_GroupActivities_UIKit.GroupActivitySharingController: 0x1417f1250>
I got a similar error on iPadOS when the entitlement was not added. Now that I have the entitlement, the error appears only on MacOS.
Does MacOS/MacCatalyst use a different entitlements file? What could be cuasing this?
I am trying to present a GroupActivitySharingController using SwiftUI. I am using a NSViewControllerRepresentable:
@State var event : Event
func makeNSViewController(context: NSViewControllerRepresentableContext<MeetingGroupActivitySharingRepresentableView>) -> GroupActivitySharingController {
return try! GroupActivitySharingController(MeetingGroupActivity(event: event))
}
func updateNSViewController(_ nsViewController: GroupActivitySharingController , context: NSViewControllerRepresentableContext<MeetingGroupActivitySharingRepresentableView>) {
print("Updating VC")
}
}
I present it as following :
.sheet(isPresented: $showGroupActivitySharingView) {
MeetingGroupActivitySharingRepresentableView(event: observedEvent.event)
}
It works fine on iOS, however on MacOS, I cannot dismiss the view. I see the following error:
dismissViewController:: Error: maybe this view controller was not presented?
(
0 CoreFoundation 0x000000019d75accc __exceptionPreprocess + 176
1 libobjc.A.dylib 0x000000019d242788 objc_exception_throw + 60
2 Foundation 0x000000019e8cbc6c -[NSCalendarDate initWithCoder:] + 0
3 AppKit 0x00000001a145a77c -[NSViewController dismissViewController:] + 224
4 _GroupActivities_AppKit 0x0000000232d65cf0 $s23_GroupActivities_AppKit0A25ActivitySharingControllerC011dismissViewG06resultyAA0aeF6ResultO_tFyyYaYbScMYccfU_TY0_ + 444
5 _GroupActivities_AppKit 0x0000000232d67b65 $s23_GroupActivities_AppKit0A25ActivitySharingControllerC011dismissViewG06resultyAA0aeF6ResultO_tFyyYaYbScMYccfU_TATQ0_ + 1
6 _GroupActivities_AppKit 0x0000000232d68bd9 $sIeghH_ytIeghHr_TRTQ0_ + 1
7 _GroupActivities_AppKit 0x0000000232d68bdd $sIeghH_ytIeghHr_TRTATQ0_ + 1
8 _GroupActivities_AppKit 0x0000000232d66931 $sxIeghHr_xs5Error_pIegHrzo_s8SendableRzs5NeverORs_r0_lTRyt_Tg5TQ0_ + 1
9 _GroupActivities_AppKit 0x0000000232d68ba5 $sxIeghHr_xs5Error_pIegHrzo_s8SendableRzs5NeverORs_r0_lTRyt_Tg5TATQ0_ + 1
10 libswift_Concurrency.dylib 0x0000000263cfb0f9 _ZL23completeTaskWithClosurePN5swift12AsyncContextEPNS_10SwiftErrorE + 1
)
Any idea what is going on?