This is a dedicated space for developers to connect, share ideas, collaborate, and ask questions. Introduce yourself, network with other developers, and join us in fostering a supportive community.

All subtopics
Posts under Community topic

Post

Replies

Boosts

Views

Activity

ArAnchor shifts
I encountered some issues while developing a Vision Pro program using Unity. After binding an ARAnchor to a game object, I overlapped the virtual game object with a real-world cup. However, when I moved around with the Vision Pro on, the virtual game object shifted, causing the real-world cup and the virtual object to no longer coincide. Is there a way to solve this?
1
0
88
May ’25
RxSwift Driver got fatal error in Swift Testing because it is not called form main thread.
Hi, I'm trying the new Swift Testing instead of XCTest for my new project. I am using RxSwift+UIKit. And when I am trying to test my ViewModel that has a Driver in it, it crashes due to the driver is not being called form main thread. Thread 5: Fatal error: `drive*` family of methods can be only called from `MainThread`. Here is the test code: struct PlayerViewModelTest { @Test func testInit_shouldPopulateTable_withEmpty() async throws { // Arrange let disposeBag = DisposeBag() var expectedSongTableCellViewData: [SongTableCellViewData]? // Act let sut = PlayerViewModel(provideAllSongs: { return .just(mockSongList) }, provideSongByArtist: { _ in return .just(mockSongList) }, disposeBag: disposeBag) sut.populateTable .drive(onNext: { expectedSongTableCellViewData = $0 }) .disposed(by: disposeBag) // Assert #expect(expectedSongTableCellViewData != nil, "Should emit something so it should not be nil") #expect(expectedSongTableCellViewData!.isEmpty, "Should emit empty array") } } This never happen in XCTest. So I assume Swift Testing is not being run in the main thread? How do I fix this? Thanks
1
0
144
Mar ’25
USB Audio Input Blocked When Screen Mirroring via AirPlay
Hello Apple Developers, I am experiencing an issue where USB audio input (e.g., external USB microphone) is blocked when using AirPlay screen mirroring from my iPhone to a Mac or Apple TV. However, the built-in microphone continues to work without any problem. Issue Details: I am using an iPhone 15 (or latest device) running iOS [your iOS version]. I connect a USB audio interface/microphone via a USB-C adapter or Lightning adapter. The USB microphone works perfectly for audio input before starting AirPlay. The moment I enable AirPlay screen mirroring, the USB microphone stops working, and it disappears from available audio input sources. The built-in microphone continues to function, but I cannot use the USB microphone while mirroring. When I stop screen mirroring, the USB microphone immediately becomes available again. Expected Behavior: I would expect iOS to allow me to continue using an external USB microphone while mirroring my screen, just like it allows the built-in microphone to work. Questions: Is this an intentional restriction in iOS? Is there any workaround to enable USB audio input while using AirPlay screen mirroring? Is there a way to request a feature or configuration option to allow external USB microphones during AirPlay? I appreciate any insights or guidance from the Apple team or fellow developers. Thanks in advance! Best regards,
0
0
330
Mar ’25
WalletUIExtention alert "Unable to add card"
I download a demo from:https://applepaydemo.apple.com/wallet-extensions And I run my WalletUIExtention,but it's failed. This is some key in my info.plist <key>NSExtensionMainStoryboard</key> <string>MainInterface</string> <key>NSExtensionPointIdentifier</key> <string>com.apple.PassKit.issuer-provisioning.authorization</string> <key>NSExtensionPrincipalClass</key> <string>MyAUViewController</string> But I found that deleting the key: NSExtendesionPrincipalClass or NSExtendeionMainStoryboard in the info.plist file can make it run. Should I delete the key ? Whitch key ? This is it alert: This it's message: 2025-05-06 09:15:02.946890+0800 WalletUIExt[626:13530] Successfully load keyboard extensions Line: 1 Col:1 2025-05-06 09:15:02.972702+0800 WalletUIExt[626:13597] [xpc.exceptions]<NSXPCConnection: 0x2830c30c0> connection from pid 584 on mach service named com.bank.app.WalletUIExt.viewservice: Exception caught during decoding of received selector __connectToViewControllerFromRemoteViewController:replyHandler:, dropping incoming message. Exception:<NSXPCDecoder: Qx12a82bc00> received a message or reply block that is not in the interface of the remote object (__connectToViewControllerFromRemoteViewController:replyHandler:),
0
0
111
May ’25
Prevent iOS "Use Mobile Data" Prompt When Connected to Wi-Fi Without Internet in Flutter
I am developing a flutter app that connects the app to the boat VCU through Wi-Fi. In the iOS version of the mobile app, when the device connects to a Wi-Fi network, iOS assumes that all network traffic should route through Wi-Fi. As the connected Wi-Fi network has no internet access, iOS prompts the user with the options: "Use Mobile Data" or "Keep Trying Wi-Fi." If the user selects "Keep Trying Wi-Fi," mobile data will not be used by other apps on the phone. If the user selects "Use Mobile Data," the app switches to mobile data while remaining connected to the Wi-Fi network (VCU) without any issues. The issue is we need to find a way to prevent showing that prompt and instead handle this through code. After connecting to VCU, the mobile network is available for a few second but then it switches to wifi and no internet! I checked all the online documentation but there is not any solution for it. So, I need to stay connect to vcc and other apps use mobile data. I tried WiFiForIoTPlugin.forceWifiUsage(false); but didn't work. I tried adding delay that also didn't work. This is the function in my code that handles connecting to Wi-fI: Future connectToWifi() async { try { if (Platform.isAndroid) { isConnected = await WiFiForIoTPlugin.connect( _vesselData['ssid'], password: _vesselData['passphrase'], security: NetworkSecurity.WPA, // Enable Internet access withInternet: false, isHidden: true, timeoutInSeconds: 10, joinOnce: true, ); // Force Android to treat Wi-Fi as the primary network using await WiFiForIoTPlugin.forceWifiUsage(true); } else if (Platform.isIOS){ isConnected = await WiFiForIoTPlugin.connect( _vesselData['ssid'], password: _vesselData['passphrase'], security: NetworkSecurity.WPA, isHidden: true, timeoutInSeconds: 10, // Ensures the connection remains persistent, preventing the system from disconnecting the device. joinOnce: false, ); } if (isConnected) { log("Connected to ${_vesselData['ssid']}"); streamData(); } else { log("Failed to connect to ${_vesselData['ssid']}"); } } catch (e) { log("Error: $e"); } } I use :Device Model: iPhone 12 Pro Max iOS Version: iOS 18.3.1 Xcode Version: Xcode 16.2 Mac Version: macOS Sonoma 14.3
1
0
312
Mar ’25
Restart Issue iPhone 14 Pro Max
I have a iPhone 14 Pro Max device with iOS 18.2.1 but I am facing an in which the device gets restart abruptly.Interestingly, today the device is not restarting at all. I attempted a hard reset by pressing the volume up button, followed by the volume down button, and then holding the power button, but this method was unsuccessful. When I connect the device to a charger, the Apple logo appears, but it disappears after a short period, and the device does not progress beyond this point. I would appreciate any assistance in recovering my device.Has anyone experienced the same issue with the iPhone 14 series?
1
0
243
Feb ’25
iMessage
My imessage has been acting up for 1 month now. It fails to activate my phone number and prefers my email. This is a beta issue Apple support has told me and it needs fixing asap.
0
0
57
Apr ’25
ios 18.4.1 internet issues
I’ve recently updated to ios 18.4.1 and I have problems with the internet. Things download painfully slow, an application that used to download in 10 seconds is now downloading in 2 minutes. Videos tend to stop at some point and when i fast forward them it stops to load a little when on the previous version it would work fine. It feels like my internet aged 30 years in 10 minutes. I’ve tried on other phones (not iphones) and it works just fine. Is it from the update or is it just my internet?
1
0
130
Apr ’25
Notes.app EXEC_CRASH (SIGKILL (Code Signature Invalid))
I'm pretty desperate today and unfortunately it's making me sick, really sick. Yesterday I edited a note on a MacBook Pro, M2 processor, MacOS Sequoia 15.8.1 (-1) and today the text work I invested several days in is lost. My only option is to delete the note! So far I've had very, very good experiences with the Notes.app, robust, reliable, manageable range of functions. When integrating the math functions I became really suspicious for the first time. I had calculated series and sequences and suddenly the Note.app froze for a worryingly long time, in fact the entire operating system was blocked. Then today I got a huge shock, the note can no longer be opened, neither on the iPhone nor on the MacBook Pro. The note contained my business concept for a business partner. I had already been writing the concept for several days! I estimated the value at several thousand euros. This has torn me apart, I can feel myself getting sick. I'm going to the doctor tomorrow and it might take a week for me to get a sick note. I'm pretty shocked. Here are the technical details, in case someone at Apple Incorp. wants to look into it. The note contains links and photos and is encrypted! Which in and of itself is an impossibility. Or is it? In any case, the Notes.app has always stubbornly claimed that I cannot encrypt notes with this content. That's a paradox, isn't it? I'm schizophrenic! I'm attaching the Notes.app crash report to this post. I can't say more at the moment. Except that I'm very, very sad and very, very shocked. Notes wurde unerwartet beendet.
1
0
260
Mar ’25
Wireless CarPlay
i am running iOS 18.5 beta 3 (iPhone 16 pro max) and my phone will not connect wirelessly to any of my vehicles. When connected via the apple certified usb-c cord, it will connect just fine. I have removed all vehicles from my phone, then removed my phone from both vehicle, reconnected, and it still will not connect wirelessly.
0
0
58
May ’25
System update issue
I upgraded my macOS to 13.7.5 and since then I cannot open Adobe InDesing on my iMac. I contacted Adobe Support to assist with the issue and they couldn't find any solution from their side. Probably the update is not compatible? Is there a way I can solve this issue? Or remove the beta version from my system?
0
0
157
Mar ’25
Issue with Developer
I am a startup founder based in India. Recently the iOS developer we were working with left the company in some what acrimonious circumstances. Post his departure from the company, he has made it clear that he will try to cause damage to our iOS app to the extent that it starts to crash. Even though we have removed his access, as a non tech founder, I am not sure what ways he can edit or hamper our iOS app and what measures we can take to protect the same. Please advise us with steps for us to secure our code and ensure no one can edit the same or hamper our iOS app on the app store. Thank you
1
0
205
Feb ’25
Plugin/Module deployment support in App Store
Our app provides configuration and maintenance features for Siemens electrical devices. The app supports multiple devices and the devices have their own specific features, which also need to be supported by our App. The devices can be released to the market only when our app supports those features. Our app release timeline is once in every 4 months. We face a challenge when some of these devices are not able to deliver their features by our release time. So, we would like to make these devices plugins, which can be independently released, without releasing the App every time. The app would, of course, be released once in every 4 months, depending on the common features. I'm not able to find how to release only the plugins within the app, without releasing the entire app. Some one has suggested app extensions, but that does not fit our solution as in some cases, we need continuous polling of data from one or mode devices for minutes or hours, as the app can be used by the user to monitor some of the device values.
0
0
219
Mar ’25
GoogleAPIClientForRest classes not found
I am trying to connect to a google worksheet with a service account and have added the GoogleAPIClientForRest (Drive and Sheets) and GTMSessionFetcher (Core) dependencies to my project. However, this code import GoogleAPIClientForRESTCore import GTMSessionFetcherCore func test() { let x = GTLRServiceAccountCredentials.self let y = GTLRAuthorizer.self print("Classes Found") } I get the the following errors: Cannot find "GTLRServiceCredentials' in scope and Cannot find 'GTLRAuthorizer' in scope. The dependencies are listed in the Link Binary with Libraries section. I have am using the latest versions of OS and Xocod and have reinstalled both to try and resolve this issue with no luck.
1
0
87
Apr ’25
Iphone mirroring not functioning properly
After I got my repaired phone back from the shop, I noticed that iphone mirroring is not functioning like normal. I tried every solutions from deleting the .plist files and reset my phone's connection, but now it seems like the problem comes from the mirroring app itself. After deleting the .plist file and resetting the MBP, the setup for the mirroring app won't let me continue, as clicking the "continue" button only flash the descriptions of the mirroring feature for a slight moment, then return to the same setup UI as before. Is there anyway to completely delete and reinstall this app so that it functions again?
0
0
119
Mar ’25
Error with downloading SAP
Hi! I am a 3rd year accounting student trying to install an SAP gui onto my brand new Macbook Air. Every time I download the app, it refuses to open and pops up with this error. "CODESIGNING 1 Taskgated Invalid Signature" I have Java installed for it and have followed my professor's directions, so it should be working. Can someone help me?
1
0
171
Feb ’25