I use spm manage swift package, now i want my macos app support arm64e,so i add arm64e in Build Srtting -> Architectures. but i got error Could not find module 'SwiftyJSON' for target 'arm64e-apple-macos'; found: arm64-apple-macos, x86_64-apple-macos Apparently, if no limit in Package.swift, SPM will only compile versions for x86 and ARM64 architectures by default. now, how should I configure SPM to compile the arm64e version? thanks
Search results for
missing package product
50,252 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I have a Catalyst app that uses popovers frequently, and I'd love to have them stay active when the app loses focus. It appears this is controlled in a native AppKit app via NSPopover.Behavior. Is this functionality exposed somewhere in Catalyst?
When I run this in a playground: var meDate = Calendar.current.date(from: DateComponents(year: 2024, hour: 7, weekday: 3, weekdayOrdinal: 2))! print(meDate) I see: 2024-01-09 15:00:00 +0000 This seems correct to me. jan 9th is the second Tuesday in 2024 I'm in the pacific TZ, 07:00 PDT matches 15:00GMT But then I do this: meDate = Calendar.current.date(bySetting: .weekday, value: 4, of: meDate)! print(meDate) and I see: 2024-01-10 08:00:00 +0000 I would have expected my hour value (7PST/15GMT) to have been preserved. Is there a way I can update weekday, but not lose my hour?
The Safari web extension packager enables you to package and distribute your Safari extensions using App Store Connect from any web browser, without requiring a Mac or access to Xcode. I upload the unzipped folder I'd test in Chrome://extensions to the Safari web extension packager in App store connect. I get error: Embedded binary's bundle identifier is not prefixed with the parent app's bundle identifier. The only solution i've seen to this error involves xcode/a mac, being without which doesn't help
I read this with interest. I'm not an Apple / XCode developer. I downloaded and used XCode now for a week and struggling to get my Web Extension on the Apple Web Extension store for Safari. I did it so easily with Google Chrome and Firefox, and they are already out there being used. With Safari, it just seems like over kill with XCode, right now stumbling because it says I do not have a 512 x 512 png in icons.icn when I do - I followed all the steps. So, is there a way I can just not use XCode at all and get my Extension (it's just one single content.js and manifest.json file and nothing else!). Where is this Safari Web Extension Packager and does it allow me to send it up to Apple Store for end-users to use without me having to use a 2GB application XCode to do it? Thank you.
Topic:
Safari & Web
SubTopic:
General
Tags:
Here's the result of a blank app from Xcode: https://imgur.com/a/1hMmwbO now there's only 3 items in the storyboard configuration: https://imgur.com/a/iGWWQE7 So I try to replicate that in code (some of this reproducer was generated by ChatGPT however the same issue I'm descrbing has been hit when using Python to objc bridges to construct the GUI) by specifying these 3 actions appropriately and see if the rest pops up. The code below changes the activation policy so that when I run ./a.out from the terminal it doesn't show as a window of Terminal but a separate app #import @interface AppDelegate : NSObject @end @implementation AppDelegate - (void)applicationDidFinishLaunching:(NSNotification *)notification { // Build main menu NSMenu *mainMenu = [[NSMenu alloc] initWithTitle:@MainMenu]; // --- App menu with Quit --- NSMenuItem *appMenuItem = [[NSMenuItem alloc] init]; NSMenu *appMenu = [[NSMenu alloc] initWithTitle:@App]; NSMenuItem *quitItem = [[NSMenuItem alloc] initWithTitle:@Quit action:@selector(termin
Topic:
UI Frameworks
SubTopic:
AppKit
For your info, I made some updates to my fix-16k branch. Also, after investigating more (thanks to Claude Code), here what seems to happen: ShazamKit AAR contains libraries with 16KB alignment (0x4000) During Android build, these libraries are re-aligned to 4KB (0x1000) The Android Gradle Plugin's strip/packaging process is changing the alignment So, are we sure that ShazamKit Android AAR has been verified to work with AGP 8.5.1+ and maintains 16KB alignment through the full build process? Maybe I missed something but at this point, I really don't know.
Topic:
Media Technologies
SubTopic:
General
Tags:
Hello, I'm working on a Flutter app targeting both Android and iOS, where I implemented ShazamKit. In order to achieve that, I first tried with the flutter_shazam_kit package, but since it's not maintained anymore, I forked it here, and tried to update it to meet the Google Play Store requirements, as you can see here: https://github.com/mregnauld/flutter_shazam_kit/tree/fix-16k Unfortunately, after trying everything, my app still doesn't meet the (not so) new 16 KB native library alignment. Also, I'm 100% sure it comes from that because the error message disappears if I remove that package from my app. So after investigating, it seems that the problem comes from the ShazamKit for Android (that you can find here: https://developer.apple.com/download/all/?q=Android%20ShazamKit), and especially the .so files in the .aar file. Is there anything I can do to fix that, or should I wait before the ShazamKit team fix that? I'm totally stuck with that so any help is highly appreciated. Thanks.
This new modifier is supposedly backported to iOS 17, but on attempting to use it on the latest iOS 18.5, this happens: Symbol not found: _$s7SwiftUI17EnvironmentValuesV33_navigationIndicatorVisibilityABIAA0G0OvpMV This happens with any usage of the modifier. An availability check won't save you either. The cruelest part of this is that I only need the modifier on iOS 26, lmao. Am I just missing something?
Topic:
UI Frameworks
SubTopic:
SwiftUI
Using Tensorflow for Silicon gives inaccurate results when compared to Google Colab GPU (9-15% differences). Here are my install versions for 4 anaconda env's. I understand the Floating point precision can be an issue, batch size, activation functions but how do you rectify this issue for the past 3 years? 1.) Version TF: 2.12.0, Python 3.10.13, tensorflow-deps: 2.9.0, tensorflow-metal: 1.2.0, h5py: 3.6.0, keras: 2.12.0 2.) Version TF: 2.19.0, Python 3.11.0, tensorflow-metal: 1.2.0, h5py: 3.13.0, keras: 3.9.2, jax: 0.6.0, jax-metal: 0.1.1,jaxlib: 0.6.0, ml_dtypes: 0.5.1 3.) python: 3.10.13,tensorflow: 2.19.0,tensorflow-metal: 1.2.0, h5py: 3.13.0, keras: 3.9.2, ml_dtypes: 0.5.1 4.) Version TF: 2.16.2, tensorflow-deps:2.9.0,Python: 3.10.16, tensorflow-macos 2.16.2, tensorflow-metal: 1.2.0, h5py:3.13.0, keras: 3.9.2, ml_dtypes: 0.3.2 Install of Each ENV with common example: Create ENV: conda create --name TF_Env_V2 --no-default-packages start env: source TF_Env_Name ENV_1.) conda install -c apple tensor
I'll explain what I experienced and how I solved it. iPhone was not detectable in any way (nor was the apple watch), I tried getting latest beta of Xcode, I tried latest stable release, nothing seemed to work. I waited for final release which came up shortly and still no luck. What ended up working was a thunderbolt cable. I went to an Apple Store and they told me to wipe the phone completely because I still had the beta installed, which attending to build number was wrong, but something was off so I wiped the phone. That fixed the issue, although I lost a couple of pictures and some minor data for apps that didn't save it in cloud. Hope this helps someone in the future :) As a side note, debugging on an Apple Watch is becoming really really difficult... sometimes it just does not want to connect
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
We are currently using App Store Server Notifications V2 in a production environment, but occasionally encounter the error Failed to parse signedTransactionInfo in the notification payload. status=VERIFICATION_FAILURE. What could be the cause of this error? Also, is there a way to resolve this error? After the notification from Apple was received on the server side, it was passed to the Apple library and an error occurred in the Apple library when decryption was performed.
Your post is extremely interesting and definitely requires more thought on my part. It seems that what you're doing is to build a FocusCoordinator, conceptually similar to a Navigation Coordinator (although I think that there may be some missing APIs preventing a comprehensive solution. My immediate interest is on tab-navigation and I have some new information to offer about it. It turns out that in most cases, sending a to a focueed TextField will cause focus to change, BUT if the TextField is instantiated with the axis: AXIS parameter, the is added to the TextField body instead. I don't know how Apple will classify it, but I'm calling this a bug and have reported it. (FB20505919).
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
After more than a year since the announcement, I'm still unable to get this feature working properly and wondering if there are known issues or missing implementation details. Current Setup: Device: iPhone 16 Pro Max iOS: 26 beta 3 Development: Tested on both Xcode 16 and Xcode 26 Implementation: Following the official documentation examples The Problem: Semantic search simply doesn't work. Lexical search functions normally, but enabling semantic search produces identical results to having it disabled. It's as if the feature isn't actually processing. Error Output (Xcode 26): [QPNLU][qid=5] Error Domain=com.apple.SpotlightEmbedding.EmbeddingModelError Code=-8007 Text embedding generation timeout (timeout=100ms) [CSUserQuery][qid=5] got a nil / empty embedding data dictionary [CSUserQuery][qid=5] semanticQuery failed to generate, using (false) In Xcode 16, there are no error messages at all - the semantic search just silently fails. Missing Resources: The sample application mentioned during t
I have a Catalyst app on the App Store and I'm starting to get messages from users that the popover bubbles all over the app are without content. I see the error locally as well, but I don't know how to fix it. I get the following warning in XCode when opening a popup: UIScene property of UINSSceneViewController was accessed before it was set.