简体   繁体   中英

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

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.

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM