I want to know if the program written in C language can be implemented through the software package, write a software package containing C language on Xcode, and then apply it in Swift Playground.
Overview
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hey all. I am new to this space and recently just purchased to become an Apple Developer. Is the review process for the developer application normally this long? Is there an expected time frame? Thanks!
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
Overview
I have the following view hierarchy that mixes SwiftUI and UIKit:
AccordionView
└─ VStack
├─ Text
├─ Button
└─ UIViewRepresentable
└─ UIStackView
├─ UILabel
└─ UILabel
When tapping the button, the UIViewRepresentable hides and shows its content. This all works as expected.
However, in certain circumstances the view's sizing is rendered with the correct size, but the text can often render incorrectly, despite the frame seemingly looking as though it has enough room to render the text.
More info
Below you can see the UILabel has the correct frame height (the light grey background and coloured borders) but the text is rendered as though it has infinite width along one line.
There's a few configurations of my view hierarchy that seem to have this effect.
I've added a playground to the bottom of this post of various configurations to show what does and doesn't work, just copy and paste to see for yourself...
It seems of the ones that don't work, there's a couple of reasons why that may be:
HostedView and TextViewContainer do not do the following (I think we only need to do one of these things for auto layout/stack views to work effectively):
a) implement an intrinsic content size
b) return a 'good' size for systemLayoutSizeFitting().
UIHostingController shouldn't use intrinsic size (although I'm sure it should)
Something related to setting setContentCompressionResistancePriority() or setContentHuggingPriority() but having played about with this it doesn't seem relevant here...
I've played around with everything I can think of here but can't find a solution that works for all, although I'm 99% sure it's one or all of the points above.
If there are any UIKit gurus out there that can help that would be great! Ive already spent so much time on this 🫨
Playground
Swift Playground
I’ve seen, mainly in discussions with AIs, that ARFaceTrackingConfiguration uses the same technology as Face ID and therefore should work in complete darkness. However, I haven’t been able to achieve this. Does anyone know if this is actually true?
I'm using an iPhone 16 to test, and the Face ID works well in darkness.
I enrolled for the Apple Developer Program last Thursday (Feb 12) - no status update apart from a message I've seen others have thus processed payment:
Purchase your membership.
To continue your enrollment, complete your purchase now
Your purchase may take up to 48 hours to process.
I've reached out to support twice now, no luck. Anything that worked for someone in the same boat? I have a test group planned and would need to apply my app for testflight as soon as possible to leave some headroom.
I am working on a remote control application for macOS where I need to maintain two "virtual" cursors:
Remote Cursor: Follows the remote user's movements.
Local Cursor: Follows the local user's physical mouse/trackpad movements.
To move the system cursor (for the remote side), I use CGWarpMouseCursorPosition as follows:
void DualCursorMac::UpdateSystemCursorPosition(int x, int y) {
CGPoint point = CGPointMake(static_cast<CGFloat>(x), static_cast<CGFloat>(y));
// Warp the cursor to match remote coordinates
CGWarpMouseCursorPosition(point);
}
Meanwhile, I use a CGEventTap to monitor local physical movements to update my local virtual cursor's UI:
CGEventRef Mouse::MouseTapCallback(CGEventTapProxy proxy, CGEventType type, CGEventRef event, void *refcon) {
if (remoteControlMode) {
// We want to suppress system cursor movement but still read the delta
const int deltaX = static_cast<int>(CGEventGetIntegerValueField(event, kCGMouseEventDeltaX));
const int deltaY = static_cast<int>(CGEventGetIntegerValueField(event, kCGMouseEventDeltaY));
NSLog(@"MouseTapCallback: delta:(%d, %d)", deltaX, deltaY);
// Update local virtual cursor UI based on deltas...
return nullptr; // Consume the event
}
return event;
}
The Problem:
When CGWarpMouseCursorPosition is called frequently to update the system cursor, it interferes with the kCGMouseEventDeltaX/Y values in the Event Tap.
Specifically, if the local user moves the trackpad slowly (expecting deltas of 1 or 2), but a "Warp" occurs simultaneously (e.g., jumping the cursor from (100, 100) to (300, 300)), the deltaX and deltaY in the callback suddenly spike to very large values. It seems the system calculates the delta based on the new warped position rather than the pure physical displacement of the trackpad.
This makes the local virtual cursor "jump" erratically and makes it impossible to track smooth local movement during remote control.
My Question:
Is there a way to get the "raw" or "pure" physical relative movement (delta) from the trackpad/mouse that is independent of the system cursor's absolute position or warping?
Are there alternative APIs (perhaps IOKit or different CGEvent fields) that would allow me to get consistent deltas even when the cursor is being warped programmatically?
I attempted to register with ADP from the developer app. After entering my driver's license, address, and name, a pop-up appeared stating “There may be an issue with your account.” Subsequently, the “Register Now” button for ADP within the app became inactive.
What could this account issue be? I would like to know how to proceed with registering with ADP.
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
Hi, I wonder if there's something that can be configured to force Xcode (and preferably MVD too) to use Ethernet connection between Mac Mini and Apple Vision Pro (over a USB hub, not a direct USB connection)?
If I connect AVP to Mac directly via USB, the bridge gets created and both MVD and Xcode default to it, which is great because of higher speed and lower latency.
My problem is that I work with external camera, so I can have either the camera, or the Mac connection, but not both. I tried to solve that by plugging in a small active USB hub, so the strap and camera are connected to it, plus it has Ethernet adapter, which is plugged into Mac port. I tried with internet sharing on Mac - AVP has internet access, I can ping AVP from Mac, but Xcode and MVD still use wifi. I tried to manually configure bridge without internet sharing - same effect. I tried to make the bridge highest priority connection - nothing changed. I tried to force routing to AVP IP over the bridge - nothing (and it seems that my routing entry went missing after some time and was replaced by "use wifi interface").
So - is there something more I can do to make at least Xcode go over the cable? Debugging over wifi often takes forever.
Title: App stuck in Kids Category review loop — never intentionally published as Kids
Our education app has been on the App Store since 2020 under the Education category. We recently submitted an update and it keeps getting rejected under Guideline 1.3 - Kids Category.
The problem: we have never intentionally published our app under the Kids Category. Our current App Store Connect configuration is:
Age Categories and Override: Not Applicable
Calculated Age Rating: 4+
Primary Category: Education
Secondary Category: Games
No "Made for Kids" designation is selected anywhere.
Here is the timeline:
Feb 13: Rejected — "You have selected the Kids Category for your app" — asked us to add parental gates for links, purchases, etc.
Feb 18: Rejected again — "Your app does not appear to be designed for kids aged 11 and under" — told us to resubmit without Kids Category designation.
We replied with screenshots showing "Not Applicable" is selected and asked what else needs to change.
Feb 19: Rejected again — "Your app was previously approved for the Kids category" — told us to resubmit under a new App ID.
We replied explaining that we never published under Kids Category and that creating a new App ID would mean losing years of reviews, ratings, and user history.
Feb 20: Same rejection, same template response about Kids Category.
We have scheduled a Meet with Apple appointment but it is not available soon. Meanwhile our update is blocked.
Our questions:
Has anyone experienced a similar situation where their app was flagged as "previously approved for Kids" when it was never intentionally submitted under that category?
Is there a way to verify which version (if any) was approved with the Kids designation? We cannot find this information in App Store Connect.
Has anyone successfully had this flag removed without creating a new App ID?
If we did have to comply with Kids Category guidelines, would that remain a permanent requirement even though "Not Applicable" is now selected?
Any advice or similar experiences would be appreciated. We have been going back and forth with the review team for over a week and the responses do not address our specific situation.
Hi,
I’m running into a persistent issue in App Store Connect related to TestFlight and app reviews, and I’m hoping someone has seen this before.
Around two weeks ago, I started getting the following error when trying to create external TestFlight builds:
ENTITY_UNPROCESSABLE.BETA_CONTRACT_MISSING
Since then:
I cannot create any external TestFlight tests
Internal TestFlight builds appear, but cannot be downloaded (“The requested app is not available or doesn’t exist”)
My apps do not progress properly through review
One app got stuck in “In Review” for ~10 days; I eventually withdrew it and resubmitted it
At this point, I cannot update two existing apps, and I can’t start testing a new app at all
Important details:
This is an individual developer account
I am the Account Holder
All contracts appear active and valid
The issue affects multiple apps, not just one
Nothing changed on my side (no contract updates, no account changes) before this started happening.
Has anyone experienced this issue or found a resolution?
Any insight would be greatly appreciated.
Thanks!
We are trying from almost 1 month and almost getting no response from apple. Our services are down from 1 month.
Why apple is not renewing the membership ? we tried master and visa both but we are not getting any deduction.
need urgent support
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
case id 102819569720.
anyone knows why this happen?
UIHostingConfiguration on tvOS: focus permanently broken with multiple focusable SwiftUI views
Hi everyone,
I'm working on a tvOS app with a UICollectionView. Some cells embed SwiftUI content via UIHostingConfiguration, specifically a row of 3 buttons that should be individually focusable. The cell itself returns canBecomeFocused = false so focus passes through to the SwiftUI buttons.
The problem: after navigating focus into that section once, it becomes permanently unfocusable. Focus enters briefly, then immediately exits to nil on its own, without any user input. From that point on, the focus engine completely skips the section.
The exact same SwiftUI view works perfectly when embedded via UIHostingController instead.
How to reproduce
Press DOWN to move focus into the UIHostingConfiguration section
Focus lands on a SwiftUI button for a split second
Focus exits on its own and bumps to another section
The section is now dead, focus skips it on every subsequent navigation
What the system logs say (-UIFocusLoggingEnabled YES)
Right when focus enters, the system reports the SwiftUI focus items as "disappearing":
Ignoring focus update request for disappearing focus environment <UIKitFocusSectionResponderItem>
Then when searching for a new focusable item:
<SwiftUI._UIInheritedView> → (warning) No focusable items found.
<UIHostingContentView> → (warning) No focusable items found.
=== unable to find focused item in context. retrying with updated request. ===
The views are still in the hierarchy (verified by pointer), but the UIHostingContentView no longer exposes its virtual focus items. I also see mismatched parentFocusEnvironment on those items, pointing to a _UIHostingView from a completely different cell.
What I've tried
I've spent a lot of time on this with my colleagues, dug through the very limited documentation available online, and even used AI agents to help brainstorm. We tested 10 different approaches, none worked:
Overriding preferredFocusEnvironments to point to the UIHostingContentView
setNeedsFocusUpdate() / updateFocusIfNeeded(), rescan finds nothing
Forcing UIKit redraws (setNeedsLayout, setNeedsDisplay)
Removing .focusSection()
Removing all SwiftUI animations, identical behavior
Using canFocusItemAt: delegate instead of cell subclass, identical
remembersLastFocusedIndexPath = true, causes a separate focus trap
configurationUpdateHandler + setNeedsUpdateConfiguration(), config is rebuilt but virtual items stay deregistered
Verified the UIHostingContentView never leaves the hierarchy. It doesn't, its internal state is just corrupted
My workaround
I switched to UIHostingController with proper view controller containment. It works because the hosting controller is a full UIFocusEnvironment, so the focus engine can traverse it and it correctly maintains its virtual items.
Has anyone encountered this? Is there a known pattern for using UIHostingConfiguration on tvOS with multiple focusable SwiftUI elements? Or should I just file a Feedback?
Thanks for any help!
You can find the code here : https://github.com/ThomasDutartre/focus-problem-tvos
I recored the problem here :
https://youtu.be/yPfM5AvU2ko
Hello🙏,
I’m a new indie developer and I’m trying to understand review timing behavior.
Context:
App type: Game built with Unreal Engine 5
Initial submission: Entered “In Review” within 48 hrs.
Result: Rejected due to icon similarity (icon too similar to an existing App Store icon)
What I did next:
I updated the icon to ensure it is clearly distinguishable and resubmitted.
After 30 (?)hrs, I removed/rejected that submission myself while it was still in "Waiting For Review" because I suspected the icon asset might still contain a transparency issue (this was my own precaution before Apple flagged anything).
I then corrected the icon asset and submitted again (current submission: Build 7).
Current status:
Status: Waiting for Review
Duration: 9 days Calendar days ( Mon, 09 Feb and today is 17th Feb 26) in this state for Build 7
Additional notes:
The app runs without crashes on my iPhone and iPad.
During the earlier review, Apple only raised the icon similarity issue (no functional issues were mentioned).
I contacted App Store Connect support; they couldn’t provide a queue timeline, but nothing appears flagged on their side.
Question: Is it normal for a resubmitted build (after correcting an icon-related rejection, and after a developer-cancelled submission) to remain in “Waiting for Review” for an extended period before switching to “In Review”?
I’m trying to understand if this is typical queue variability or if removing a submission and resubmitting can affect how long it stays in “Waiting for Review.”
Thank you for any insights.
I had to create a new version (26.01.1) for my app in order to provide updates to the age ratings prior to the end of January, 2026. The problem is that this version wasn't production/release ready, but nonetheless I created this version to answer the updated age ratings. I now have a production ready version (26.02.1), but I do not see any way to cancel/delete this current version in order to create a new version with the 26.02.1 build I've uploaded. What are my options? Must I submit 26.01.1 for review and distribute it and then I will see the + icon to be able to create a new release?
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
App Review
App Store Connect
App Submission
TabView inside NavigationStack is abnormal when using Xcode 26. The y deviation is about 14.
But it is right when using Xcode 16.4.
It is also right without NavigationStack.
import SwiftUI
struct ContentView: View {
private enum Tab: Hashable, CaseIterable {
case a
case b
}
@State private var currentTab: Tab = .a
@State private var path: NavigationPath = NavigationPath()
var body: some View {
NavigationStack(path: $path) {
TabView(selection: $currentTab) {
ForEach(Tab.allCases, id: \.self) { tab in
switch tab {
case .a:
Color.blue
// .offset(y: -14)
case .b:
Color.yellow
}
}
}
.tabViewStyle(.page(indexDisplayMode: .never))
.ignoresSafeArea(.all)
}
}
}
Topic:
UI Frameworks
SubTopic:
SwiftUI
Hello there,
Credit card autofill works in Safari when accessing the checkout on my website, but does NOT work when the same page is loaded in a WKWebView within the my iOS mobile app.
is there any way I can make it work?
We received many great questions from the community during Code-along: Experiment with coding intelligence in Xcode 26. Here are the highlights from the questions submitted by the audience during the event.
What models does coding intelligence features support In Xcode?
Xcode integrates directly with ChatGPT and Claude user accounts. You can also configure Xcode to integrate any model provider that supports the Chat Completions API, such as models that you access with an API key. You can also download and run a local model on a Mac with Apple silicon. Setting up coding intelligence provides all of the information you need to get started with Xcode’s direct integration with ChatGPT and Claude, as well as how to set up Xcode to access other providers.
Does Coding Intelligence have access to Apple API and developer documentation? How does it stay up to date with the latest SwiftUI API?
Coding agents are great because they talk to a model, generate code and fix errors, but they also have access to tools, which make a significant difference in their capabilities. Xcode provides tools for the agent to use, including the ability to search Apple’s documentation and, code snippets. As an example, you can ask for a new API that was released in iOS, and if the model doesn't have this knowledge, the agent will call the tool to search for the documentation and bring that context into the conversation.
As an organization, we do not have permission to share our codebase with any AI model due to security reasons. If we enable coding intelligence and give it access to our codebase, will the code be shared with Apple? Will OpenAI or Anthropic have access to my entire project?
Privacy is fundamental to our design. When you connect an AI subscription account (like an account with OpenAI or Anthropic), the connection is only between you and that service. Apple does not act as an intermediary, and never sees the code sent to these services. Because this interaction happens directly between the you and your provider, the security and privacy of your code is determined entirely by your existing agreement with your provider.
What exactly does the agent have access to? Only the files in the scope of the project?
By default, the agent works in the directory of your project, and can access all files in that directory. This includes code file, assets, and your Xcode project configuration file.
Does coding intelligence remember previous conversations?
Each time you start a new conversation window, it resets the context of the conversation, but you can always go back to a previous conversation you had and continue and iterate on a previous idea. If a result contains errors or did not go in a direction you are happy with, you can use the history to go back to any point in time. Writing code with intelligence in Xcode goes into detail on how you can use these features.
For command-line tools (Claude Code, OpenAI Codex), I can create guidelines as Markdown with rules or project descriptions. Does Xcode Agentic Coding take these into account, or should I define them differently?
You can add skills that you’ve created, hints about Xcode and your project to configuration files, and other files supporting your use of coding intelligence such as AGENTS.md or CLAUDE.md files, to the respective Codex and Claude Agent directories that Xcode uses exclusively:
~/Library/Developer/Xcode/CodingAssistant/codex
~/Library/Developer/Xcode/CodingAssistant/ClaudeAgentConfig
For more information on configuring agentic coding tools that run inside Xcode, see Customize the Codex and Claude Agent environments.
How do you add a Model Context Protocol server for the Xcode agent to be able to access?
You can add additional Model Context Protocol (MCP) servers in Xcode with product-specific configuration files so the agents can use those MCP servers from within Xcode. Locate the files needed to configure those additional MCP servers in the same directory where you set other customizations for Codex or Claude Agent, listed above.
Hi,
I’m running into a persistent issue in App Store Connect related to TestFlight and app reviews, and I’m hoping someone has seen this before.
Around two weeks ago, I started getting the following error when trying to create external TestFlight builds:
ENTITY_UNPROCESSABLE.BETA_CONTRACT_MISSING
Since then:
I cannot create any external TestFlight tests
Internal TestFlight builds appear, but cannot be downloaded (“The requested app is not available or doesn’t exist”)
My apps do not progress properly through review
One app got stuck in “In Review” for ~10 days; I eventually withdrew it and resubmitted it
At this point, I cannot update two existing apps, and I can’t start testing a new app at all
Important details:
This is an individual developer account
I am the Account Holder
All contracts appear active and valid
The issue affects multiple apps, not just one
Nothing changed on my side (no contract updates, no account changes) before this started happening.
I’ve already reached out to Apple Developer Support multiple times, but unfortunately haven’t received any response so far, which makes it unclear how to proceed.
Has anyone experienced this issue or found a resolution?
Any insight would be greatly appreciated.
Thanks!
Is there a way to create a grocery list in swift programmatically? With color and icon?
I mean the new Reminders.app v7.0 features.
I don't find code or guide in the dev documentation.