configure: error: cannot run C compiled programs出错


在RN 运行时,出现问题 

react-native run-ios Could not find iPhone 6 simulator 和 Entry, ":CFBundleIdentifier", Does Not Exist

 

在解决这个问题时,

./configure

编译不了 报错,

configure: error: cannot run C compiled programs

解决办法:

需要使用--host参数来选择目标环境。

在交叉编译arm板上时,使用--host=arm

./configure --host=arm

解决问题, 来源:https://blog.csdn.net/llljjlj/article/details/101540888

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM