Posts

Post not yet marked as solved
3 Replies
@tungdangplus  That didn't work for me. In AppDelegate, I did:     func applicationWillResignActive(_ application: UIApplication) {         let viewController = window?.rootViewController as! ViewController         viewController.disconnectAVPlayer()     } and then in ViewController, I did:     public func disconnectAVPlayer() {       playerViewController.player = nil     }
Post not yet marked as solved
42 Replies
I've tried all of the above, and I'm getting this error: Pods-{myprojectname}-}frameworks.sh: line 144: ARCHS[@]: unbound variable Command PhaseScriptExecution failed with a nonzero exit code
Post not yet marked as solved
1 Replies
A little more information....I downloaded the container from my app on to my computer and looked inside. In the m3u8 file that's saved into the movpkg bundle, the segments are always preceeded by a key, like this:#EXT-X-KEY:METHOD=AES-128,URI="https://myKeyURL.com/keypath",IV=0x00000000000000000000000000000000#EXTINF:4.0960,https://mySegmentURL.com/slices/segment1.tsAlso... the "frag" files from apple's sample app... if I change the extension to ".ts", they play fine in QuickTime. But the frag files from my video do not. So my current theory is that when in airplane mode, it's trying to reach the key at the remote server to decrypt the segment, and of course it's unreachable when offline.Any ideas?