gitgeek4dx

Results 6 comments of gitgeek4dx

M1 芯片需要恢复模式启动后,修改系统安全策略为‘宽容安全性’,可以通过菜单栏的安全设置修改,也可以通过终端输入:csrutil disable,然后正常启动进入系统后执行 csrutil status 确认已经关闭,再次执行 sudo spctl --master-disable

> M1 芯片需要恢复模式启动后,修改系统安全策略为‘宽容安全性’,可以通过菜单栏的安全设置修改,也可以通过终端输入:csrutil disable,然后正常启动进入系统后执行 csrutil status 确认已经关闭,再次执行 sudo spctl --master-disable 不过修改系统安全策略后,从appstore下载的ipad和iphone app就不能用了,这个暂时没有找到解决方案

M1芯片?需要恢复模式启动后,修改系统安全策略为‘宽容安全性’,可以通过菜单栏的安全设置修改,也可以通过终端输入:csrutil disable,然后正常启动进入系统后执行csrutil status确认已经关闭,再次执行 sudo spctl --master-disable

ndk版本大于19会出现这个问题,可以改为ndk19以前编译正常 或者使用高版本ndk的话,改下cmake文件也可以,主要是libz的引用,由findLibrary改为target_link_libraries: find_library( # Sets the name of the path variable. log-lib # Specifies the name of the NDK library that # you want CMake to locate. log ) target_link_libraries(...

不需要降低ndk版本,cmake最后一段,这样改下可以了,ndk21编译正常: find_library( # Sets the name of the path variable. log-lib # Specifies the name of the NDK library that # you want CMake to locate. log ) target_link_libraries( #...