I'm attempting to use kmmbridge to publish a libra...
# touchlab-tools
r
I'm attempting to use kmmbridge to publish a library to cocoapods (unfortunately I can't use SPM becase React Native doesn't support it). When its trying to validate the spec locally, the build fails with:
Copy code
rror:     The following build commands failed:
error:          Ld /Users/raman/Library/Developer/Xcode/DerivedData/App-gpoirstsnxljcvgynlusxworiion/Build/Intermediates.noindex/App.build/Release-iphonesimulator/App.build/Objects-normal/x86_64/Binary/App normal x86_64 (in target 'App' from project 'App')
error:          Ld /Users/raman/Library/Developer/Xcode/DerivedData/App-gpoirstsnxljcvgynlusxworiion/Build/Intermediates.noindex/App.build/Release-iphonesimulator/App.build/Objects-normal/arm64/Binary/App normal arm64 (in target 'App' from project 'App')
error:     (2 failures)
error:     clang: error: SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a'; try increasing the minimum deployment target
I've tried setting minimum deployment target to 13.0 for my library, but that doesn't seem to help. The cocoapods build still seems to be targeting ios8.0:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-ios8.0-simulator ...
. How do I get past this error? The pod works fine locally, so it'd be nice to just skip this validation build if possible.
Not sure I understand why, but this isn't happening any more. Maybe I needed to do a clean build or something after changing the deployment target.