1
Someone could help me, I’m having a problem running my app on Iphone 6 I use a library to convert audio to mp3 call libmp3lame.a, but I can’t compile, follow the Warning.
ld: warning: ignoring file /Users/Abound/Desktop/Projeto Sistema da Igreja/App/AppIgreja/AppIgreja/GravaAudio/libmp3lame.a, missing required architecture x86_64 in file /Users/Abound/Desktop/Projeto Sistema da Igreja/App/AppIgreja/AppIgreja/GravaAudio/libmp3lame.a (3 slices)
Undefined symbols for architecture x86_64:
"_lame_close", referenced from:
-[CorrenteOracoes toMp3] in CorrenteOracoes.o
"_lame_encode_buffer_interleaved", referenced from:
-[CorrenteOracoes toMp3] in CorrenteOracoes.o
"_lame_encode_flush", referenced from:
-[CorrenteOracoes toMp3] in CorrenteOracoes.o
"_lame_init", referenced from:
-[CorrenteOracoes toMp3] in CorrenteOracoes.o
"_lame_init_params", referenced from:
-[CorrenteOracoes toMp3] in CorrenteOracoes.o
"_lame_set_VBR", referenced from:
-[CorrenteOracoes toMp3] in CorrenteOracoes.o
"_lame_set_in_samplerate", referenced from:
-[CorrenteOracoes toMp3] in CorrenteOracoes.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The error is saying that the version of libmp3lame.a is not using x86_64 architecture. Try downloading a new version that supports this architecture in this repository, or generate a new lib yourself by following these steps.
– iTSangar