简体   繁体   中英

Soundcloud Apple Mach-O Linker error when running from Iphone device

My program runs fine when i use the simulator however, when i try run it on an ios Device i get the apple mach-o linker error. This only started to happen when i added the soundcloud api

This is the error I'm getting:

在此处输入图片说明

This means the library you are linking against (Soundcloud) was not built for arm64. It looks like some of your other dependancies (like JSONKit) were also not built for arm64.

If you change your build architectures to only build for the architectures you can support (armv7, armv7s), that is one way of fixing the problem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM