Создан для архива, который не связан с архитектурой (arm64) - PullRequest
0 голосов
/ 19 июня 2019

Я пытался сделать все по инструкции: https://github.com/SFML/SFML/wiki/Tutorial:-SFML-for-iOS

Первая проблема: Xcode после компиляции проекта библиотеки Cmake не создают их в папке

/Users/[username]/Documents/Libraries/SFML/build/ios/
only in:
/Users/[username]/Documents/Libraries/SFML/build/ios/Debug/

Вторая проблема: Я получаю предупреждение / ошибку при компиляции с моим SFML-проектом iOS:

ld: warning: ignoring file /Users/[my_username]/Documents/Libraries/SFML/build/ios/lib/Debug/libsfml-main-d.a, file was built for archive which is not the architecture being linked (arm64): /Users/[my_username]/Documents/Libraries/SFML/build/ios/lib/Debug/libsfml-main-d.a
ld: warning: ignoring file /Users/[my_username]/Documents/Libraries/SFML/build/ios/lib/Debug/libsfml-audio-s-d.a, file was built for archive which is not the architecture being linked (arm64): /Users/[my_username]/Documents/Libraries/SFML/build/ios/lib/Debug/libsfml-audio-s-d.a
ld: warning: ignoring file /Users/[my_username]/Documents/Libraries/SFML/build/ios/lib/Debug/libsfml-system-s-d.a, file was built for archive which is not the architecture being linked (arm64): /Users/[my_username]/Documents/Libraries/SFML/build/ios/lib/Debug/libsfml-system-s-d.a
ld: warning: ignoring file /Users/[my_username]/Documents/Libraries/SFML/build/ios/lib/Debug/libsfml-window-s-d.a, file was built for archive which is not the architecture being linked (arm64): /Users/[my_username]/Documents/Libraries/SFML/build/ios/lib/Debug/libsfml-window-s-d.a
ld: warning: ignoring file /Users/[my_username]/Documents/Libraries/SFML/build/ios/lib/Debug/libsfml-network-s-d.a, file was built for archive which is not the architecture being linked (arm64): /Users/[my_username]/Documents/Libraries/SFML/build/ios/lib/Debug/libsfml-network-s-d.a
ld: warning: ignoring file /Users/[my_username]/Documents/Libraries/SFML/build/ios/lib/Debug/libsfml-graphics-s-d.a, file was built for archive which is not the architecture being linked (arm64): /Users/[my_username]/Documents/Libraries/SFML/build/ios/lib/Debug/libsfml-graphics-s-d.a

Could anyone send me your compiled libraries under iOS, or write how could I solve my problem?

Любое предложение приветствуется

...