Agent Chocks.
Agent Chocks.

Reputation: 1312

clang: error: no such file or directory: 'CoreFoundation'

I am developing an cordova iOS application which was working fine till now but suddenly today it generated an error "clang: error: no such file or directory: 'CoreFoundation'"

can someone help me with this thanks in advance. enter image description here enter image description here

Upvotes: 1

Views: 2495

Answers (1)

Mujahed Ansari
Mujahed Ansari

Reputation: 469

go to Xcode -> project -> Targets -> Build settings -> Liking -> OTHER_LDFLAG. Here set the arguments ands framework name.

ex : above add argument as "-weak_Framework" or "-force_load" and its value below as "CoreFramework".

Upvotes: 1

Related Questions