Apple LLVM 9.0 Error Group-Could not read profile. No such File or Directory Found

徘徊边缘 提交于 2019-12-12 14:58:19

问题


I have created distribution certificate and distribution provision profile. while trying to build application. Its throwing following error.

Could not read profile /Users/nan/Projects/Projectname/node_modules/react-native/React/OptimizationProfiles/React.profdata: No such file or directory

Please let me know where I'm going wrong.


回答1:


Finally figured it out!

  1. Go to the Project dropdown and select your Target
  2. Go to Build Settings
  3. Under Apple LLVM 9.0 - code generation, find Use Optimization Profile and select no



回答2:


Guessing your xCode is up to date

Go to Project -> Build Setting -> Apple LLVM 9.2-code generation

and clear Optimization Profile File

Clean Your project.....

Hope it will work for you.



来源:https://stackoverflow.com/questions/48110213/apple-llvm-9-0-error-group-could-not-read-profile-no-such-file-or-directory-fou

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!