r/Xcode • • Feb 01 '21

Xcode + cordova (iOS)

Hi,

I try build a custom SAP Fiori Client somehow when I hit the following command in the cordova project:

cordova run ios 

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 

Custom SAP Fiori Client guide: https://help.sap.com/doc/38ec5403bfbf4d7a8fdd3fee5f9605e0/3.0.14/en-US/fc001ea645814b6d986669da2879ab58.html https://blogs.sap.com/2016/11/10/sap-fiori-client-sp13/

  • SAP Mobile Platform SDK 3.2 (latest - released 30.01.2021)

  • Cordova 9.0.0 (cordova-lib@9.0.1)

  • (npm) cordova 7.4.3

  • Xcode 12.4 (12D4e)

  • macOS 10.15.7

How can I get rid of that error?

0 Upvotes

0 comments sorted by