clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)

后端 未结 6 990
名媛妹妹
名媛妹妹 2021-01-04 03:33

I don\'t know what causes it.

It does not happen at iPhone 5 and simulators. It have been happened only my original device iPhone 7.

fatal error: err         


        
相关标签:
6条回答
  • 2021-01-04 04:10

    I used the following steps to get rid of the error:

    • Clean cache from Xcode Product->Clean Build Folder
    • npm install
    • run react-native run-ios
    • Build the app using Xcode.
    0 讨论(0)
  • 2021-01-04 04:12

    Delete ~/Library/Developer/Xcode/DerivedData worked for me. Issue is due to cache, since your using pods - you need to remove old references

    0 讨论(0)
  • 2021-01-04 04:16

    I got this error when i was archiving my app with xcode - while running on sim and physical device worked -, but had my physical device still selected as a scheme. Solution worked for me: clean build folder, and select 'Generic IOS Device' as the scheme.

    0 讨论(0)
  • 2021-01-04 04:22

    I got this error when I hardcoded a massive array into a .h file. Worked fine on simulator, threw this error on device.

    Changed the array to be empty and it compiled just fine.

    0 讨论(0)
  • 2021-01-04 04:26

    This has been driving me nuts and I still can not pinpoint the reason for the crash. But a few of these steps or a combination of these seems to remedy it in the meanwhile.

    • Try doing a clean build.
    • Run pod install / pod deintegrate.
    • Run npm install if you are working on a react native app after deleting node_modules
    • Close xcode and then delete ~/Library/Developer/Xcode/DerivedData
    • If nothing works try restarting the system.
    0 讨论(0)
  • 2021-01-04 04:29

    Delete ~/Library/Developer/Xcode/DerivedData worked for me.

    0 讨论(0)
提交回复
热议问题