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

Calling a Objc method directly from C
I would like to avoid the middle man and call Objective C directly from C Currently I do this This is called from a dispatch table in a pure C file _ctx->mt_render_funcs.mtlEnd(_ctx); Which calls this routine in a obj c file .m void mtlEnd(MTRenderContext mt_ctx) { // Call the Objective-C method using Objective-C syntax [(__bridge id) mt_ctx->mt_render_funcs.mtlObj mtlEnd]; } Which ends up here... in ObjC #pragma mark mtlEnd (void)mtlEnd { // vertex buffer size_t size; size = sizeof(Vertex4ColorNormalTex) * _ctx->vert_eng.current_vertex; [_currentRenderEncoder setVertexBytes:_ctx->vert_eng.vertices length: size atIndex: VertexInputIndexVertices]; [_currentRenderEncoder drawPrimitives:(MTLPrimitiveType)_ctx->vert_eng.prim_type vertexStart:0 vertexCount:_ctx->vert_eng.current_vertex]; } It would simplify this to get rid of one call and call ObjC directly. The other idea is I want to use GCD and put a lock / unlock on the call from C to ensure thread safety so I can use GCD to dispatch a thread to do the ObjC routines. I want to stick with C as the foundation so it can be used directly from C or a FFI interface from other languages. But Metal works well in ObjC and I would prefer to use that. Thanks ahead of time.
0
0
17
2h
Appcrash on M4 MAX
I develop and build the DeepSkyStacker application on an M4 Mac Mini. A user reports that with a given set of data files and application settings, that it crashes on his M4 MAX. He sent me his data files, and I can't provoke a crash on my M4. He also sent an App Crash report file which I attach. Any insight into the likely cause of the problem will be appreciated (yes, I know it is a segfault in code called from Avx256Stacking::pixelPartitioning - probably a lambda ...). dss-6.1.3-crash.log
1
0
26
9h
macOS ADCertificate Managed Payload – Auto-Renewal Not Working
We are experiencing an issue with ADCertificate auto-renewal on macOS devices enrolled via MDM. Platform: macOS CA: Microsoft AD CS Payload Type: com.apple.ADCertificate.managed Initial certificate enrollment works correctly EnableAutoRenewal is set to true Certificate does not renew automatically as it approaches expiry We would like to confirm: Are there any known issues with macOS ADCertificate managed payload auto-renewal, particularly with Microsoft AD CS environments? Below is the exact payload configuration in use: Thank you.
0
0
14
10h
Country missing from address section for Swift Student Challenge
Hello Apple Developer Community, I am planning to participate in the Swift Student Challenge 2026. However, while reviewing the application form, I noticed that my country of residence is not listed in the address dropdown menu. I would like to clarify the correct way to proceed in this situation to avoid disqualification: Is it permissible to use the address of a relative who lives in a supported region as my contact address? Is filling out the shipping address mandatory for the initial submission, or is there an option to proceed without it? I want to ensure I fully comply with the Terms and Conditions. Any guidance or advice would be greatly appreciated. Thank you!
1
0
51
12h
【溦87253212】腾龙公司怎么注册游戏账号?
第一步、访问官方网站在浏览器中输入腾龙公司官方认证的网址,确保访问的是真实有效的平台,避免因误入仿冒网站导致信息泄露或注册失败。 第二步、启动注册程序进入官网后,在页面右上角或显眼位置找到“注册”按钮并点击,系统将弹出注册窗口。 第三步、填写核心信息在注册窗口中需提供以下内容:用户名:作为登录游戏平台的唯一标识,需确保未被其他用户占用。密码设置:建议采用字母、数字及符号的复杂组合,避免使用生日、连续数字等弱口令,以提升账号安全性。手机号码:需为实名认证的号码,用于接收验证码或后续账号安全验证。 第四步、完成注册验证提交信息后,系统可能要求通过短信验证码、邮箱验证或绑定社交媒体账号等方式完成二次验证。验证通过后,页面将提示“注册成功”。
0
0
259
15h
macOS 26.4 Dev Beta 2 Install Fails
Hardware: • Mac Studio (M1 Ultra) • Apple Silicon • Sufficient free disk space (~35GB+ available) • SIP enabled • 4 local Time Machine snapshots present Current System: • Already running macOS Tahoe beta • Attempting upgrade to macOS Tahoe 26.4 Beta (Build 25E5207k) Primary Issue: Software Update downloads successfully, then moves to “Preparing…”. It stalls at “About 5 minutes remaining” for ~10–15 minutes and fails with: “Failed to prepare the software update. Please try again. An error occurred while downloading the selected updates.” The error appears network-related, but download always completes. Observed Behaviour: • “Checking for Updates” completes in <3 minutes. • softwareupdated and mobileassetd CPU usage <1%. • softwareupdate --history shows no record of the failed beta install. • No excessive system load or obvious disk pressure. Steps Already Attempted: 1. Standard Software Update retries • Multiple download/retry cycles from System Settings. • Same Preparing failure every time. 2. Permissions / Disk Access • Granted Terminal Full Disk Access. • SIP remains enabled. • Some system-protected locations still return “Operation not permitted”. 3. Cache / State Cleanup Attempts • Removed /Library/Updates/*. • Cleared temporary softwareupdate folders under /private/var/tmp. • Attempted MobileAsset cache cleanup where permitted. • Killed softwareupdated and mobileassetd processes (auto-restarted by launchd). 4. Beta Channel Reset • Turned Beta Updates OFF in System Settings. • Rebooted. • Re-enabled Beta Updates. • Forced catalog refresh via softwareupdate -l. 5. Snapshot Check • tmutil listlocalsnapshots / shows only 4 snapshots (normal range). 6. Full Installer Workaround softwareupdate --list-full-installers shows: • macOS Tahoe Beta 26.4 (25E5207k) • Tahoe 26.3 / 26.2 / 26.1 • Sequoia / Sonoma / Ventura / Monterey installers Downloaded installer via: softwareupdate –fetch-full-installer –full-installer-version 26.4 Installer downloaded correctly: /Applications/Install macOS Tahoe Beta.app 7. startosinstall Method (Apple Silicon optimized) Attempted install with: sudo “/Applications/Install macOS Tahoe Beta.app/Contents/Resources/startosinstall” –user –agreetolicense –nointeraction –forcequitapps –rebootdelay 30 –passprompt Authorization succeeds, installer begins preparing, but installation still ultimately fails. Additional Notes: • CPU usage remains low during failure. • No excessive snapshot count. • Error messaging consistently references download/network even though download completes. • Issue appears to occur during cryptex/asset preparation phase rather than initial download. Question for Apple / other developers: Has anyone else seen Tahoe 26.4 beta fail specifically during the Preparing phase on Apple Silicon (especially Ultra-class chips)? Looking for confirmation whether this is a known MobileAsset or cryptex staging issue, or if logs indicate a deeper APFS / volume-owner authorization problem.
9
1
334
19h
WiFi not working since build 25E5218f
I installed the latest build of Tahoe (25E5218f) yesterday on our test machine, an M1 Pro MacBook Pro and have been having a hard time getting my WiFi network to work. It's especially noticeable in Mail and Safari. Mail shows it can't connect to the designated server, and Safari simply can't connect to most sites. None of my other devices or computers are having problems, so I have to assume it's this last build that is the culprit. When I tether to my iPhone Air, everything pops back into place and I can access Mail and use Safari. I've reported the problem with FBA, but wanted to know if anyone else is experiencing the same thing.
3
0
77
20h
Can I withdraw my submission and resubmit an updated playground?
Hello everyone, I have already submitted my app playground for the Swift Student Challenge. After submission I noticed a few things I would like to improve and fix. Is it possible to withdraw my current submission and then immediately resubmit an updated version? Any clarification (especially from Apple staff or anyone who has done this before) would be very helpful. Thank you!
1
0
86
1d
Are Xcode warnings like this safe to submit (won’t disqualify)?
I’m building a Swift Playgrounds app (.swiftpm) in Xcode 26.2 and I consistently see this warning, even on brand-new Swift Playgrounds apps created from the default template: “Skipping duplicate build file in Compile Sources build phase: /Users/.../.swiftpm/Media.xcassets” Everything builds and runs normally and all images/assets appear correctly, so it seems like it’s just an annoying warning. I’ve checked for duplicates and don’t see the asset catalog listed twice, but the warning still appears whenever I add an asset catalog to any playground project in Xcode. Is this warning safe to ignore for submission, and it won’t affect Swift Student Challenge eligibility?
5
0
174
1d
First time SSC contestant here. Need some advice.
I hope you’re having a fantastic New Year and that your apps are doing great! This is my first time entering SSC , and I’m excited to share that I’m developing a screen timer app. The idea is to encourage you to take breaks by suggesting a run or workout instead of spending too much time on your screens. I was wondering, have anyone else included short videos or animations in their entries before? Also, could my screen time timer be running in the background? I know there are some limitations with integrations like HealthKit and Screen Time, which is why I’m using a regular countdown timer on the App Store as a prototype. I’m just trying to clarify the rules below to make sure that it’s all good to go : “If your submission includes any open source software, music, photos, artwork, or any other content that you do not have ownership rights in, you agree to (a) comply with all applicable licensing terms and copyright obligations and (b) provide an explanation of why it was used.” And regarding any tracking stuff in the disqualification section, whereas nothing in the app should include: “You track and/or insert analytics code in your App Store meant to identify or track judges’ activity while they review your App Store.” But my app will only have a simple timer in it.
8
0
883
1d
Run destination for my Xcode submission
My swift student challenge submission is an iPad app built in Xcode and I'm planning on selecting the Xcode 26 option for testing in the dropdown provided in the application. Just have to confirm that the run destination for the playground in Xcode will be an iPad simulator right? Recently I have seen many participants post their submission screenshot for iPhone renders so just wanted to confirm the run destination. Thank you👾
4
1
310
2d
Postgres in Sandboxed App
Has anyone gotten Postgres to run in a sandboxed app? I am compiling Postgres 18 myself from source and have tried to patch it so it doesn't use sysv (shmem) but it apparently has all kinds of invocations of sysv and once it's sandboxed has issues, e.g.: 2026-02-24 18:26:05.014 EST [4384] FATAL: semctl(65596, 16, SETVAL, 536) failed: Operation not permitted Does anyone know of a way to either make the sandbox relax or make Postgres compatible with sandboxing? I have tried passing flags to initdb to use POSIX semaphores but it always wants to use sysv so I'm finding myself super deep in the weeds of the Postgres source code.
1
0
38
2d
External Payments
Hi everyone, I’m considering integrating External Payments into my iOS app. I’ve done some research, but I’m finding it difficult to pinpoint the exact commission rates for different regions. For those of you who have already implemented external payment links: Could you share what the actual fees paid to Apple look like in your specific Geos (e.g., US, EU, or others)? Does the total cost—including Apple's commission and the payment processor's fee (like Stripe)—end up being significantly lower than the standard 15-30% IAP?
0
0
18
2d