michaeltyson / TPCircularBuffer

A simple, fast circular buffer implementation
http://atastypixel.com/blog/a-simple-fast-circular-buffer-implementation-for-audio-processing/
837 stars 141 forks source link

Xcode 14.3 beta not compiling #38

Open cohen72 opened 1 year ago

cohen72 commented 1 year ago

Any ideas how to resolve this issue?

ld: file not found: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a clang: error: linker command failed with exit code 1 (use -v to see invocation)

Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '15.0'
use_frameworks!

target '<AppName>' do
  pod 'TPCircularBuffer', '1.6.1'
end
mman commented 1 year ago

Use SPM Luke!

cohen72 commented 1 year ago

@mman

Use SPM Luke!

Yes I would, however since we're using KMM (Kotlin Multiplatform Mobile), it's accessing the lib via Cocoapods ... I'll have to look into how to use it as a swift package instead, together with KMM

tetujin commented 1 year ago

Hi @cohen72, I have faced the same issue on Xcode 14.3 with Cocoapods.

You can fix this by changing "Minimum Deployments" to more than 11.0 from 8.0. The parameter is located on Xcode -> TAEGETS -> TPCircularBuffer -> General -> Minumum Deployments