Post

Replies

Boosts

Views

Activity

Reply to WidgetKit TimelineProvider calling timeline() continuously
im having the same issue now , the getTimeline is being called multiple times, can't figure out what's going on. plain simple entry here: let currentDate = Date() let updateDate = Calendar.current.date(byAdding: .hour, value: 5, to: currentDate)! print("NEW Current Date:\(currentDate) update Date is: \(updateDate)") let entry = SimpleEntry(date: Date(),configuration: ConfigurationIntent(), items: DummyData.data) let timeline = Timeline(entries: [entry], policy: .after(updateDate)) completion(timeline) -- DEBUG console , running real device -- NEW Current Date:2023-10-18 13:58:34 +0000 update Date is: 2023-10-18 18:58:34 +0000 NEW Current Date:2023-10-18 13:58:37 +0000 update Date is: 2023-10-18 18:58:37 +0000 NEW Current Date:2023-10-18 13:58:38 +0000 update Date is: 2023-10-18 18:58:38 +0000 NEW Current Date:2023-10-18 13:58:40 +0000 update Date is: 2023-10-18 18:58:40 +0000 NEW Current Date:2023-10-18 13:58:40 +0000 update Date is: 2023-10-18 18:58:40 +0000`
Oct ’23
Reply to How to use a policy for Static Widgets that refreshes daily
im having the same issue now , the getTimeline is being called multiple times, can't figure out what's going on. plain simple entry here: on my real calls, im calling to an api and and have a background process downloading 3 images into memory, when this happens its calling the api all those times and running the download image process all of those times, and of course it crashes at a point cuz of memory going after 30MB -- Xcode 15 -- let currentDate = Date() let updateDate = Calendar.current.date(byAdding: .hour, value: 5, to: currentDate)! print("NEW Current Date:\(currentDate) update Date is: \(updateDate)") let entry = SimpleEntry(date: Date(),configuration: ConfigurationIntent(), items: DummyData.data) let timeline = Timeline(entries: [entry], policy: .after(updateDate)) completion(timeline) -- DEBUG console , running real device -- NEW Current Date:2023-10-18 13:58:34 +0000 update Date is: 2023-10-18 18:58:34 +0000 NEW Current Date:2023-10-18 13:58:37 +0000 update Date is: 2023-10-18 18:58:37 +0000 NEW Current Date:2023-10-18 13:58:38 +0000 update Date is: 2023-10-18 18:58:38 +0000 NEW Current Date:2023-10-18 13:58:40 +0000 update Date is: 2023-10-18 18:58:40 +0000 NEW Current Date:2023-10-18 13:58:40 +0000 update Date is: 2023-10-18 18:58:40 +0000
Oct ’23
Reply to SwiftUI Stepper Crashes (EXC_BAD_ACCESS) on My Mac (Designed for iPhone) but works fine on iOS device/simulator?
Hey @eskimo just to let you know I did fix and published already to the appstore, did a conditinoal check via ProcessInfo.processinfo.isiOSAppOnMac and did throw in a custom stepper which I had to build and act as the original stepper component :D so everything is running smoothly on the Mac right now :D I just hope that gets fixed by Apple , because just imagine... that's a very very common ui component to use.. so if any iOS app that has a stepper at some point integrate it into it, it will render the app unusable on the Mac, which I know with this M chips this compatibility thing is a Huge claim by apple on its software environment , I mean.. the whole compatibility thing its a sales point already... but that little bug.. will make a bunch of apps crashing and unusable
Feb ’24
Reply to Unsupported SDK or Xcode version (XCode 15.4 running on MacOS 15)
im having the same, was trying this fix here https://developer.apple.com/forums/thread/117438 by Go to Organizer Right-Click on your app archive -> show in Finder Right-Click on the .xcarchive -> Show package content Go to Products/Applications/"AppName".app/ Open the info.plist Find the BuildMachineOSBuild and change it to the latest public MacOS release (18F132 for macOS 10.14.5)
Jun ’24
Reply to Transfer developer account to a new computer?
I had to do this, also create a provisioning profile, export developer profile from Xcode , export the two certificates I saw on my system keychain access regarding to apple developer. On the virtual machine, import the certificates exported from the keychain , add it to System ( not to login ) , in Xcode, import the developer profile, in the App, instead of Xcode managing the provisioning profile, select to import and select the provision profile you made at developer.apple.com ( be sure to select iOS , on the devices show all and select all Macs and phones.. and everything ;) Then create the Archive, right click + show in finder. copied the xarchive to my sequoia os machine, and upload from there
Jun ’24
Reply to xCode - ITMS-90111: Unsupported SDK or Xcode version
I had create a virtual machine with Sonoma, also create a provisioning profile, export developer profile from Xcode in the main machine , export the two certificates I saw on my system keychain access regarding to apple developer. On the virtual machine, Xcode 15 import the certificates exported from the keychain , add it to System ( not to login ) , in Xcode, import the developer profile, in the App, instead of Xcode managing the provisioning profile, select to import and select the provision profile you made at developer.apple.com ( be sure to select iOS , on the devices show all and select all Macs and phones.. and everything ;) Then create the Archive, right click + show in finder. copied the xarchive to my sequoia os machine, and upload from there
Jun ’24
Reply to Unsupported SDK or Xcode version (XCode 15.4 running on MacOS 15)
I had to create virtual machine with Sonoma , install Xcode 15, then from the main machine with Sequoia but running Xcode 15, ( can be the same done in Xcode 16 this part ) create a provisioning profile, export developer profile from Xcode , export the two certificates I saw on my system keychain access regarding to apple developer. On the virtual machine (Sonoma), import the certificates exported from the keychain , add it to System ( not to login ) , in Xcode, import the developer profile, in the App general, instead of Xcode managing the provisioning profile, select to import and select the provision profile you made at developer.apple.com ( be sure to select iOS , on the devices show all and select all Macs and phones.. and everything ;) Then create the Archive, right click + show in finder. copied the xarchive to my sequoia os machine, and upload from there
Jun ’24
Reply to ITMS-90111: Invalid Toolchain
I had to create virtual machine with Sonoma , install Xcode 15, then from the main machine with Sequoia but running Xcode 15, ( can be the same done in Xcode 16 this part ) create a provisioning profile, export developer profile from Xcode , export the two certificates I saw on my system keychain access regarding to apple developer. On the virtual machine (Sonoma), import the certificates exported from the keychain , add it to System ( not to login ) , in Xcode, import the developer profile, in the App general, instead of Xcode managing the provisioning profile, select to import and select the provision profile you made at developer.apple.com ( be sure to select iOS , on the devices show all and select all Macs and phones.. and everything ;) Then create the Archive, right click + show in finder. copied the xarchive to my sequoia os machine, and upload from there
Jun ’24