Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8569283
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T18:17:56+00:00 2026-06-11T18:17:56+00:00

i’ve been at this for hours and it’s driving me nuts. so my project

  • 0

i’ve been at this for hours and it’s driving me nuts.

so my project uses ZXing for qr code scanning. but i recently updated my xcode to 4.5. when i did so got this error:

Incompatible pointer types sending 'Class' (aka 'Class *') to parameter of type 'id<NSCopying>'

i searched on google and it turns out it was fixed and all i had to do was checking out the revision and i was good.

so i did that, checked out revision 2315 and removed the old ZXing project from my project and went through the steps again in the README to add the new version of ZXing to my project again.

i followed all the steps and everything went well and my project builds and runs on my ipad and iphone simulators.

but the problem comes when i try to archive my project.

i keep getting

clang: error: no such file or directory: '/Users/username/Library/Developer/Xcode/DerivedData/project-name-gbqfhrszrkbmlkesfuzmwreignnu/Build/Products/Release-iphoneos/libZXingWidget.a'

then i read some stackoverflow answers for somewhat similar questions and someone said there might be cached version in DerivedData directory.. so i delete everything in there, i cleaned my project in xcode, and cleared out the files in /var/folders/ as well.

after doing all this i’m still getting the error =( i tried checking out the latest ZXing code and same problem..

any pointers would be greatly appreciated!

thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T18:17:57+00:00Added an answer on June 11, 2026 at 6:17 pm

    i think i’ve figured out the problem.

    doing a little digging, i found that the libZXingWidget.a file was created in the Debug-iphonesos/ directory but not in the Release-iphoneos/ directory.

    so i went to xcode and decided to “Build Active Architecture Only > release to YES. after doing that i did an archive and it worked! but thinking twice, that’s probably not a good idea, other architectures wont be built. so i turned it back on. and of course i couldn’t archive again.

    so the solution i’ve found was to make make “Architectures” and “Valid Architectures” under the “Build Settings” tab in my project match with “Architectures” and “Valid Architectures” in the ZXingWidget project.

    after that everything seems to work again. i can build and run on my ipad, various simulators, and archive!

    hope this helps someone!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I have this code to decode numeric html entities to the UTF8 equivalent character.
This could be a duplicate question, but I have no idea what search terms
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
For some reason, after submitting a string like this Jack’s Spindle from a text
this is what i have right now Drawing an RSS feed into the php,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.