2

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

2 Answers 2

1

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.

Sign up to request clarification or add additional context in comments.

2 Comments

Fixed. Thank's you info.plist file [Code Signing Entitlements] value "YES" modify to ""
Yup..! Great job@@
0

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

1 Comment

Fixed. Thank's you info.plist file [Code Signing Entitlements] value "YES" modify to ""

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.