user944351
user944351

Reputation: 1213

iOS Zxing Widget wont build any more

I get the following error message when i want to build my project which includes the zxing library:

clang: error: no such file or directory: '/Users/xxxx/Desktop/zxing-2.0/ZXingWidget_Prefix.pch'
clang: error: no input files
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

It only happens since i updated xcode to 4.6

Any ideas?

Thanks!

Upvotes: 0

Views: 819

Answers (1)

Saurabh Shukla
Saurabh Shukla

Reputation: 1398

Are you using static zxing library or dependent project?

If dependent project then try below steps:

1) Select project ZXingWidget.xcodeproj

2) Select Targets ZXingWidget

3) Select Build Settings tab

4) Search keyword "header".

5) Set "Precompile Prefix Header" field to "Yes".

6) Set "Prefix Header" field to "ZXingWidget_Prefix.pch".

7) Clean and build your project again.

Hope this would help!

Upvotes: 2

Related Questions