Post

Replies

Boosts

Views

Activity

Xcode 13 typing is delayed / really slow
I just updated Xcode to the newest Version (13.0 13A233). And what I immediately recognized was that when I was typing in a large class (1000 Lines or more) the typing was delayed like 1 or 2 seconds. This makes it really hard to type or even do anything with my project. It works perfectly fine in smaller projects with only 100 Code Lines per File, but it is really hard to type in bigger projects with over 30 files and 3000 Code Lines per File. This always happens when I use Xcode, whether I run the app on a real device or a simulator. Things that could cause the issue in my case: I removed the contents of ~/Library/Developer/Xcode/iOS DeviceSupport, because it took the device previously too long to launch, but I don´t think that this should have an effect on my Xcode typing performance. I would really appreciate any help, because this issue makes my work impossible and really concerns me a lot.
53
3
21k
Oct ’21
VoIP App closes after 10 seconds in background, although the microphone is being used.
I have an app where a user can talk with other people. If the user is currently in a call with someone else and then exits the app, the app closes after exactly 10 seconds. Even though the app uses the microphone and I have turned on Voice over IP in Background Modes, the app closes after this time. Before it closes it shows the orange icon in the top left corner, which indicates that the microphone is being used. How can I prevent the app from closing when the user is in an active voice call? I am using Swift and Xcode 13.1.
1
0
1.2k
Nov ’21
Can't update to Xcode 13 (Error: Not enough disk space)
I wanted to update my Xcode to Xcode 13, because it just came out yesterday. But now I'm facing the following issue while trying to update it from the App Store: The App Store shows me, that I don't have enough disk space, although I have 39 GB free storage on my Mac. I also just updated to the newest Software Version for my Mac (macOS Big Sur 11.6) and then restarted my Mac, but it´s still not working. I looked through a lot of forums, but I can´t figure out why it isn't working. It seems to be a common issue for a lot of people when a new version for Xcode releases. Does anybody faces/faced the same issue and knows a solution for this problem?
5
0
10k
Sep ’21
Share the current screen to another user in the call.
My goal is to implement a screen sharing function like Skype, Discord etc. My biggest problem in that implementation is that when you have an active RPScreenRecorder.shared() screen recording and then leave the app, the screen recording stops. For my goal it is necessary to be able to share the screen even if the app is in background. For example: The local user shares his current screen to another user, then exits the app to show the other user his Photo Library in realtime. Problem 1: I have came across ReplayKit and "RPBroadcastSampleHandler", but this extension is only called when I explicitly run the app with the "ScreenShare" scheme that I created. When I try to run the app on the normal/main scheme the extension functions aren't called. Problem 2: I can't call my pod functionalities from the "RPBroadcastSampleHandler" class. It just says "-PodName- not found" when I try to import the pod I need to use. There are no full documentations on that topic and I would really appreciate anybody who can explain to me what I am doing wrong.
0
0
669
Nov ’21
Running ARKit Camera while AVCaptureSession is active.
Hello, I recently came across a problem, while developing my ARKit Application. I was trying to implement a feature, so that while the user is in his ARSession, he can see his face through his front camera in a little UIView at the bottom. But when I create the AVCaptureSession, the ARKit Camera freezes and just the AVCapture Preview appears. Is it possible to run both cameras at once, while the back camera is used for ARKit? Regards, Oscar Junius
1
0
1.4k
Apr ’21