Post

Replies

Boosts

Views

Activity

Reply to iPad attempting to import Journaling Suggestions
This won't let me upload the zip file.. import SwiftUI #if canImport(JournalingSuggestions) import JournalingSuggestions #endif struct ContentView: View { var willNotCrash: AnyView { #if canImport(JournalingSuggestions) if true == false { //should never run, but still crashes return AnyView(JournalingSuggestionsPicker("Picker") { suggestion in }) } else { return AnyView(Text("Should always show")) } #else return AnyView(Text("Should show on ipad")) #endif } @ViewBuilder var willCrash: some View { #if canImport(JournalingSuggestions) if true == false { JournalingSuggestionsPicker("Picker") { suggestion in } } else { Text("Should always show") } #else Text("Should show on ipad") #endif } var body: some View { VStack { // willCrash willNotCrash } .padding() } }
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’24
Reply to iPad attempting to import Journaling Suggestions
Failed to look up symbolic reference at 0x10460f095 - offset 3979 - symbol symbolic _____y_____y_____yACy__________y_____GG_____y_____GG___________y_____yAMGAMGtGG 7SwiftUI6VStackV AA9TupleViewV AA15ModifiedContentV AA5ImageV AA30_EnvironmentKeyWritingModifierV AI5ScaleO AA016_ForegroundStyleL0V AA09TintShapeO0V AA4TextV AA012_ConditionalG0V 21JournalingSuggestions0tU6PickerV in /private/var/folders/dg/m7p8ljs52vv5phhm44r9bb7h0000gn/X/92886C6C-BD41-5654-A4AC-0B95A4D04BC7/d/Wrapper/JournalingSuggestionsCrash1.app/JournalingSuggestionsCrash1.debug.dylib
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’24
Reply to iPad attempting to import Journaling Suggestions
#if canImport(JournalingSuggestions) if true == false { //OBVIOUSLY this case will never "run" but SwiftUI still checks it, and therefore crashes the app //THIS STILL CAUSES A CRASH ON IPAD, if I want it to run i need to comment out. JournalingSuggestionsPicker { Text("Choose a suggestion") } onCompletion: { suggestion in print("suggestion:", suggestion) } } else { //Only getting here if I comment out JournalingSuggestions code cause CRASH Text("Would see this on iPad if I used the device idiom check instead of true == false") } #else Text("Only see this on simulator, when I don't link weakly, otherwise i cannot build to simulator no matter what") #endif
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’24
Reply to iPad attempting to import Journaling Suggestions
#if canImport(JournalingSuggestions) just does not work. The code inside of it always runs. It doesn't matter if I mark the framework as optional in build phases. I doesn't matter if I provide the manual linker flag. Anything inside #if canImport(JournalingSuggestions) still executes on iPads. This is BEYOND problematic because it doesn't MATTER if I use the device idiom to check if it's on an iPad or a phone. Because SwiftUI runs that code no matter what. The binary will always crash because #if canImport(JournalingSuggestions) does not block execution. And besides, the linker flags solution DID NOT fix the simulator issue. Same exact issue. This is a massive problem.
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’24
Reply to Core Data, CloudKit - Failed to find matching objectIDs for CKRecordID
I created a huge data store while I've been building with Xcode. On one of my devices, I downloaded the TestFlight version.. which runs the prod version of CloudKit db. I assume thats the trouble but yeah now I get thousands and thousands of CoreData: debug: CoreData+CloudKit: -[PFCloudKitSerializer applyUpdatedRecords:deletedRecordIDs:toStore:inManagedObjectContext:onlyUpdatingAttributes:andRelationships:madeChanges:error:]_block_invoke(1021): Failed to find matching objectIDs for <CKRecordID: 0x2823541c0; recordName=BFE5B0E0-E4BC-4151-B64F-771AF271DE6C, zoneID=com.apple.coredata.cloudkit.zone:defaultOwner> / <CKRecordID: 0x2823542c0; recordName=B342EDDF-8F2A-4496-B5AB-BEF29AF4018C, zoneID=com.apple.coredata.cloudkit.zone:defaultOwner> in pending relationship: 0x9eebd60aabec84c2 x-coredata://1DE90E1A-C7CF-4963-B10F-60142BFFCFD7/NSCKImportPendingRelationship/p11489 After trying to reinstall it via Xcode
Apr ’23
Reply to Core Data, CloudKit - Failed to find matching objectIDs for CKRecordID
I created a huge data store while I've been building with Xcode. On one of my devices, I downloaded the TestFlight version.. which runs the prod version of CloudKit db. I assume thats the trouble but yeah now I get thousands and thousands of CoreData: debug: CoreData+CloudKit: -[PFCloudKitSerializer applyUpdatedRecords:deletedRecordIDs:toStore:inManagedObjectContext:onlyUpdatingAttributes:andRelationships:madeChanges:error:]_block_invoke(1021): Failed to find matching objectIDs for <CKRecordID: 0x2823541c0; recordName=BFE5B0E0-E4BC-4151-B64F-771AF271DE6C, zoneID=com.apple.coredata.cloudkit.zone:defaultOwner> / <CKRecordID: 0x2823542c0; recordName=B342EDDF-8F2A-4496-B5AB-BEF29AF4018C, zoneID=com.apple.coredata.cloudkit.zone:defaultOwner> in pending relationship: 0x9eebd60aabec84c2 x-coredata://1DE90E1A-C7CF-4963-B10F-60142BFFCFD7/NSCKImportPendingRelationship/p11489 After trying to reinstall it via Xcode
Apr ’23
Reply to Xcode previews fail with JIT error
error log
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to iPad attempting to import Journaling Suggestions
This won't let me upload the zip file.. import SwiftUI #if canImport(JournalingSuggestions) import JournalingSuggestions #endif struct ContentView: View { var willNotCrash: AnyView { #if canImport(JournalingSuggestions) if true == false { //should never run, but still crashes return AnyView(JournalingSuggestionsPicker("Picker") { suggestion in }) } else { return AnyView(Text("Should always show")) } #else return AnyView(Text("Should show on ipad")) #endif } @ViewBuilder var willCrash: some View { #if canImport(JournalingSuggestions) if true == false { JournalingSuggestionsPicker("Picker") { suggestion in } } else { Text("Should always show") } #else Text("Should show on ipad") #endif } var body: some View { VStack { // willCrash willNotCrash } .padding() } }
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to iPad attempting to import Journaling Suggestions
I was able to narrow it down to ViewBuilders. Here is a sample project. I'm able to fix this by wrapping this inside a non view builder type erased view. MESSY
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to iPad attempting to import Journaling Suggestions
Failed to look up symbolic reference at 0x10460f095 - offset 3979 - symbol symbolic _____y_____y_____yACy__________y_____GG_____y_____GG___________y_____yAMGAMGtGG 7SwiftUI6VStackV AA9TupleViewV AA15ModifiedContentV AA5ImageV AA30_EnvironmentKeyWritingModifierV AI5ScaleO AA016_ForegroundStyleL0V AA09TintShapeO0V AA4TextV AA012_ConditionalG0V 21JournalingSuggestions0tU6PickerV in /private/var/folders/dg/m7p8ljs52vv5phhm44r9bb7h0000gn/X/92886C6C-BD41-5654-A4AC-0B95A4D04BC7/d/Wrapper/JournalingSuggestionsCrash1.app/JournalingSuggestionsCrash1.debug.dylib
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to iPad attempting to import Journaling Suggestions
#if canImport(JournalingSuggestions) if true == false { //OBVIOUSLY this case will never "run" but SwiftUI still checks it, and therefore crashes the app //THIS STILL CAUSES A CRASH ON IPAD, if I want it to run i need to comment out. JournalingSuggestionsPicker { Text("Choose a suggestion") } onCompletion: { suggestion in print("suggestion:", suggestion) } } else { //Only getting here if I comment out JournalingSuggestions code cause CRASH Text("Would see this on iPad if I used the device idiom check instead of true == false") } #else Text("Only see this on simulator, when I don't link weakly, otherwise i cannot build to simulator no matter what") #endif
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Apr ’24
Reply to iPad attempting to import Journaling Suggestions
#if canImport(JournalingSuggestions) just does not work. The code inside of it always runs. It doesn't matter if I mark the framework as optional in build phases. I doesn't matter if I provide the manual linker flag. Anything inside #if canImport(JournalingSuggestions) still executes on iPads. This is BEYOND problematic because it doesn't MATTER if I use the device idiom to check if it's on an iPad or a phone. Because SwiftUI runs that code no matter what. The binary will always crash because #if canImport(JournalingSuggestions) does not block execution. And besides, the linker flags solution DID NOT fix the simulator issue. Same exact issue. This is a massive problem.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Apr ’24
Reply to iPad attempting to import Journaling Suggestions
This did not fix it @sha921 @eskimo
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Apr ’24
Reply to iPad attempting to import Journaling Suggestions
This did not fix it for me. I did all of this. Now I can't even build on simulator.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Apr ’24
Reply to JournalingSuggestions crashes on iPad and won't build on Simulator even if the library is marked as optional
https://forums.developer.apple.com/forums/thread/746843
Replies
Boosts
Views
Activity
Apr ’24
Reply to Cannot preview visionOS apps because of Packages that do not support visionOS
Right. So I specifically am not using it in visionOS. It's just a sample package. I have 5 or so that cannot be used on visionOS. The app builds fine. I've put in the necessary #if os(iOS) and #if canImport(Etc) The problem is with SwiftUI previews. Not with a package.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’24
Reply to Offer codes for non-consumable in-app purchases
Wow this is really quite a problem. Why on earth could we give out promo codes for a subscription but not for non consumables???
Replies
Boosts
Views
Activity
Jul ’23
Reply to Core Data, CloudKit - Failed to find matching objectIDs for CKRecordID
I created a huge data store while I've been building with Xcode. On one of my devices, I downloaded the TestFlight version.. which runs the prod version of CloudKit db. I assume thats the trouble but yeah now I get thousands and thousands of CoreData: debug: CoreData+CloudKit: -[PFCloudKitSerializer applyUpdatedRecords:deletedRecordIDs:toStore:inManagedObjectContext:onlyUpdatingAttributes:andRelationships:madeChanges:error:]_block_invoke(1021): Failed to find matching objectIDs for <CKRecordID: 0x2823541c0; recordName=BFE5B0E0-E4BC-4151-B64F-771AF271DE6C, zoneID=com.apple.coredata.cloudkit.zone:defaultOwner> / <CKRecordID: 0x2823542c0; recordName=B342EDDF-8F2A-4496-B5AB-BEF29AF4018C, zoneID=com.apple.coredata.cloudkit.zone:defaultOwner> in pending relationship: 0x9eebd60aabec84c2 x-coredata://1DE90E1A-C7CF-4963-B10F-60142BFFCFD7/NSCKImportPendingRelationship/p11489 After trying to reinstall it via Xcode
Replies
Boosts
Views
Activity
Apr ’23
Reply to Core Data, CloudKit - Failed to find matching objectIDs for CKRecordID
I created a huge data store while I've been building with Xcode. On one of my devices, I downloaded the TestFlight version.. which runs the prod version of CloudKit db. I assume thats the trouble but yeah now I get thousands and thousands of CoreData: debug: CoreData+CloudKit: -[PFCloudKitSerializer applyUpdatedRecords:deletedRecordIDs:toStore:inManagedObjectContext:onlyUpdatingAttributes:andRelationships:madeChanges:error:]_block_invoke(1021): Failed to find matching objectIDs for <CKRecordID: 0x2823541c0; recordName=BFE5B0E0-E4BC-4151-B64F-771AF271DE6C, zoneID=com.apple.coredata.cloudkit.zone:defaultOwner> / <CKRecordID: 0x2823542c0; recordName=B342EDDF-8F2A-4496-B5AB-BEF29AF4018C, zoneID=com.apple.coredata.cloudkit.zone:defaultOwner> in pending relationship: 0x9eebd60aabec84c2 x-coredata://1DE90E1A-C7CF-4963-B10F-60142BFFCFD7/NSCKImportPendingRelationship/p11489 After trying to reinstall it via Xcode
Replies
Boosts
Views
Activity
Apr ’23
Reply to CoreData CloudKit sync resulting in main thread initialisation issue
I'm getting the same thing, except I'm using Catalyst. Which doesn't enable me to use NSApplication. I have no idea how to fix this
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’23
Reply to Current CloudKit pricing?
This is really frustrating. I’ve been trying to figure out if I can scale my transfer rate because it looks like I’m being throttled, but I can’t find anything.
Replies
Boosts
Views
Activity
Dec ’22