构建Xcode 10.2应用程序时出现错误。
我尝试过:
删除“框架搜索路径”下的路径
添加MobileCoreServices.framework(我尝试过的其他工具)
可惜的是它没有帮助。
警告:
ld: warning: ignoring file /Users/davidarchibald/kivy-ios/dist/lib/libssl.a, missing required architecture armv7 in file /Users/davidarchibald/kivy-ios/dist/lib/libssl.a (2 slices)
ld: warning: ignoring file /Users/davidarchibald/kivy-ios/dist/lib/libsdl2_ttf.a, missing required architecture armv7 in file /Users/davidarchibald/kivy-ios/dist/lib/libsdl2_ttf.a (2 slices)
ld: warning: ignoring file /Users/davidarchibald/kivy-ios/dist/lib/libpyobjus.a, missing required architecture armv7 in file /Users/davidarchibald/kivy-ios/dist/lib/libpyobjus.a (2 slices)
和错误:
Undefined symbols for architecture armv7:
"_PyEval_InitThreads", referenced from:
_SDL_main in main.o
"_PyRun_SimpleFileExFlags", referenced from:
_SDL_main in main.o
"_PyRun_SimpleStringFlags", referenced from:
_load_custom_builtin_importer in main.o
"_PySys_SetArgv", referenced from:
_SDL_main in main.o
"_Py_Finalize", referenced from:
_SDL_main in main.o
"_Py_Initialize", referenced from:
_SDL_main in main.o
"_Py_SetPythonHome", referenced from:
_SDL_main in main.o
"_main", referenced from:
implicit entry/start for main executable
(maybe you meant: _SDL_main)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
在模拟器上,该应用程序运行正常。我在以前的答案中已经看到有人知道,基于该错误缺少了哪个框架。如果有人帮助我,我会很高兴。