missing package product

45,829 results found

Post

Replies

Boosts

Views

Activity

Reply to Can't swap camera with AVCaptureMultiCamSession
I'll have to work that up and it might be quite complicated because if it is a memory issue it might be impacted by other things around it. It would be easier to provide the bigger section of the code base. Would that work? Or I can do a live debugging session with someone. To work around this in the end I moved up to the view level and swapped the image streams when the user requested a camera swap (so the image feed to the main view went into the inset and the image feed to the inset went into the main view). This feels like a hack but it is sort of working. But am i correct in thinking this SHOULD work that i should be able to detach the front and back camera and then reattach them as different devices as I show in my description? I did confirm in logging and debugger that they are properly detached and then reattached. I'm not sure if i am missing some preconditions on how to handle the stream or if this should work.
4d
How to know when an invitee declines a turn based match invite via the push notification action button.
I am developing a turn based game using GameKit. The happy path (pretty much as always) is fine; invite, accept, play, have winners/losers and match ends. Yay! But I am working on making sure I handle situations where invited friends decline to participate. I've been through the docs, and don't see how the GKTurnBasedMatch is updated to reflect the tap of the decline button in the Game Center Invite notification. When I reload the match from Game Center on the host device the status for the invitee who declined is still .invited. I also tested by setting all players that are not the host in the nextParticipants of the endTurn(...) to start the invites and the next invitee was not given a push notification to accept or decline the invite. I feel like there should be a way to determine when an invitee has declined an invite (via participant in the match.participants via status OR a delegation method somewhere that is called when the Decline or Accept buttons on that notification are tapped.) I'm missing
3
0
280
Dec ’24
Reply to Frequently Used Emojis won’t change or update
I'm on 18.2 (22C152), and I think the problem started with 18.2. I haven't reset the keyboard dictionary (I don't want to lose my text replacements), but I too removed the Emoji keyboard and did a hard reset several times, but still the frequently used stickers doesn't reflect the ones I've used recently. Stickers from some sticker packs do show up in the frequently used area, but about 2/3s of the sticker packs' used stickers do not show up there. This is a hassle since for stickers, I often text them to myself, specifically so they show up in the frequently used area so I can find them quickly when I send the to other people.
4d
Local Network Privacy breaks Application
With the new macOS 15, Apple introduced the new Local Network Privacy feature. This is causing issues for our customers as - even though they granted the required permission for our software - connections to a server in their local network are being blocked. The situation is not fixed by recent macOS updates. As far as I know, this issue exists for machines running on Apple Silicon. Systems running macOS versions (e.g. Sonoma) are not affected. Currently, the workaround is to re-enable the permission under Settings > Privacy & Security > Local Network. The list shows our application with an enabled checkbox. Users now have to de-select the box and then re-select it again for the application to work. They have to do this after each and every reboot of their system, which is slightly annoying (so at the moment we recommend to not upgrade macOS to Sequoia, if possible) I did some research and saw that other products are also affected by this bug. Is there a solution to this issue or any plans
8
0
244
3w
Reply to Using Core ML in a .swiftpm file
@moto_coreml_apple Hey, thanks for your reply! Unfortunately, it seems like I might be doing something differently or wrong. First, my .swiftpm file doesn’t have a Sources folder; it only has a Resources folder. When I tried running the command: cp -r /tmp/model.mlmodelc /path/to/My.swiftpmFile/Sources/RandomFolder/ I got an error saying that the path is invalid. Even when I tried replacing Sources with Resources, it didn’t work either. So, I attempted to create a Sources folder manually, and inside it, I created a subfolder named NumbersModel where I placed both my .mlmodelc and .swift files. However, the issue persists. Additionally, my package file is slightly different from yours. Here’s how it looks: targets: [ .executableTarget( name: AppModule, path: ., resources: [ .copy(Resources/MyModel.mlmodelc) ], swiftSettings: [ .enableUpcomingFeature(BareSlashRegexLiterals) ] ) ] Whereas, yours seems like this: targets: [ .target( name: ModelInSwiftPackage, resources: [ .copy(model.mlmodelc) ] ) ] I’m
4d
Xcode 15.3 crippled with "internal inconsistency error"
Since Xcode 15.3 it has become impossible to build our project more twice in a row without encountering a batch of internal inconsistency error: never received target ended message for target ID …. This issues appeared a few months ago (15.0 i think, but i'm not sure), but xcode 15.3 makes it almost unusable. We're a team of 3 iOS devs, and we're all having the problem. Our project involves a lot of SPM packages, a few cocoa pods, a few iOS Frameworks, and a bit of swiftgen. Nothing particularly special for a large project, and no custom build steps that does anything fancy. It is now to the point where we're looking for alternative to xcode, because we can't decently kill xcode and restart every time we have to build our code...
25
0
10k
Mar ’24
Reply to Can't resolve package dependencies
Thank you for the post. It appears to be an issue with Firebase. Please ensure that you have the latest version of the Firebase framework installed. Additionally, I recommend searching for this error on their support channel. I have compiled a list of resources that may be helpful in resolving this issue, but is pretty generic, my apologies if you already tried most of those: Clear the Package Cache: Open Terminal and navigate to the root directory of your Xcode project to clear the package cache. Remove the Downloaded Package: Go to the Xcode project file in Finder. Right-click on the project file and select Show Package Contents. Navigate to the Packages directory inside the project. Manually Download and Install the Binary: Go to the official release page for that package. Unzip the package to a temporary location. Add the Binary to the Package: In Xcode, right-click on your project file and select Add Files to YourProjectName. Choose
5d
Apple Events won't trigger Privacy & Security alerts due to Sandboxing
I created an app in Xcode using ApplescriptObjC that is supposed to communicate with Finder and Adobe Illustrator. It has been working for the last 8 years, until now I have updated it for Sonoma and it no longer triggers the alerts for the user to approve the communication. It sends the Apple Events, but instead of the alert dialog I get this error in Console: Sandboxed application with pid 15728 attempted to lookup App: Finder/finder/com.apple.finder 654/0x0:0x1d01d MACSstill-hintable sess=100017 but was denied due to sandboxing. The Illustrator error is prdictably similar. I added this to the app.entitlements file: com.apple.security.automation.apple-events com.apple.finder com.adobe.illustrator I added this to Info.plist: NSAppleEventsUsageDescription This app requires access to Finder and Adobe Illustrator for automation. I built the app, signed with the correct Developer ID Application Certificate. I've also packaged it into a signed DMG and installed it, with the same result as running it fr
2
0
145
1w
Reply to cannot find in scope
Claude31 gave you a COMPLETE solution to your problems. You should take that entire set of code and replace your code with that. What I suspect you have done is copied and pasted bits of it from these pages into your Xcode and have missed bits out - that would certainly explain why your GridRow parts failed, because you didn't see the GeometryReader that was added in further up. it is extremely difficult to help you when we give you the solution and you hack it about and don't follow what we've given you or told you to do. We cannot help you if you cannot do the simplest of things. If g.size can't be found when you paste some code into your Xcode you should look for where g was declared. If you can't do that, then you need to read a more basic tutorial on coding.
5d
Universal Links not working even though all debug steps succeed
I am trying to get universal links to work in our app Firefox iOS The Problem: I am not able to get universal links to work for our release app or beta app scheme locally or with a TestFlight build. I am able to get it working on our development scheme with a locally hosted app site association file. I also was able to get it working using our development scheme but setting the bundle id to the release app bundle id. I also built a demo app with the release app id and the release app development certificate. It succeeded there as well. Implementation Steps: Added associated domains entitlement to the production and beta schemes for our main app target (No associated domains entitlements or capabilities added for any extensions) Confirmed that the bundle ids associated with these schemes have the associated domains capability Added applinks:blog.mozilla.org to associated domains list Confirmed in code that user activities are being handled via SceneDelegate.swift Steps to Debug: I have gone through an
2
0
149
6d
Reply to Universal Links not working even though all debug steps succeed
Thank you for sharing your post and providing a thorough troubleshooting guide. It appears that you have already addressed the most common issues. A brief review suggests that everything is functioning correctly. The app ID belongs to the same team. One thing to consider is verifying that the app ID team remains the same in the TestFlight build. Additionally, ensure that the application links are registered with or without the mode=developer parameter: applinks:blog.mozilla.org?mode=devel.oper as well. To access the developer mode, applinks, your application must be signed with the same development profile. It is unlikely that this is the case for your TestFlight distribution. Check the team ID 43AQ936H96. I can quickly access the AASA file, and it is publicly available: curl -v https://app-site-association.cdn-apple.com/a/v1/blog.mozilla.org sudo swcutil dl -d blog.mozilla.org --verbose Password: { applinks = { details = ( { appID = 43AQ936H96.org.mozilla.ios.Firefox; components = ( { / = /en/products
5d