Post

Replies

Boosts

Views

Activity

Reply to I submitted app to review on app store and am getting crash on libswiftCore.dylib. When I compile and run code through Xcode everything works fine
Well, all I can see is that thread 10 crashed with an address size fault, so you might be trying to access something like an element of an array that isn't there, maybe you're trying to get array[10] in an array that has ten items, i.e. array[0...9]? Maybe you're force-unwrapping an optional? You're honestly just going to have to debug it. You have the code, we don't.
Dec ’24
Reply to iOs update camera and flash issue
You're in the wrong place. Also, "since they have updated"? Updated to what? Which version are you seeing this in? When you provide the relevant details, people can help, but just saying you have an issue doesn't help anyone. These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. Your question is more of a product support one, so I'd suggest you ask it over at the Apple Support Forums. Thanks.
Dec ’24
Reply to Timeline refresh issue for widget on ios 18.2
This is not how widgets work. The timeline is a series of snapshots of data, i.e. what should appear at the first date, then the second date, then the third etc. Your widget doesn't really run any code. You do not need a .init() method in your Entry struct, and I suspect your issue with it immediately flashing to the next timeline entry is because your Entry struct sets the date to .now for every entry. That struct should look something like this: struct EventEntry: TimelineEntry { public let date: Date let configuration: DynamicIntentWidgetPersonIntent let person: Person let type: FriendType } Then in the timeline you create a series of entries that reflect what should happen at various times. And note that you're limited to about 72 updates per day, and widgets aren't really deigned to update every few seconds, so adding 3 or 6 seconds to a date isn't going to guarantee that your widget gets updated when you think it will. Once you have a timeline set up you can see it in the preview in Xcode with something like this: #Preview(as: .systemSmall) { WidgetExtension() } timeline: { let person = //some Person object let currentDate: Date = Date.now for minuteOffset in stride(from: 0, to: (24 * 60), by: 20) { // every 20 mins for one day = 72 entries let entryDate = Calendar.current.date(byAdding: .minute, value: minuteOffset, to: currentDate, wrappingComponents: false)! EventEntry(date: entryDate, configuration: configuration, person: person, type: .whatever)) } } Scroll through the timeline at the bottom of the preview window to see how your widget changes over time. I have no idea how you're using the .init method and this whole FriendType thing, but I don't think it's working how you think it's working.
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’24
Reply to App Start Crashed
Is this an app you're developing? If so, you should probably just debug it rather than reporting here every crash you experience, as we really can't help you with every little thing that happens while you develop an app. However, given this looks like a banking app, I'd say you're trying to report that your banking app has crashed. You're in the wrong place. You need to report this crash to your bank, not us. If you already share crash reports with app developers then they will have received this crash report already. (You can enable/disable this in Settings > Privacy & Security > Analytics & Improvements > Share With App Developers.)
Dec ’24
Reply to Inscription
You should probably tell us why you can't use your iCloud account. Do you receive an error when you try to enrol? Vous devriez probablement nous dire pourquoi vous ne pouvez pas utiliser votre compte iCloud. Recevez-vous une erreur lorsque vous essayez de vous inscrire ?
Dec ’24
Reply to How to renew my developer account
Sign in at developer.apple.com Click Account at the top. Click the "Membership details" card. You should see your membership details on there. There should be an auto-renew switch that should already be enabled. If it isn't, just toggle it on. That should set it to auto-renew when it's about to expire.
Replies
Boosts
Views
Activity
Dec ’24
Reply to Xcode on windows
Not going to happen. Xcode is a Mac app. Buy a Mac. You'll actually love it.
Replies
Boosts
Views
Activity
Dec ’24
Reply to I submitted app to review on app store and am getting crash on libswiftCore.dylib. When I compile and run code through Xcode everything works fine
Well, all I can see is that thread 10 crashed with an address size fault, so you might be trying to access something like an element of an array that isn't there, maybe you're trying to get array[10] in an array that has ten items, i.e. array[0...9]? Maybe you're force-unwrapping an optional? You're honestly just going to have to debug it. You have the code, we don't.
Replies
Boosts
Views
Activity
Dec ’24
Reply to Final iPhone External Design / Maximum Security Purpose
This is the wrong place for these sort of, erm, suggestions.
Replies
Boosts
Views
Activity
Dec ’24
Reply to I submitted app to review on app store and am getting crash on libswiftCore.dylib. When I compile and run code through Xcode everything works fine
It looks like it was being tested on an iPad. Have you tested it on an iPad, or an iPad in the Simulator?
Replies
Boosts
Views
Activity
Dec ’24
Reply to otential Optimization or Bug in UINavigationController Push Operation in iOS 18
It looks like you're raising a bug? Have you raised a Feedback report? If not, please do so at https://feedbackassistant.apple.com/ then post the FB number here.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Dec ’24
Reply to .navigationTitle causes hang when creating a new item on a separate page, then navigating back to a TabView with PageTabViewStyle that is displaying that data on iOS 18.2
I couldn't reproduce this. You should raise a bug then post the FB number here. https://feedbackassistant.apple.com/
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Dec ’24
Reply to The screen doesn't work after turning on the developer mode
Haven't experienced this at all. I wonder if you can use iPhone Mirroring on a Mac with macOS Sequoia installed on it? I realise you have to enter your iPhone password on the actual iPhone to get iPhone Mirroring started, but perhaps this action will be possible? Give it a try?
Replies
Boosts
Views
Activity
Dec ’24
Reply to iOs update camera and flash issue
You're in the wrong place. Also, "since they have updated"? Updated to what? Which version are you seeing this in? When you provide the relevant details, people can help, but just saying you have an issue doesn't help anyone. These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. Your question is more of a product support one, so I'd suggest you ask it over at the Apple Support Forums. Thanks.
Replies
Boosts
Views
Activity
Dec ’24
Reply to Timeline refresh issue for widget on ios 18.2
This is not how widgets work. The timeline is a series of snapshots of data, i.e. what should appear at the first date, then the second date, then the third etc. Your widget doesn't really run any code. You do not need a .init() method in your Entry struct, and I suspect your issue with it immediately flashing to the next timeline entry is because your Entry struct sets the date to .now for every entry. That struct should look something like this: struct EventEntry: TimelineEntry { public let date: Date let configuration: DynamicIntentWidgetPersonIntent let person: Person let type: FriendType } Then in the timeline you create a series of entries that reflect what should happen at various times. And note that you're limited to about 72 updates per day, and widgets aren't really deigned to update every few seconds, so adding 3 or 6 seconds to a date isn't going to guarantee that your widget gets updated when you think it will. Once you have a timeline set up you can see it in the preview in Xcode with something like this: #Preview(as: .systemSmall) { WidgetExtension() } timeline: { let person = //some Person object let currentDate: Date = Date.now for minuteOffset in stride(from: 0, to: (24 * 60), by: 20) { // every 20 mins for one day = 72 entries let entryDate = Calendar.current.date(byAdding: .minute, value: minuteOffset, to: currentDate, wrappingComponents: false)! EventEntry(date: entryDate, configuration: configuration, person: person, type: .whatever)) } } Scroll through the timeline at the bottom of the preview window to see how your widget changes over time. I have no idea how you're using the .init method and this whole FriendType thing, but I don't think it's working how you think it's working.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’24
Reply to Use DDM Manager Safari Extensions in macOS Sequoia
This didn't need three posts for the same thing. Please don't spam the forums. I'm reporting the others as duplicates.
Replies
Boosts
Views
Activity
Dec ’24
Reply to photo album widget won’t work
These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. Your question is more of a product support one, so I'd suggest you ask it over at the Apple Support Forums. Thanks.
Replies
Boosts
Views
Activity
Dec ’24
Reply to App Start Crashed
Is this an app you're developing? If so, you should probably just debug it rather than reporting here every crash you experience, as we really can't help you with every little thing that happens while you develop an app. However, given this looks like a banking app, I'd say you're trying to report that your banking app has crashed. You're in the wrong place. You need to report this crash to your bank, not us. If you already share crash reports with app developers then they will have received this crash report already. (You can enable/disable this in Settings > Privacy & Security > Analytics & Improvements > Share With App Developers.)
Replies
Boosts
Views
Activity
Dec ’24
Reply to Inscription
You should probably tell us why you can't use your iCloud account. Do you receive an error when you try to enrol? Vous devriez probablement nous dire pourquoi vous ne pouvez pas utiliser votre compte iCloud. Recevez-vous une erreur lorsque vous essayez de vous inscrire ?
Replies
Boosts
Views
Activity
Dec ’24
Reply to Problem with testing on a physical device
assertionFailure() always kills your app, so the issue is that an error was caught. I've no idea what DSWaveformImage and DSWaveformImageViews are, and you haven't provided any sort of information or link to them for us to try and understand them.
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Dec ’24