Posts

Post marked as solved
2 Replies
122 Views
Bug: Xcode 13.3 Symbol navigator lists duplicate classes in the left column after I restructured the hierarchy. I changed the superclass of a number of classes in my Objective-C project and the changed classes now appear inside the old superclass and the new superclass in the Hierarchical view. Is there a workaround or fix for this? I tried Clean Build Folder, quitting and relaunching Xcode, but these actions do not solve the problem.
Posted
by ecology.
Last updated
.
Post not yet marked as solved
11 Replies
9.0k Views
Why is the line number 0 for my source code in symbolicated crash log?At line 4 in Thread 0, the line number is 0 for (MyCodeModule.swift:0). Why is that? Is there a way to get more details about where it crashed?This is from a crash log a customer sent. The crash seems to be coming from somewhere in string processing routines.Are Swift line number references only delivered for functions/methods in Swift classes, but not free-standing functions?Also, is there a way to get symbolicated names for the libswiftCore.dylib lines in the crashed thread?Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 libswiftCore.dylib 0x0000000104c04324 0x104948000 + 2868004 1 libswiftCore.dylib 0x0000000104bcbb6c 0x104948000 + 2636652 2 libswiftCore.dylib 0x00000001049c48fc 0x104948000 + 510204 3 libswiftCore.dylib 0x0000000104bd4f14 0x104948000 + 2674452 4 MyAppName 0x0000000104536e00 specialized MyFunctionOne(_:parameter:) + 339456 (MyCodeModule.swift:0) <-- HERE 5 MyAppName 0x000000010455c3b8 MyController.myMethodTwo(_:parameter:) + 492472 (MyController.swift:1090)Other pertinent lines from crash log:Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000020 VM Region Info: 0x20 is not in any region. Bytes before following region: 4367204320 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START ---> __TEXT 00000001044e4000-00000001044e8000 [ 16K] r-x/r-x SM=COW ...pp/MyAppName Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [0] Triggered by Thread: 0 Filtered syslog: None found
Posted
by ecology.
Last updated
.
Post marked as solved
3 Replies
792 Views
Xcode 12 crashes upon opening Developer Documentation in Window menu on macOS Catalina 10.15.6. Can't view documentation at all in Xcode. Is there a workaround to get this to work? This is a fresh install of Xcode 12 from the App Store.
Posted
by ecology.
Last updated
.
Post not yet marked as solved
0 Replies
582 Views
iCloud documents have gotten stuck 2 or 3 times at 0% uploaded on iPhone, maybe because it's cellular data instead of WiFi connection? Other Internet services are working.Is there NSFileManager or UIDocument API call that needs to be made. I see the NSFileManager method:- (BOOL)startDownloadingUbiquitousItemAtURL:(NSURL *)url error:(NSError * _Nullable *)error;Is there a similar method to start uploading a newly created iCloud document in the iOS app?Normally iCloud syncing does work, but 2 or 3 times lately it got stuck. The problem persisted even after restarting the iPhone iOS. It also does not see new changes made to iCloud documents in the macOS version of the app. Restarted macOS as well. Stuck. Then on WiFi, later the same day, the sync just works. Why the hangup?
Posted
by ecology.
Last updated
.
Post not yet marked as solved
0 Replies
742 Views
Why do iOS Spotlight search results for documents in my text document app open in the Files app instead of my app? The search results used to open correctly in my app, but something has broken. New iOS version behavior?Related questions: what should the CSSearchableItemAttributeSet. identifier be? Can it be any app defined string? Can it be a URL? Does it have to be a NSUUID?
Posted
by ecology.
Last updated
.
Post marked as solved
1 Replies
720 Views
In developing an app that has not been released yet on the app store, does the App Store generate a _MASReceipt/receipt ?Since my unreleased app does not have a app purchese receipt, the app exits with code 173 to trigger macOS to request a receipt from the App Store.I enter my testing user ID and password in the App Store validation dialog, but I get the alert message: MyApp is damaged and can't be opened. Delete "MyApp" and download it again from the App Store.I use Show Package Contents in the Finder to open the app package but there is no /_MASReceipt/receipt file there.I definitely have the /_MASReceipt/receipt file in the app package of another app that is available in the App Store.How do I get a valid _MASReceipt/receipt for testing an unreleased app?
Posted
by ecology.
Last updated
.