ReplayKit - Broadcast Upload Extension - EXC_RESOURCE RESOURCE_TYPE_MEMORY - xcode11

It seems that I encounter a bug from Apple ReplayKit extension.
How to reproduce:
under Xcode 11.3.1 with a device iPhone 6S under iOS 13.3.1
if you try to debug an empty Broadcast Upload Extension under ANY application.
if you authorize the microphone access AFTER the broadcast started.
You will get EXC_RESOURCE RESOURCE_TYPE_MEMORY error

Related

AVPlayer failure with HLS live stream url on tvOS 13.4 (Works on tvOS 13.3)

I have an Apple TV app that plays HLS live streams from windows media services. The videos were playing perfectly on tvOS 13.3 but since testing on tvOS 13.4 I now get a cryptic error when I attempt to begin streaming the video. The URL format I am using is:
https://myhost.streaming.mediaservices.windows.net/{uuid}/{uuid}.ism/manifest(format=m3u8-aapl, audio-only=false)
And here is the error output from tvOS devices running 13.4 when I try to load an AVPlayer with that url:
Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSLocalizedFailureReason=An unknown error occurred (-12746), NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x6000000c8360 {Error Domain=NSOSStatusErrorDomain Code=-12746 "(null)"}}
I tracked the -12746 error down to this documentation but again not many details there. I also checked the errorLog() of the player item but there's nothing there.
The other interesting thing is I can recreate this error when I follow Apple's Creating a Basic Video Player example. Just copy and pasted their test url, it plays fine on tvOS 13.3 and below but fails with the above error on tvOS 13.4.
Has anyone else seen this error on tvOS 13.4 and if so did you find a workaround?
Thanks for the time.
I've face same error. It seems that it was issue with Simulator and probably with coreaudio on my MacBook Pro "16. After restarting Simulator and terminating coreaudiod process in Activity Monitor, video start playing in tvOS 13.4 simulator and in tvOS 13.3
Also at real device I didn't face this problem with latest tvOS (13.4.6)

Xcode fails to install watchOS app onto Apple Watch device

Xcode "Run" operation fails to install a watchOS app on a real Apple Watch device with error description:
The host is not paired with the device.
Context:
First time ever trying to install a watchOS app from Xcode onto an Apple Watch device for testing/debugging
The watchOS app is an official Apple SwiftUI tutorial example
Assume latest versions of MacOS, Xcode, watchOS, Watch device, etc.
The selected scheme is the watchOS app target
The selected device is "[my Apple Watch name] via [my iPhone name]"
The Apple Watch is in fact paired with the companion iPhone, despite what the Xcode error says
The Apple Watch has not yet trusted this particular Xcode, Mac, developer account, or app. The Apple Watch should have received a "trust/don't trust" notification, but did not; this may be a bug on Apple's part.
However, we can force the notification to pop up by simply restarting the Apple Watch device. The Watch should receive the notification immediately upon restarting. Click "Trust" in the notification on the Watch. Then retry, from Xcode, the "Run" operation. The watchOS app should now install OK on the Apple Watch device.
What needs to be done is restarting both devices, iPhone and paired Apple Watch, connect iPhone to computer with cable. When the trust/don't trust notification appears on the Apple Watch or iPhone obviously choose 'trust'. Then the app will install again.
What it stops from running on your watch sometimes is if you have a simulator debug session open still. It says it can't install because there is another debug session running (but not on your watch..)! Closing this simulator session will allow you to install on your watch.
Other times xCode is building fine and thinks it's running the app on your watch, but it runs an old version and you don't see any changes made. Then you have to delete the app from your Apple Watch.
What also sometimes stops it from running on the Apple Watch are in Xcode the Preferences->Accounts->Profiles. Installing them manually will help in that case.
If nothing works uncouple your apple watch from your iPhone and recouple again.
Why isn't this still been resolved? I see people complaining about it for several of years now. Is this bug only related to standalone apps?

Swift sample code compiles but does not connect to Phantom 4

I've successfully compiled the Swift sample code onto my iPhone 6S, however, the status continues to remain in Trying to connect. I'm able to connect with the DJI app itself so it must be something to do with the code or some configuration. Any tips? Also, is there any way to connect to the Phantom with the iOS simulator or is it necessary to compile onto the device to be able to connect to the remote?
OSX: El Capitan 10.11.6
iPhone 6S with iOS 11.0.2
XCode 8.2
You should read the bridge app tutorial
http://developer.dji.com/mobile-sdk/documentation/ios-tutorials/BridgeAppDemo.html
so that you can run your app from the iOS simulator.
As to connecting with iOS 11.0.2 - if you open your app, then un-plug and reconnect the USB cable with your app in focus, how does it go? Some issues are being seen with multi-tasking apps into the DJI remote controllers, and it's an issue that is being worked on.
Hope that helps!
You might have to plug the lightning cable into the phone after the application has already launched, then your Phantom 4 will appear.

Apple TV wireless debugging Unable to connect

I am trying to pair my apple TV (4th Gen) running tvOS 11.1 with Xcode 9. After entering the pairing code, Xcode tries to setup the Apple TV for wireless debugging and enabling development mode, but fails with the error
"An error was encountered while attempting to communicate with this device. (End of file.)" See below image
Note that I was able to pair with my apple TV successfully and run an app on it couple of weeks ago using Xcode 9 wireless debugging feature. Wireless debugging works fine for iphone and iPad. Now, I seem to be having problem with my Apple TV.
UPDATE: Now I have tried even resetting my AppleTV, still same issue.
Xcode 9 Devices and Simulators Window
I have tried restarting my apple TV and tried reconnecting it with Xcode multiple times, but I get the same error always.
Do I need to reset my apple TV or is there any other work around available to fix this issue ?
As it turned out, I had to use Xcode beta version, as I was installing app on the beta tvOS version. I didn't notice that Apple TV was updated to tvOS 11.1 which is in beta at the moment.
Solution: Using Xcode 9.1 (beta) to install the app on Apple TV 4 worked perfectly.

I am getting more data on device compare to simulator

I am sending a request to server and rec it on iOS device
when I am running application on simulator 354 data is received and next view will navigate
and with ios device 1530 data received and app stuck here nothing happen further
on simulator app is running perfectly but not on device
also
I am trying to run application on xcode 4- simulator 4.3 which is running perfectly
and device have 4.3.5 and here i have problem
can xcode 4 is cabable for device 4.3.5 version?
thank you

Resources