Posts

Post not yet marked as solved
4 Replies
1.8k Views
I have the new iOS 14 VideoPlayer: private let player = AVPlayer(url: Bundle.main.url(forResource: "TL20_06_Shoba3_4k", withExtension: "mp4")!) 		var body: some View { 								VideoPlayer(player: player) 								.aspectRatio(contentMode: .fill) ... This player setup can not display 4:3 video on 16:9 screen of tv without black stripes. Modifier aspectRatio does not work on VideoPlayer. How can I set videoGravity of existed AVPlayerLayer to resizeAspectFill via SwiftUI API?
Posted Last updated
.
Post marked as solved
11 Replies
5.7k Views
In our company we have big Xcode project with workspace that contains 7 subprojects. Yesterday I installed 10.14 18A347e and today I get troubles with codesign. Xcode building for devices is failed with error every time:error: The specified item could not be found in the keychain.It is remarkable that every build finished with different result: codesign cannot sign different frameworks and libs build to build.CodeSign /Users/egor.merkushev/Library/Developer/Xcode/DerivedData/MyApp-daluhbxrpqwoyrcpcfqzexbfzsud/Build/Products/Debug-iphoneos/MyApp.app/Frameworks/somename.framework cd /Users/egor.merkushev/Development/myapp export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" Signing Identity: "iPhone Developer: Egor Merkushev (XXXXXXXXX)" /usr/bin/codesign --force --sign XXXXXXXXXXXXXXX --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/egor.merkushev/Library/Developer/Xcode/DerivedData/MyApp-daluhbxrpqwoyrcpcfqzexbfzsud/Build/Products/Debug-iphoneos/MyApp.app/Frameworks/somename.frameworkI tried to run codesign command manually and it successfully finished. So I found that Xcode run 5-6 processes of codesign for one build. And I think what it is a bug of Keychain - it does not allow access to my certificate for such number of processes simultaneously. I tried to turn off parallel build and change build system in Xcode, but got no success. Can somebody help me?
Posted Last updated
.
Post not yet marked as solved
1 Replies
961 Views
I have an iOS app with working network extension for VPN based on `NEPacketTunnelProvider`.I need to fix some issues in it's behaviour and I can not understand how does system work with extension. Time-to-time I need to check some internal settings of the app to allow or deny connection via VPN.Documentation says:Instance MethodstartTunnel(options:completionHandler:)Start the network tunnel.This method is called by the system to start the network tunnel.Settings of my VPN turn on on-demand option for it and I have a question: how does often system call this method? Once per session? Often? Is this method called during switching from WiFi to Cellular, or when device returns from Airplane mode?
Posted Last updated
.