Building for iOS Simulator, but the linked and embedded framework ‘XX.framework‘ was built for

167,815 results found

Post

Replies

Boosts

Views

Activity

Reply to Support external cameras in your iPadOS app and use Swift to read multiple camera feeds?
First of all, thank you for taking the time to read this. How can I simultaneously access signals from two USB cameras using Swift on an iPad? I have a setup where two USB cameras (Camera1 and Camera2) are connected to an iPad via a USB hub. My goal is to simultaneously display the video feeds from both cameras in two separate video views (VideoView1 and VideoView2) within my Swift application, as illustrated in the attached diagram. Could someone guide me on how to achieve this? Specifically: How to manage multiple USB camera inputs in Swift. Any libraries or frameworks that support handling multiple video streams on iOS. Thank you in advance for your help!
3d
Disable SwiftData CloudKit sync when iCloud account is unavailable
I have a widely-used app that lets users keep track of personal data. This data is persisted with SwiftData, and synced with CloudKit. I understand that if the user's iCloud account changes on a device (for example, user logs out or toggles off an app's access to iCloud), then NSPersistentCloudKitContainer will erase the local data records on app launch. This is intentional behavior, intended as a privacy feature. However, we are receiving regular reports from users for whom the system has incorrectly indicated that the app's access to iCloud is unavailable, even when the user hasn't logged out or toggled off permission to access iCloud. This triggers the behavior to clear the local records, and even though the data is still available in iCloud, to the user, it looks like their data has disappeared for no reason. Helping the user find and troubleshoot their iCloud app data settings can be very difficult, since in many cases the user has no idea what iCloud is, and we can't link them directly to the c
1
0
140
3d
How do I finish and track Consumable IAPs with StoreKit 2?
Hi, I'm attempting to use StoreKit 2 and SwiftUI to add a tip jar to my iOS app. I've successfully added consumable IAPs for each of my tip sizes, and used ProductView to show these on my tip jar screen. However, I am at a loss on how to do the following things: How and when do I finish the consumable IAP transaction? I see the finish() function in the documentation, but I am not sure how I can call it given that ProductView is handling the purchase for me (I have no access to a Transaction object). How can I track the amount of consumable IAPs the user has purchased across all their devices? I want to show the user the amount of money they have tipped in total. I have added SKIncludeConsumableInAppPurchaseHistory to my Info.plist and set it to YES as suggested here: https://forums.developer.apple.com/forums/thread/687199 This is my first time using StoreKit 2 (until now, I was using StoreKit 1), so I would really appreciate any advice and guidance you can provide. Thanks!
0
0
83
3d
Reply to Updated HTML and Javascript in HTML
I recommend you try with this code to get both the link and text copied to clipboard and let me know the results const onClick = evt => { let text = Text to be converted to a link.; let url = hola puede ir a https://google.com + nn + https://www.apple.com; let element = document.getElementById(my-element); element.innerHTML = `${text}`; let varName = document.getElementById(links).value; content.innerHTML = varName; element.innerHTML = varName + url; navigator.clipboard.writeText(element.innerHTML); } document.querySelector('#links').addEventListener('click', onClick);
3d
Reply to SwiftUI - Open a file via a fileURL
You mentioned cross platform, and this is very late, but on macOS I couldn't get Link or @Environemnt(,openURL) to open a log file. BUT NSWorkspace.shared.openURL works for me. I don't think it is available on iOS though. I mainly posted in case some else finds this it will help. NSWorkspace seems obscure and I might not have found it save I had worked with it a lot some years ago. And to say hi to the eskimo ive seen here for years :) maybe ill see KMT again too.
3d
Need Help with LZMA2 Compression Using SWCompression in Swift
I'm looking for assistance with compressing data using the LZMA2 algorithm from the SWCompression library in an iOS project. I've encountered issues and need guidance on how to correctly implement LZMA2 compression. Any help or code examples would be greatly appreciated! Please help me providing information regarding this NOTE: If I use third party library means I am getting error from testflight The app references non-public symbols in Payload/Hogs.app/Hogs: _lzma_easy_encoder, _lzma_end (ID: 305f671a-b2ee-4e14-8764-00ed9b86bfb0) Help me solve this issue Thanks
1
0
101
3d
Reply to Notice of Termination
hi, currently I am facing a similar situation, where access to developer account is restricted. After Apple ID authentication, getting a form to fill to describe the issue and after submitting a case no is generated ,but response is being received yet from apple team. The support page link also redirects to the contact us page. any suggestions in this case, to how to get it resolved.
3d
Notarization stuck on "In Progress"
Hi there, I've developed a macOS app in Swift and SwiftUI. I'm planning to distribute the app outside of the App Store, so I'm currently getting it notarized. This is my first time notarizing an application. My application is signed correctly during the build / archive process, but whether I try to notarize the .app via Xcode's organizer or a .dmg via notarytool, it seems to get stuck. The status of Notarization attempts have been been stuck In Progress, with the earliest attempt approaching 4 days. Below is the output of xcrun notary tool history Successfully received submission history. history -------------------------------------------------- createdDate: 2025-01-01T08:25:21.033Z id: be860d89-9edd-4330-9358-aa3766772041 name: Sidekick.zip status: In Progress -------------------------------------------------- createdDate: 2024-12-31T17:08:37.493Z id: 9cbd609e-d287-4217-afe3-362386159805 name: Sidekick-beta.dmg status: In Progress -------------------------------------------------- createdDate: 2024
0
0
159
3d
iOS 18.2 Can't open X-Callback-URL from Safari Extension
I have a Safari Extension which replaces default new tab and puts a link on a generated new tab. This link can be either usual URL link, or a URL Scheme, something like plecoapi://x-callback-url/df?hw=${char}&sec=dict In iOS 17 and previosly, this link worked flawlessly. In iOS 18, including 18.2, this X-Callback-URL link works only once, if I kill Safari process, reopen Safari and tap the link. Each subsequent tap will just reload the page, link won't work anymore until the next Safari reload. Usual URL links works every time without a problem.
1
0
130
3d