whhan_korea
whhan_korea

Reputation: 23

IOS Xcode Build Error

On building an App, I have received the following error:

Code Sign error: The file "YES" couldn't be opened because there is no such file.: (null)

Steps that I have already taken to solve the issue:

  1. Deleted [~/Library/Developer/Xcode/DerivedData]
  2. Clean & Build
  3. renewal of certificate, provisioning profile

See the picture below.

enter image description here

I don't know why this error is occurring and how can I fix it?

Further info, I am using Xcode Version 7.3.3 on Mac OS Version El Captain. I am developing for iOS Version IOS 9.3

Upvotes: 2

Views: 222

Answers (2)

Suhas Arvind Patil
Suhas Arvind Patil

Reputation: 1750

You might have provided the "YES" as filename OR "YES" as value anywhere in your project. This is not allowed since it is pre-reserved word.

So you need to have different name/value in your project.

Upvotes: 1

DeyaEldeen
DeyaEldeen

Reputation: 11807

Yes is a reserved word, try calling the class and file name YesFile.

Upvotes: 0

Related Questions