Note that there are some explanatory texts on larger screens.

plurals
  1. POXcode 4.6 Undefined symbols for architecture armv7 associate with static library
    text
    copied!<p>I currently run into a problem after I updated my xcode to 4.6.</p> <p>At the beginning, I got lots of linking errors. With the help from other posts, I am be able to solve them. However, new problems always come whenever I solved the previous one.</p> <p>Right now, I am stuck at "Undefined symbols for architecture armv7" when I try to build the game on devices with release mode (release and debug modes work for simulator, and debug mode works for devices). I have already researched this problem online, but none of the solutions could solve my situation. That's why I want to start a new post.</p> <p>Let me explain the situation in details:</p> <ol> <li>All the errors are happened at calling methods in libraries.</li> <li>my libraries works fine with architecture armv7 before (xcode 4.5)</li> <li>The current value for Architectures in project file is "Standard (armv7, armv7s)</li> <li>The current value for Current Architecture is "armv7 armv7s armv6"</li> </ol> <p>This is a sample error:</p> <p>Even though I only showed errors related to libReceiptVerification.multi.a, errors actually happen at other libraries.</p> <p>//<strong><em>*</em>**<em>*</em>**<em>*</em>**<em>*</em>**<em>*</em></strong> From this line <strong><em>*</em>**<em>*</em>**<em>*</em>**<em>*</em>****</strong></p> <p>Undefined symbols for architecture armv7:</p> <p>"_OBJC_CLASS_$_NSMutableOrderedSet", referenced from: objc-class-ref in libarclite_iphoneos.a(arclite.o)</p> <p>"_CFStringCreateWithBytes", referenced from: -[JKSerializer serializeObject:options:encodeOption:block:delegate:selector:error:] in libReceiptVerification.multi.a(JSONKit.o) _jk_cachedObjects in libReceiptVerification.multi.a(JSONKit.o)</p> <p>"_CFStringCreateWithBytesNoCopy", referenced from: -[JKSerializer serializeObject:options:encodeOption:block:delegate:selector:error:] in libReceiptVerification.multi.a(JSONKit.o)</p> <p>"_CFDataSetLength", referenced from: __NSStringObjectFromJSONString in libReceiptVerification.multi.a(JSONKit.o)</p> <p>// <strong><em>*</em>**<em>*</em>**<em>*</em>**<em>*</em>**<em>*</em>**</strong> Ending Here <strong><em>*</em>**<em>*</em>**<em>*</em>****</strong></p> <p>So, does anyone has any clue on this problem? Thanks for your help in advance.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload