Symptom
When building Xcode SUP projects from previous Xcode versions in new Xcode 5.0.x, the following errors may happen during linking process (regardless targeting to either real iOS device and iOS Simulator):
File is universal (2 slices) but does not contain a(n) armv7s slice:
/Users/myuser/Documents/XCODE_PROJECT_FILES/Libraries/Device/libSUPObj.a file
... OR ...
/Users/myuser/Documents/XCODE_PROJECT_FILES/Libraries/Device/libMO.a file
... OR ...
/Users/myuser/Documents/XCODE_PROJECT_FILES/Libraries/Device/libMAChart.a file
Read more...
Environment
- SUP 2.1.x
- iOS SUP ObjectAPI2.1.x
- Xcode5.0.x
Note: For iOS SUP ObjectAPI2.1.x, Xcode5.1.x is not fully supported as it focuses more on 64-bit iOS devices architecture (arm64) and will probably return compiling errors on some library lib*.a files. Use Xcode5.0.x instead. If you necessarily need Xcode 5.1.1, please refer to step 7 of Resolution section of this document.
Product
Keywords
Xcode, slice, slices, contain, armv7s, armv7, link, linking, compile, compiler, SUP, SMP, Mobile, platform, API, ObjectAPI, Object, library, libraries, static, Sybase, Unwired, Sales, CRM, iOS, Apple, 5.0.x, 5.x, 5.0.1, 5.0.2, 5.1.1 , KBA , MOB-SDK , SAP Mobile SDK , MOB-SUP-SDK , Mobile SDK , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.