libsndfile / libsamplerate

An audio Sample Rate Conversion library
http://libsndfile.github.io/libsamplerate/
BSD 2-Clause "Simplified" License
603 stars 168 forks source link

build instructions for ios #95

Closed mlostekk closed 5 years ago

mlostekk commented 5 years ago

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

Katko commented 5 years ago

Hey @mlostekk you can use cmake.

erikd commented 5 years ago

Thanks @Katko !

Katko commented 5 years ago

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 5 years ago

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