TPCircularBuffer icon indicating copy to clipboard operation
TPCircularBuffer copied to clipboard

Xcode 14.3 beta not compiling

Open cohen72 opened this issue 2 years ago • 3 comments

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

cohen72 avatar Feb 26 '23 16:02 cohen72

Use SPM Luke!

mman avatar Feb 26 '23 17:02 mman

@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

cohen72 avatar Feb 27 '23 12:02 cohen72

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

tetujin avatar Apr 06 '23 02:04 tetujin