TagLib Framework with ARM64 architecture

Stephen F. Booth me at sbooth.org
Thu Nov 5 18:00:23 GMT 2020


I recently built the taglib 2 branch as an XCFramework for x86_64 and arm64
on macOS and iOS. I didn't use cmake and instead created an Xcode project
manually. It might be helpful:
https://github.com/sbooth/AudioXCFrameworks/tree/main/taglib

Stephen

On Thu, Nov 5, 2020 at 9:29 AM Uwe L. Korn <uwelk at xhochy.com> wrote:

> Hello Jason,
>
> you should use clang as it is shipped with the macOS SDK. Note that you
> will need at least the SDK version 11 for macOS-arm64, 10.15 will not work.
>
> Cheers
> Uwe
>
> On Thu, Nov 5, 2020, at 3:57 PM, Jason Fleischer wrote:
>
> TagLib developer,
>
> Trying to build a Tablib framework that has Arm64 architecture with the
> following command:
>
> sudo cmake -DCMAKE_BUILD_TYPE=Release \
>
>     -DBUILD_FRAMEWORK=ON \
>
>     -DCMAKE_C_COMPILER=/usr/bin/gcc \
>
>     -DCMAKE_CXX_COMPILER=/usr/bin/c++ \
>
>     -DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/
> \
>
>     -DCMAKE_OSX_DEPLOYMENT_TARGET=10.13 \
>
>     -DCMAKE_OSX_ARCHITECTURES="arm64"
>
>
> However the compiler gcc does not support arm64 architectures. Attached
> are the logs.
>
>
> What compiler should I use? Is this possible?
>
>
> I need arm64 for macOS universal builds with their new silicon chips.
>
>
> Any help would be greatly appreciated,
>
>
> Jason
>
> *Attachments:*
>
>    - CMakeOutput.log
>    - CMakeError.log
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20201105/4f609501/attachment.htm>


More information about the taglib-devel mailing list