Post

Replies

Boosts

Views

Activity

Xcode 14.3.1 Type Y has no member x
Hi, We are using Github actions to build our CI/CD. In github actions the highest xcode version possible to use 14.3.1. When trying to build the app using fastlane we encounter several errors Type 'Circle' has no member 'circle' Type 'Shape' has no member 'capsule' When looking at the documentation for circle and capsule both are @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) capsule @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) extension Shape where Self == Capsule { /// A capsule shape aligned inside the frame of the view containing it. /// /// A capsule shape is equivalent to a rounded rectangle where the corner /// radius is chosen as half the length of the rectangle's smallest edge. public static var capsule: Capsule { get } /// A capsule shape aligned inside the frame of the view containing it. /// /// A capsule shape is equivalent to a rounded rectangle where the corner /// radius is chosen as half the length of the rectangle's smallest edge. public static func capsule(style: RoundedCornerStyle) -> Self } circle @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) extension Shape where Self == Circle { /// A circle centered on the frame of the view containing it. /// /// The circle's radius equals half the length of the frame rectangle's /// smallest edge. public static var circle: Circle { get } } Does anyone have any idea why would an xcode 14.3.1 and iOS 13.0 available syntax is causing this error? Thanks
0
1
321
Jan ’24
Archiving an App with Developer ID Provisioning
Hi, I'm building a MacOS app that will be published outside of the AppStore (Using an installer). In the app we have an option to sign-in with Apple & Google. While trying to archive the app and distribute with a Developer ID, xcode presented us with this error, and once the entitlements were removed the sign-in with Apple/Google stopped working. Is there a way to archive the app and distribute with Developer ID and also support sign-in with Apple/Google? Thanks!
1
0
827
May ’23
Audio Unit callback freezes when connecting bluetooth device
Hi, Not sure if this is by design or not, but whenever I connect a Bluetooth device to the app the AU callback stops producing frames for several seconds until the device is connected. I'm building a recording app that uses AVAssetWriter with fragmented segments (HLS buffers). When the callback freezes it suppose to create a gap in the audio but for some reason, the segment that is created does not contain an audio gap, and the audio just "jumps" in timestamps.
0
0
695
Jan ’22
CMSampleBuffer's audio format changes when coming from the background
Hi, I'm capturing Audio and Video using AVFoundation's AVCaptureSession using the AVCaptureVideoDataOutputSampleBufferDelegate & AVCaptureAudioDataOutputSampleBufferDelegate to collect CMSampleBuffers and write them to file using AVAssetWriter. The issues I'm facing is that while recording if the user goes to the background and returns, the CMSampleBuffer's AudioFormat changes from: this FormatList Array: { Index: 0 ChannelLayoutTag: 0x640001 ASBD: { mSampleRate: 48000.000000 mFormatID: 'lpcm' mFormatFlags: 0xc mBytesPerPacket: 2 mFramesPerPacket: 1 mBytesPerFrame: 2 mChannelsPerFrame: 1 mBitsPerChannel: 16 }} to this: FormatList Array: { Index: 0 ChannelLayoutTag: 0x640001 ASBD: { mSampleRate: 48000.000000 mFormatID: 'lpcm' mFormatFlags: 0xc mBytesPerPacket: 8 mFramesPerPacket: 1 mBytesPerFrame: 8 mChannelsPerFrame: 4 mBitsPerChannel: 16 }} This obviously creates an issue with the AudioInput in the AVAssetWriter and fails the writing Does anyone have an idea what going on? As to the CaptureSession setup: Inputs: Front / back camera & internal microphone outputs: AVCaptureVideoDataOutput & AVCaptureAudioDataOutput I am changing the active format in the videoInput's device when I start the session Thanks, Yoav
2
1
1.4k
Jun ’21