Prior Xcodes had a very useful function called "sort & unique" that was found under "services" in the contextual menu in the source editor. The new Xcode 16 betas seems to have had this removed, or perhaps it's been moved to a new menu. Does anyone know about this?
Thanks!
Dive into the vast array of tools, services, and support available to developers.
Post
Replies
Boosts
Views
Activity
Hi, 7 days ago I made the payment of 99 dollars to register for the Apple Developer program, the Enrollment ID code is 6DJGKHH33D, but the payment has not yet been processed, please help me.
Bom dia, o áudio externo após a última atualização ficou baixo, não escuto nada. Iphone [11]
Our company was re-formed under a new name. Rather than rename the organization on the App Store, we were advised by support to create a new organization and then transfer the app to that organization, which we have done.
Our app implements Apple Authentication. We did not not migrate the users of the app (as instructed here: https://developer.apple.com/documentation/sign_in_with_apple/transferring_your_apps_and_users_to_another_team)
Is it possible to now migrate the users, after the app has been transferred? Our attempt to get an authorization token with scope "user.migration" results in HTTP error 400 with body: "invalid_client".
The 2024 WWDC video 'Meet FinanceKit' has a code example to get the latest 7 AccountBalance entries for a given account:
// Get latest 7 available balances for account
func getBalances(account: Account) async throws -> [AccountBalance] {
let sortDescriptor = SortDescriptor(\AccountBalance.asOfDate, order: .reverse)
let predicate = #Predicate<AccountBalance> { balance in
balance.available != nil &&
balance.accountId == account.id
}
let query = AccountBalanceQuery(
sortDescriptors: [sortDescriptor],
predicate: predicate,
limit: 7
)
return try await store.accountBalances(query: query).reversed()
}
This code does not compile, because the AccountBalance struct has no field named asOfDate - you need to inspect the currentBalance enum, switch over the enum type value, and then extract asOfDate from the associated value.
All of this can't be done in a KeyPath (as far as I know 🤷♂️), which I think means it's impossible to get recent balances, without specifying a date, or getting all balances, and then sorting them in memory.
Am I missing something? I'd love to be proven wrong :)
FB14076698
Hi,
I am developing QuickLook Thumbnail Extension and QuickLook Preview Extension which work with embroidery files.
To prepare the view, I need to access stitches from the "stitch" file (supplied to my extension by system) and also to read the "colors" from related file (i.e. the file with different extension, but the same filename as "stitch" file). The embrodery is located stored in 2 files: squirrel.dst (stitchs) and squirrel.edr (colors).
Is it even possible to extend sandbox in extensions for this task?
I have tried to ask user to select folder in main.app (NSOpenPanel), create security-scoped Bookmark in main.app and access it from extension. However, this is not working - in the extension it is not possible to resolve the bookmark created in main.app.
I have also tried to use mechanism for accessing related files as shown at https://developer.apple.com/documentation/security/app_sandbox/protecting_user_data_with_app_sandbox, using NSFilePresenter/NSFileCoordinator. It works in main.app, but doesn't work in QuickLook Thumbnail Extension and QuickLook Preview Extension.
Is there any mechanism on Mac which would allow me to access more than the "supplied" file URL in QuickLook Thumbnail Extension and QuickLook Preview Extension?
Ladislav
Hi! Is it possible to disable the option for users to 'Sign in with Another Device'? I encounter this message during the authentication process and I want to prevent it from appearing. I appreciate your help and look forward to your response.
I was trying to check the documentation for handleNewUDPFlow over at https://developer.apple.com/documentation/networkextension/neappproxyprovider/3192017-handlenewudpflow and... it says it's deprecated on everything. Retroactively.
XCode 16 beta1 and beta2 hangs whenever I try to open Localizable.xcstrings. The localization screen appears but afterwards XCode becomes unresponsive until I kill it. To make matters worse, upon restart the last window, Localizaton is reloaded, instantly causing a hang again (I need to be super quick as I have about half a second to try to click elsewhere like crazy). The same localization strings file works fine on XCode 15.4.
I tried to export all localizations in 15.4, empty the file, re-generate localization strings, re-import languages one by one in 16, starting with different languages (thinking maybe a weird exotic character causes the issue with one of the languages, this happened previously crashing XCode 15 until I found the offending character and replaced it with something else). But generally even after just adding a single language there is a serious slowdown - after adding the second one, XCode hangs again.
Note: the app in question has a lot of localizable strings - I had no issue creating a simple project with only a few strings. Just hoping a fix - I really wished the issue was fixed in beta2 but now I am a bit concerned that maybe it's a rare problem and might not get fixed as I saw no similar reports so far.
Hi, my Xcode is crashing immediately after clicking on 'Distribute' (after selecting 'Distribution Method', and regardless of the method I choose).
I've tried:
Updated Xcode
Cleared Derived Data
Updated macOS
Created new signing certificates
After all changes I created new archives but had the same result on distribute.
I recently cleaned up my mac, so I suspect I might've deleted something important. My touch bar also recently broke. Other than that, I can't think of any other variables since my last successful distribution attempt.
Please help, I've never experienced any issues like this.
I've attached snippets from the report as a text file, but the full report was too large:
xcode_crash_report.txt
After updating Xcode to beta 2 the predictive code completion disappeared.
Does anyone know if it is possible to re-enable it somehow?
MacOS Version: 15.0 Beta 2 (24A5279h)
Xcode Version: 16.0 beta 2 (16A5171r)
Hi
I installed Xcode. I found to anchor plane option which seen in Reality Composer. but in pro version, can't found. where are the options?
thanks
Until recently our app was properly visible on the app store search results.
No new builds were sent and no settings were changed on the app store connect. But now the app is not visible in the search results. It can be accessed through the direct app link though.
Is there a recent change in the guidelines or something?
any suggestions will be helpful.
I've been trying to create in-app purchases for the last few hours but every time I do, App Store Connect says "An error has occured. Try Again". I was able to create in app purchases yesterday but now this error is showing up.
I've tried some of the solutions for related errors. I've tried to use incognito, switched browser from Chrome to Safari and even switched from Mac to laptop but this error still persists.
Does anyone know a solution to this?
I want to create a Project Template with an icon that matches the default Xcode templates. I created a vector example icon and saved it as TemplateIcon.svg and it gets displayed for my .xcodetemplate. I would like it to blend in with Apple's default icons (which I know are assets contained inside Xcode bundles).
I have tried with fill="currentColor" in my svg xml but it doesn't work. I couldn't find any technical documentation about this. It would be great to know how to design an icon that gets dynamically tinted by Xcode like the default ones.
Thanks 🙂
I have created an archive for both iOS and MacOS versions of my app by doing the the following steps
Destinations select Build Any Mac (Mac Catalyst, arm64, x86_64)
Product > Archive
However when doing the same steps for VisionOS I get an error
Invalid Run Destination
I have selected both destinations, visionOS Simulator and Build any VisionOS simulator device (arm64, x86_64)
I am able to run the app and test, now I would like to upload to AppStoreConnect for TestFlight and App Store submission.
Hi,
I'm using macOS 15 beta 2 on an external SSD with Xcode 16 Beta 2. The Predictive Code Completion model option is grayed out under Xcode Settings > Text Editing > Editing. The information button shows a message saying this feature is not supported in my region.
I am located in the USA and using a 16GB RAM iMac M1 from the Apple Store. Is the Predictive Code Completion feature unavailable to free developer accounts? If not, any ideas on why I can't download the model?
Thanks!
I recently switched to the new iphone 15 pro max - I tried downloading the BillTracker app by SnapTap and it is telling me it is no longer available in the app store. I had all my bill tracking information on there, I have used it for years. How can I get my information from there!?
All sounds are low, speakers not sound or similar. on iOS Beta 1 works well.
Same problems with the volume?
Our company has multiple developers, but when Apple issues a new user agreement, only one person in the company can agree. Is there a way to have multiple legal binding authorities in a company?
I don't want just one person to have the authority and I don't want to lose the ability to update our apps if that one person hasn't submitted all of the formal paperwork.