cancel
Showing results for 
Search instead for 
Did you mean: 

Custom SAP Fiori Client - Build Failed

former_member726593
Discoverer
0 Kudos

Hi,

I try to build a custom SAP Fiori Client somehow I always get some errors in Xcode when I try to run the app:

Undefined symbols for architecture arm64:
  "_OBJC_METACLASS_$_SMPBasePlugin", referenced from:
      _OBJC_METACLASS_$_SMPAppPreferencesPlugin in libSMPAppPreferencesPlugin.a(SMPAppPreferencesPlugin.o)
  "_OBJC_CLASS_$_SMPBasePlugin", referenced from:
      _OBJC_CLASS_$_SMPAppPreferencesPlugin in libSMPAppPreferencesPlugin.a(SMPAppPreferencesPlugin.o)
  "_OBJC_IVAR_$_SMPBasePlugin.kPluginLogTag", referenced from:
      -[SMPAppPreferencesPlugin pluginInitialize] in libSMPAppPreferencesPlugin.a(SMPAppPreferencesPlugin.o)
ld: symbol(s) not found for architecture arm64

I have followed that guide:https://help.sap.com/doc/38ec5403bfbf4d7a8fdd3fee5f9605e0/3.0.14/en-US/fc001ea645814b6d986669da2879a...

  • OS: iOS 14.3
  • Xcode Version: 12.3
  • macOS: 10.15.7 (Catalina)
  • SAP Kapsel SDK 3.1

How can I get rid of that issue?

Is a library missing?
=======================================================================
01.02.2021 - Edit:

  • OS: iOS 14.4
  • Xcode Version: 12.4
  • SAP Kapsel SDK 3.2 (latest - 30.01.2021 released)
  • Cordova 9.0.0 (cordova-lib@9.0.1)
  • (npm) cordova 7.4.3

After entering the command "cordova run ios" I get the following output:

Undefined symbols for architecture arm64:   

"\_OBJC\_CLASS\_$\_ALAssetsLibrary", referenced from:
      objc-class-ref in CDVBarcodeScanner.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** ARCHIV FAILED **

The following build commands failed:
            Ld /Users/marco/........./SAPFioriClient normal (1 failure)
xcodebuild: Command failed with exit code 65

Build Settings in Xcode: (TARGETS: SAPFioriClient)

  • Architectures: Standard Architectures (arm64, armv7) - $(ARCHS_STANDARD)
  • Base SDK: iOS
  • Build Active Architectures Only: NO
  • Excluded Architectures: EMPTY
  • Supported Platforms: iOS
former_member30
Community Manager
Community Manager

Hi and welcome to the SAP Community!

Thank you for visiting SAP Community to get answers to your questions. Since you're asking a question here for the first time, I recommend that you familiarize yourself with https://community.sap.com/resources/questions-and-answers (if you haven't already), as it provides tips for preparing questions that draw responses from our members. For example, you can outline what steps you took to find answers (and why they weren't helpful), share screenshots of what you've seen/done, make sure you've applied the appropriate tags, and use a more descriptive subject line. The more details you provide, the more likely it is that members will be able to assist you.

Should you wish, you can revise your question by selecting Actions, then Edit (although once someone answers your question, you'll lose the ability to edit the question -- but if that happens, you can leave more details in a comment).

Finally, if you're hoping to connect with readers, please consider adding a picture to your profile. Here's how you do it: https://www.youtube.com/watch?v=F5JdUbyjfMA&list=PLpQebylHrdh5s3gwy-h6RtymfDpoz3vDS. By personalizing your profile with a photo of you, you encourage readers to respond.

Cheers,

Julia

SAP Community Moderator

Accepted Solutions (0)

Answers (2)

Answers (2)

jia-sheng_chen
Discoverer
0 Kudos

We need to take a look at your project.

Could you create an incident to SAP.

Please list detail info and upload the project there.

We will support you with the incident .

jia-sheng_chen
Discoverer
0 Kudos

Usually it's because of Architectures of your project no set correctly.

Please check Architectures of your xcode project .

Stand Architectures is recommended.

former_member726593
Discoverer
0 Kudos

Architectures set to "Standard Architectures (arm64, armv7) - $(ARCHS_STANDARD) for Debug and Release.

What else could be wrong?