libsndfile/libsamplerate

build instructions for ios

Closed this issue · 4 comments

Do you have a guide how to compile this as a fat library for all required ios architectures (x86_64, armv6, armv7, ...)?

Katko commented

Hey @mlostekk you can use cmake.

erikd commented

Thanks @Katko !

Katko commented

Hey @erikd I was using GitHub repo mentioned above to build libsamplerate but I stumbled upon an issue with some unsigned code. I am sharing below the error message and the environment used. Looks like it is something coming from one of the test files in libsamplerate any ideas how to resolve it?

Error

Check dependencies
Code Signing Warning: "snr_bw_test" isn't code signed but requires entitlements. It is not possible to add entitlements to a binary without signing it.
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 12.4'

** BUILD FAILED **

Environment

cmake version 3.15.2
Xcode 10.3

erikd commented

snr_bw_test is a program in the test suite. I know nothing about iOS dev.