This is a dedicated space for developers to connect, share ideas, collaborate, and ask questions. Introduce yourself, network with other developers, and join us in fostering a supportive community.

All subtopics
Posts under Community topic

Post

Replies

Boosts

Views

Activity

Overnightforecast data from weatherResponse.dailyForecast.forecast array object
Background: We are using Apple WeatherKit for an app to fetch future weather data specialty cloudCover and condition and pretipitationChance from the Overnightforecast data from weatherResponse.dailyForecast.forecast array object. Code Sample: On xcode on Swift and Swift UI using Apple WeatherKit task{ do{ let weatherResponse= try await self.weatherService.forecast(for: latLong) let cloudCover = weatherResponse.dailyForecast.forecast[0].overnightforecast.cloudCover Issue: While we are on debug mode, we can literally see overnightforecast.cloudCover data (as well as condition and pretipitationChance) is available under from index 0 to index 10 of weatherResponse.dailyForecast.forecast array object but when we are trying to assign this property, its throwing error as "overnightforecast object not present under weatherResponse.dailyForecast.forecast array object" Attachment:
3
0
383
Feb ’25
Audio MIDI Set Up wont load
Hi - I've been using logic for a few years now. Three days ago I whilst opening it, a pop up said MIDICORE was not working and I haven't been able to fix it since. I read online that booting up in safe mode + opening audio MIDI set up would fix it, thing is audio MIDI set up wont load up. Anyone knows how I can fix it? I am on the verge of tears as I cannot seam to find any information online about audio MIDI set up not opening. And I cannot seam to fix the MIDI issue without it. Thanks!
0
1
258
Feb ’25
Keys are missing in App Store Server API
For the subscription API, we’re using the Get All Subscription Statuses API to replace the deprecated verifyReceipt method. To determine if a user has canceled their subscription, we’re using the expirationIntent key from JWSRenewalInfo data. However, we’ve noticed that we sometimes receive this key and other times not. We’re also facing an issue with the offertype key. We use this key to determine if a user is currently in the introductory offer, the promotion offer, or neither. To obtain this key, we’re using JWSTransaction, but we occasionally receive it and other times not. Note: These issues are being tested in the sandbox environment. Thank you.
1
0
316
Feb ’25
How will my app be tested in the Swift Student Challenge?
Hello, I’m developing my project for the Swift Student Challenge and I have some questions about the platform it will be tested on. If I create an iOS app that uses ARKit, for example, will it be evaluated on a real iPhone or only in a simulator on a Mac? I ask this because some functionalities, such as camera-based augmented reality, don’t work properly in the simulator. I’d like to better understand the guidelines to ensure my project functions correctly during the evaluation. Thank you!
3
1
640
Feb ’25
Guided Capture iOS analysis phase time?
I've just watched "Meet Object Capture for iOS wwdc23" and have installed and run the app. After taking > 120 images of my model I clicked the "Finish" button and the app is now showing a spinning pinwheel. It has been running for about 22 hours. Is it going to finish or should I kill it? TIA!
3
0
270
Feb ’25
My system has become damaged by my experimentation. But Recovery refuses to re-install
My experiments have managed to damage my installed system and I am getting alerts that it needs to be re-installed. But when I try to get Recovery to re-install the same system, it refuses. It says my installed system is newer than what it could install. In general, what is the minimum I would need to change or remove from my current system to convince Recovery to re-install? For example: Could I just delete a certain small group of System files? Could I Erase only the Macintosh HD Volume in the container, leaving the Macintosh HD - data Volume intact? I really would rather not ERASE everything and restore it all from backups, just to satisfy Recovery that it will not be writing older over newer. It won't be, but since I have available applied updates, the version available for Restore is currently older than the damaged version on the drive.
1
0
173
Feb ’25
I can't disableScreen Sharing session initiated by somebody else
Another developer tried to start a screen-sharing session with me on my M1 MacBook Air this morning (Sequoia 15.3). He reported however that another session was already under way on my machine. I looked in System Settings and found that the "Screen Sharing" setting was grayed out, with the notation that "This service is currently being controlled by the Remote Management service". Access to the service is disabled however, and I have no way of turning it off. It's possible that the person who tried to help me got this session started, and that it then got aborted in some irregular way, but he see no indication of that and says there is no connection between us as seen from his end. This makes me nervous security-wise. Is there some way I can turn this off and ensure that I am not being screen-shared against my will, as it were? TIA, Howard
0
0
135
Feb ’25
iCloud from Microsft Store Won't sign in or Sync FIles
Has anyone had the issue where you try to sign in and you have to repetitively put you log in in to finally take? When it does take you set up your syncing options but your photo's, Files and everything never sync. I've updated all my system files on my computer. I even did a clean install of my windows operating system and installed it and it's doing the same thing. Any suggestions?
1
0
285
Feb ’25
3rd party camera hardware with API
I hope questions about third party APIs are allowed. If not I guess a delete is in order. That said.... I am looking to do an app for dog owners, trainers and enterprises such as shelters & boarding, and a couple of features require access to one or more cameras in real time. So I have been looking for hardware that provides an API and coming up empty. So far as I can tell none of the major pet cam companies, like Furbo, Petcube or Eufy. Even security cameras like the TP-Link Tapo doesn't seem to. Am I just failing epically in my search formulation, or are all these companies playing the printer game and selling the camera cheap and making all their money in the monthly subscription to actually be able to use the hardware, and keeping that to themselves? And, can anyone recommend decent to good third party hardware that does provide a Swift API? Or am I better off just targeting the use of iPhone & iPad and Mac cameras? It's not ideal, but it's better than nothing.
0
0
395
Feb ’25
Pages continues to crash
Process: Pages [24164] Path: /Applications/Pages.app/Contents/MacOS/Pages Identifier: com.apple.iWork.Pages Version: 14.3 (7042.0.76) Build Info: Pages-7042000076000000~4 (1A80s) App Item ID: 409201541 App External ID: 869633787 Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501 Date/Time: 2025-02-03 10:33:48.0108 -0500 OS Version: macOS 15.0 (24A5264n) Report Version: 12 Anonymous UUID: CADF4BC4-9940-34D7-7009-116B6231DC3E Sleep/Wake UUID: 74C42190-FF06-46AE-B3A5-A3EBD47E7F1F Time Awake Since Boot: 350000 seconds Time Since Wake: 720 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000 Exception Codes: 0x0000000000000001, 0x0000000000000000 Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 Terminating Process: exc handler [24164] VM Region Info: 0 is not in any region. Bytes before following region: 4336156672 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START ---> __TEXT 102748000-1039a0000 [ 18.3M] r-x/r-x SM=COW /Applications/Pages.app/Contents/MacOS/Pages Model: Mac14,2, BootROM 11881.0.80.0.2, proc 8:4:4 processors, 8 GB, SMC Graphics: Apple M2, Apple M2, Built-In Display: Color LCD, 2560 x 1664 Retina, Main, MirrorOff, Online Memory Module: LPDDR5, Hynix AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4387), wl0: Apr 22 2024 07:25:15 version 20.10.1110.0.8.7.176 FWID 01-f2e48c5b IO80211_driverkit-1302.55 "IO80211_driverkit-1302.55" May 30 2024 20:56:50 AirPort: Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports Network Service: Wi-Fi, AirPort, en0 USB Device: USB31Bus USB Device: USB31Bus Thunderbolt Bus: MacBook Air, Apple Inc. Thunderbolt Bus: MacBook Air, Apple Inc.
1
0
244
Feb ’25
Winner's visa issue
It was mentioned in the Swift Student Challenge that outstanding winners will have the opportunity to visit Apple Park in the United States. However, as a challenger from China who is not currently in the U.S., this means that if I receive the outstanding award, I will need to apply for a visa to travel to Apple Park. Since I am under 18, my guardian would also need to apply for a visa. Therefore, I would like to know if Apple provides visa assistance for outstanding winners and their guardians from China, or if we are responsible for applying for the visas on our own.
1
1
489
Feb ’25
Crash Report
Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6 Terminating Process: Microsoft Excel [1618] Application Specific Information: stack buffer overflow Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x19da2b720 __pthread_kill + 8 1 libsystem_pthread.dylib 0x19da63f70 pthread_kill + 288 2 libsystem_c.dylib 0x19d97099c __abort + 136 3 libsystem_c.dylib 0x19d961e74 __stack_chk_fail + 96 4 Microsoft Excel 0x106a89f88 0x104bdc000 + 32169864 5 Microsoft Excel 0x106a89b74 0x104bdc000 + 32168820 6 Microsoft Excel 0x106acc2fc 0x104bdc000 + 32441084 7 Microsoft Excel 0x106a98cc4 0x104bdc000 + 32230596 8 Microsoft Excel 0x106a97c04 0x104bdc000 + 32226308 9 Microsoft Excel 0x106a897f4 0x104bdc000 + 32167924 10 Microsoft Excel 0x106a8731c 0x104bdc000 + 32158492 11 Microsoft Excel 0x105d69ac8 0x104bdc000 + 18406088 12 Microsoft Excel 0x1061bea10 0x104bdc000 + 22948368 13 Microsoft Excel 0x104dbc1b4 0x104bdc000 + 1966516 14 Microsoft Excel 0x104d828a8 0x104bdc000 + 1730728 15 Microsoft Excel 0x104d80ff8 0x104bdc000 + 1724408 16 Microsoft Excel 0x104d809b4 0x104bdc000 + 1722804 17 Microsoft Excel 0x104d808e0 0x104bdc000 + 1722592 18 Foundation 0x19ed394e8 __NSFireDelayedPerform + 372 19 CoreFoundation 0x19db66384 CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION + 32 20 CoreFoundation 0x19db66028 __CFRunLoopDoTimer + 1012 21 CoreFoundation 0x19db65b38 __CFRunLoopDoTimers + 356 22 CoreFoundation 0x19db4b520 __CFRunLoopRun + 1856 23 CoreFoundation 0x19db4a724 CFRunLoopRunSpecific + 588 24 HIToolbox 0x1a90a2530 RunCurrentEventLoopInMode + 292 25 HIToolbox 0x1a90a8348 ReceiveNextEventCommon + 676 26 HIToolbox 0x1a90a8508 _BlockUntilNextEventMatchingListInModeWithFilter + 76 27 AppKit 0x1a16b5034 _DPSNextEvent + 660 28 AppKit 0x1a20192d4 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688 29 AppKit 0x1a16a8060 -[NSApplication run] + 480 30 AppKit 0x1a167e854 NSApplicationMain + 888 31 dyld 0x19d6e4274 start + 2840 Thread 1: 0 libsystem_kernel.dylib 0x19da22f54 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x19da35604 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x19da2baf8 mach_msg_overwrite + 480 3 libsystem_kernel.dylib 0x19da2329c mach_msg + 24 4 merp 0x108eb7f74 0x108eb4000 + 16244 5 libsys
2
0
168
Feb ’25
Swift playgrounds and display orientation swift student challenge submission
I was developing my app on Xcode and I saw in requirements it says “your submission must be an app playground (.swiftpm) I reckon I can develop in Xcode and then copy those files in playgrounds app, make some changes, for it to work. also I made my project in landscape mode in Xcode, in playgrounds can I lock display orientation through package.swift file or I should continue making me app in landscape mode and ask players to change their viewing orientation via a popup?
2
1
395
Feb ’25
Swift Form on iOS
I am new to swift (developer from long ago) and have not been able to resolve an issue with IOS - I am building a text entry box with save / cancel buttons at bottom and a texteditor above all within a fixed size frame. It's all OK on macOS but when I try iOS the space taken by the form weirdly expands (beyond the size of the text editor) and end up pushing the save /cancel buttons below outside view. An extract of the code is here. I have tried all sorts of things like setting frame sizes, line limits, spacers, scrolling disable, but I can't stop the behaviour. Any ideas. Apologies if this is well known or my issue due to inexperience I just can't resolve it. private func editSource(in geometry: GeometryProxy) -> some View { NavigationStack{ Form { Section(header: Text("Source Name")) { TextEditor(text: $newSourceName) .font(.title3) .padding(5) .background( RoundedRectangle(cornerRadius: 10) .fill(.background) ) .textFieldStyle(PlainTextFieldStyle()) .frame(height: 50) .foregroundColor(.primary) .focused($isSourceFocused) } } HStack { Button("Save") { events[eventIndex].source = newSourceName isEditingSource = false isSourceFocused = false disableEdit = false } Spacer() Button("Cancel", role: .cancel) { isSourceFocused = false isEditingSource = false disableEdit = false } } .padding() .layoutPriority(1) } #if os(macOS) .scrollDisabled(true) .padding() .frame(height: 180) .frame(width: 240) .background(.gray) #else .frame(width: 240) .frame(height: 240) #endif .cornerRadius(10) .clipShape(RoundedRectangle(cornerRadius: 10)) .overlay( RoundedRectangle(cornerRadius: 10) .stroke(Color.blue, lineWidth: 1) ) .position(sourceLocation) .offset(x: 0, y: 100) .zIndex(1) .onAppear() { isSourceFocused = true newSourceName = events[eventIndex].source } }
4
0
240
Feb ’25
Flutter Hanging Splash Screen
Hi All, Im writing a flutter app and have had no issue thus far. My latest review says the iPad air (5th) is hanging on the splash (launch) screen. I have no idea why this is. The main method In flutter is more or less empty, as functions have been offset elsewhere. I'm not quite sure what to do next. I resorted to rebuilding the IOS dir and that make a difference for the iPhone issue not the iPad. I run it in the simulator and notice one issue which I imagine is the problem. it states: Errors found! Invalidating cache... fopen failed for data file: errno = 2 (No such file or directory) Errors found! Invalidating cache... I'm using plane old flutter and don't believe I access any assets that aren't specified. Any pointer would be a great help!
1
0
263
Feb ’25
Problem with deleting the MinimaList app
A question from an ordinary user for developers: The essence of the problem: I installed the To Do List by MinimaList app on both my MacBook and iPhone. After installing it, I decided not to use it and deleted the application. https://apps.apple.com/us/app/minimalist-to-do-list-widget/id993066159 However, it turned out that not everything was removed. Specifically: • In the “Allow Others to Find Me” section on both my MacBook and iPhone, these apps still appear. No matter what I do—whether I delete or clear them—they continue to be displayed there. • This app continues to appear in the section located at: Settings → Apple ID → iCloud → Stored in iCloud → See All → Allow Finding Me – To Do List and one more item. • It cannot be deleted. • It won’t delete on my MacBook, and it won’t delete on my iPhone. • It also appeared in iCloud itself under the Email Search section. P.S. The official Apple support (without violating any internal regulations) advised me to post on the forum to get in touch with Apple developers. In hope, I am posting this question here.
0
0
224
Feb ’25
Sidecar between macbook and ipad not connecting
Hi, I have a Retina 13 inch 2020 macbook air and an iPad 7. My macbook is updated to macOS sonoma and my iPad is updated to iPadOS 18.3. I want to use the sidecar feature on my mac and project the macbook display onto my iPad. I remember it working around a year ago when I used this feature before, but now it's telling me I have issues connecting due to my iPad's WiFi being 'unavailable.' However, my iPad isn't connecting to hot-spot, my mac isn't sharing the internet connection, they're linked to the same apple ID account, and they're on the same WiFi network. I've tried connecting both wirelessly and wired (and trusted the computer) but no matter how much I troubleshoot it, it won't connect. I'd be really grateful if somebody could help me fix this. Thanks :D
1
0
155
Feb ’25