Missing required architecture x86_64 error

Thierry L's Avatar

Thierry L

10 Dec, 2015 11:51 PM

Hello,
i am experiencing the following error while building an IOS app implementing the Contextual Interaction Rules SDK for devices above iPhone 5:

ld: warning: ignoring file .../Ubudu/UbuduContextInteractRules/Pods/UbuduSDK/UbuduSDK.framework/UbuduSDK, 
missing required architecture x86_64 in file .../Ubudu/UbuduContextInteractRules/Pods/UbuduSDK/UbuduSDK.framework/UbuduSDK (4 slices)
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_UbuduSDK", referenced from:
      type metadata accessor for __ObjC.UbuduSDK in AppDelegate.o
  "_OBJC_CLASS_$_UbuduUser", referenced from:
      type metadata accessor for __ObjC.UbuduUser in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Any help appreciated,
Thierry

  1. Support Staff 1 Posted by francois on 11 Dec, 2015 07:09 AM

    francois's Avatar

    Are you building for IOS. ?
    architecture included are armv7 armv7s arm64
    Best regards

    Sent from my iPhone

  2. 2 Posted by Thierry L on 11 Dec, 2015 08:24 AM

    Thierry L's Avatar

    Hello François,
    thank you for your answer, yes i am building for IOS with Xcode 7.2 using "Standard architectures $(ARCHS_STANDARD)" as Architectures setting in Build Settings. The build error occurs when i try to run my app in simulator for iPhone5s and more recent devices, it build ok for iphone 5.

    Thierry

  3. 3 Posted by zioolek on 11 Dec, 2015 09:13 AM

    zioolek's Avatar

    Hi,
    Currently we are not supporting x86_64 architecture (used only for simulators). We will add it in future updates.

    Note: Remember to add armv7s to your architectures since Xcode (from version 6) dropped support for armv7s by default (armv7s is the architecture of iPhone 5, iPad (2012) and iPhone 5c)

    BR,
    Tom

  4. 4 Posted by Thierry L on 12 Dec, 2015 02:38 PM

    Thierry L's Avatar

    Thank you for the information.

  5. Thierry L closed this discussion on 07 Jan, 2016 10:18 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac