I’m using a Mac Mini M2 with macOS Sequoia 15.1 and running a virtual machine with the same OS. While logging into my account works in System Settings, adding it to Xcode 16.1 fails after the initial login with a decoding error:
Decoding Error
There was a failure decoding response: (HTTP 401, 60 bytes).
There are similar issues in
https://developer.apple.com/forums/thread/767673
and
https://developer.apple.com/forums/thread/759877
Dive into the vast array of tools, services, and support available to developers.
Post
Replies
Boosts
Views
Activity
Looking for advice: I've been automatically rejected from Apple's Developer Program without an explanation.
Hi everyone,
It seems I’ve hit a brick wall, so I’m reaching out to see if anyone here has experienced something similar to this or has any advice or resources to share.
I recently attempted to enroll in the Apple Developer Program, but my application was immediately denied after submission. Within one second of submitting my driver’s license, the app stated that Apple was unable to verify my identity and that I needed to reach out to Developer Support for further assistance.
When I first contacted Developer Support for clarification, the representative was happy to help. After being taken off hold, she said she couldn't offer any more information, but assured me that I'd later receive an email with further details related to my account and next steps. However, instead of steps to resolve the issue, I received a denial email repeating the same message about being unable to verify my identity (screenshot attached).
I’ve since spoken to multiple representatives and supervisors, and, while everyone was initially polite and understanding, it changed after I was taken off hold.
Here’s what I’ve been told:
The decision is final, and there is no possibility of escalation or appeal.
The supervisors themselves, despite being the final decision makers, have no access to the specific reason for applicants’ denial and, thus, could not provide any additional details.
I was also invited to join Apple's “Xcode program,” which I found out just means they’ll allow me to buy Xcode from the app store and use it without a developer account (I already do that).
Every time a support representative reread the sentence about being “unable to verify [my] identity,” I responded by offering to provide additional forms of identification. However, that offer was never addressed.
The last senior advisor I spoke with stated to me over the phone that:
She was the highest authority on the matter.
There was absolutely no way to escalate the issue further; it was 100% impossible.
She physically did not have access to the reason for my denial.
Neither she nor anyone else at Apple was able to offer further assistance.
I asked this senior advisor to send me an email with the above points in writing, which she said she would do. However, the email I received was a virtual copy-paste of the email from the first support representative, stating the same few sentences verbatim.
This has left me deeply confused, especially as no specific reason for denial has been shared, and since I was explicitly denied any opportunity to address (or even get information on) potential issues.
I’d like to ask this community:
Has anyone else experienced this sort of immediate rejection and/or a refusal to disclose the reason for that rejection?
Are there specific guidelines or policies I may have unknowingly violated that I should review? If so, what could be the reason why they’re being withheld from me?
Are there any resources or alternative channels I can explore to resolve this issue?
I’m so thoroughly confused, and I’m genuinely at a loss with how to move forward. I appreciate any insight or guidance from this community.
Thanks so much for taking the time to read!
Best regards,
David
Hi team,
We're using CocoaPods in our project and we noticed the compiler fails to build certain targets saying it's "Missing required module 'x'" when trying to build them in Swift 6:
We realized the modules the compiler is complaining about are pod dependencies required by the other target dependencies, and that this error will only appear when building with Swift 6 unless such dependencies are described on the Podfile as direct dependencies of the target, or we include them in the framework search paths. For example, the error in the image above will show if module 'X' import 'Y' and 'Y' imports 'CocoaLumberJack' and we don't specify a direct dependency between 'X' and 'CocoaLumberJack'.
Regardless of the fact that we can manually add the missing module location to the target search paths, we'd like to understand why we're facing this issue in the first place, what changed between Swift 5 and Swift 6 that's requiring us now to explicitly describe these dependencies. I'd appreciate if someone could tell us more about this. We're particularly interested on knowing if this is an intentional change and how to handle it properly.
Thanks
While I was recently profiling some code from a Swift library, I noticed that XCTest added in signposts for the measurement tests, which I found really helpful to "home in" on the code I wanted to profile digging around in the stack trace.
I tried to add my own signposts to provide just a bit of my own markers in there, but while it compiles and profiles equivalently, the signposts just aren't showing up. This is with Xcode 16.1, macOS Sequoia (15.1) and a swift library, using XCTest and profiling within one of the unit tests.
Is there something in this sequence that doesn't allow the library to set up signposts and have instruments collect them?
The flow I'm using:
import os
let subsystem = "MyLibrary"
class MyClass {
let logger: Logger = .init(subsystem: subsystem, category: "fastloop")
let signposter: OSSignposter
init() {
signposter = OSSignposter(logger: logger)
}
func goFast() {
let signpostId = signposter.makeSignpostID()
let state = signposter.beginInterval("tick", id: signpostId)
// ... do a bunch of work here - all synchronous
signposter.endInterval("tick", state)
}
}
Is there something I'm doing incorrectly in using this API, or not enabling to allow those signposts to be collected by the profiler?
I do see the signposts that XCTests injects into the system, just not any of the ones I'm creating.
I'm trying to run the Instrument "Animation Hitches", but it fails immediately after starting on the iPhone. This happens on multiple projects, including a brand new project.
I get the following errors:
Timestamp | Message
(Before Run Started) | Unexpected failure: Couriers have returned unexpectedly.
(Before Run Started) | Failed to start the recording: Failed starting
ktrace session.
The issue also happens with the instruments App Launch, but not with any other that I tested.
Is this a bug?
Using Xcode Version 16.1, Mac Mini M1 Sequoia 15.1. Running project on iPhone 14 Pro iOS 18.1.
I'm trying to create a preview for my live activities when it's stale, so I created a preview provider. I followed some examples, but XCode says I'm missing preview context. Am I doing something wrong?
I tried adding .previewContext(WidgetPreviewContext(family: .systemSmall)) but that doesn't seem to work.
What's the problem?
My app requests location access and for that I need to provide a description for the user to read so that it is clear why we need this permission. I'm using the latest solution suggested by XCode for my app localization which is using Localizable.xcstrings file. But for the permission description, I'm adding the text to Targets -> Info -> Custom iOS Target Properties -> "Privacy - Location Always and When In Use Usage Description". I understand that the default language is English in this list so I provided it, but now I want this description to be translated to other languages so that my users can read it in their preferred language.
What I have tried so far?
I tried adding translation to the keys "INFOPLIST_KEY_NSLocationAlwaysAndWhenInUseUsageDescription" and "NSLocationAlwaysAndWhenInUseUsageDescription" in my "Localizable.xcstrings" but it is always showing the description in English
大家好,
我目前正在开发一个需要使用WeatherKit的iOS应用程序。我已在我的aioutfit3.entitlements文件中添加了必要的权限,如下所示:
<?xml版本="1.0"编码="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist版本="1.0">
<字典>
<键>com.apple.developer.weatherkit</键>
<真实/>
</字典>
尽管如此,当我试图获取天气数据时,该应用程序报告说它找不到授权文件,并特别提到WeatherKit授权缺失。以下是日志输出的一部分:
❌未找到权利文件
📱捆绑ID:com.superhuang.aioutfit3
❌未找到WeatherKit权利
我已确认授权文件在Xcode项目中配置正确,并已尝试清理和重建该项目。然而,这个问题仍然存在。
有人遇到过类似的问题吗?或者有人有可能有助于解决这个问题的建议吗?非常感谢您的帮助!
我希望这个帖子的内容能帮助你在论坛上找到解决方案。如果您需要更多信息或修改,请告诉我!
一些图片
Here is a modified code from the documentation example
https://www.swift.org/documentation/server/guides/memory-leaks-and-usage.html#troubleshooting :
class ViewController: UIViewController {
var closure: () -> Void = { () }
public func doNothing() {}
public func doSomethingThatLeaks() {
self.closure = {
// This will leak as it'll create a permanent reference cycle:
//
// self -> self.closure -> self
self.doNothing()
}
}
override func viewDidLoad() {
super.viewDidLoad()
// Memory leak example:
doSomethingThatLeaks()
// Abandoned memory example:
// NotificationCenter.default.addObserver(forName: .init("Abandoned"), object: nil, queue: nil) { _ in
// print("\(self)")
// }
}
deinit {
print(#function, Self.self)
}
}
If you place it, for example, in a navigation controller, do a push-pop several times, deinit will not be printed.
But if you look in the Debug Memory Graph, it will not even show that there is a strong reference to this controller:
Only if you manually select:
You can see that it is held by the closure context, which it holds:
This is definitely not abandoned memory (like the commented piece of the code example), but it is not shown either in the Debug Memory Graph or in Instruments Leaks.
Why?
You sign up for the developer program -> Apple confirm order placed and wait time is 48hrs.
It doesnt mentioned if 48hrs is for US citizen or the rest of the world.
Bad customer service, mo response from Apple.
2 weeks later, no apple developer program enrolment completed,
Still waiting.
Question
Why is there a 48hrs communication sent when clearly this is to fool people in waiting forever?
Why is there no communication when querying about the request.
I suspect Apple is big enough to get the right customer service people or is this something they dont care about.
What a let down from such a company!
I can't seem to access preview for any of my views in any of my swift projects at all (using Mac to code and using iPhone 16 pro as preview and simulation, simulation can work), even after restarting Mac and Xcode itself.
The preview section has a popup saying "Cannot preview in this file, unexpected error occured" (for every file), please tell me what is wrong and help me solve it to see the preview, thank you!
details
When connecting xcode and iPhone, the keypad does not appear on the screen where you enter the device password to trust the computer, so the connection is not possible.
How do I make the keypad appear? There is no response when I tap the text box.
I just discovered that I can no longer download any artifacts from Xcode Cloud, whether from newly built workflows or previous ones. When I try to download in Xcode, it crashes immediately. When downloading from App Store Connect, it redirects to an HTML page with the following content.
{"message":"You are not authorized to access this team’s resources."}
I've already tried re-logging into my Apple account. Is anyone else experiencing the same issue?
I wanted to run my unity ios build on physical device,So do I really need to enrol in apple developer program.
Xcode cloud download archive file . the browser show "You are not authorized to access this team’s resources." All of my team can not download that.
I tried downloading the files from the previous build archive, but couldn't download either
Hi,
I tried to make a new branch of my project and upon doing so, all of my old files disappeared. They are no longer in my folder directory or available in Xcode. Please let me know if there is any way to recover these files. I don't see the files in my trash either.
Xcode is adding un-wanted menu items to the Edit menu in a Mac Application. There is an automatically generated separator bar and an AutoFill menu item with two sub-menu items. Looking at the source code I see that two other items were suppressed in the initialize method of the AppController like this:
NSMutableDictionary *defaultValues = [NSMutableDictionary dictionary];
//Get rid of Special characters menu item in edit menu:
[defaultValues setObject: [NSNumber numberWithBool: YES] forKey: @"NSDisabledCharacterPaletteMenuItem"];
//Get rid of Start Dictation... menu item in edit menu:
[defaultValues setObject: [NSNumber numberWithBool: YES] forKey: @"NSDisabledDictationMenuItem"];
[[NSUserDefaults standardUserDefaults] registerDefaults: defaultValues];
I guessed that there would also be a key like this: @"NSDisabledAutoFillMenuItem" but adding this to the code does nothing so apparently not.
I searched programming forums and posters say that you can fix this by changing the name of the Edit menu to something like (space)Edit but this doesn't work.
I searcher the Developer documentation and the Archives extensively for info about these keys but of course found nothing. Control-clicking on these pops up a menu of ways to search for these but none of them find anything. Control, option and command clicking on these keys results in ”?”.
I can probably get a pointer to the menu and use NSMenu’s methods to delete these but something like the above would be better. Is there any documentation about this anywhere?
I recently change from Individual to Organization and waiting approval from apple. Apple kindly please approve my changes so that I could submit my APP immediately. Thanks for this platform.
As i have requested my developer account, is still under process. kindly request of review and approve, or let us know is there any issue with it.
My Enrollment ID is AZVQ9WBLG6
Thank you
Palitha Perera
Hello everyone,
I am a developer and admin on App Store Connect, and I'm experiencing some issues with my account. Here’s a summary of the situation:
Account Email: [Redacted]
Team ID: [Redacted]
Upon visiting the resources page, I encountered a popup stating:
Unable to find a team with the given Team ID to which you belong. Please contact Apple Developer Program Support.
When I sought assistance from a account holder, they attempted to log in using the account email but were unable to access it, despite entering the correct credentials multiple times. The login page prompted them to enter the email or phone number and password for the Apple account.
Currently, I admin can log into App Store Connect, but the account holder is unable to access their account.
We are facing difficulties because the Team ID appears to be disabled or unavailable in Xcode.
We still have an Individual Developer subscription, but we intend to upgrade to an Organization level.
I submitted a request for "Organization Membership" earlier this month.
After contacting Apple support helpline multiple times, we received inconsistent responses, including suggestions to create a new account or contact developer support via email.
Our main issues are:
The account holder is unable to log in.
The Team ID is not functioning.
If we cannot continue with the individual account, we are open to using a different email for the account holder, as he handle sensitive information such as verification and payments.
I have already submitted my request and am opening this thread in hopes of finding a speedy solution and guidance. I've seen multiple threads on this issue, but none have provided a resolution.
Any guidance or suggestions on how to resolve these issues would be greatly appreciated!
Thank you!