This is a migrated thread and some comments may be shown as answers.

Error: file is universal (4 slices) but does not contain a(n) armv7s slice

2 Answers 312 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jaja
Top achievements
Rank 1
Jaja asked on 03 Jul 2018, 06:35 PM

Just copied in the tab view XAML from the Getting Started page for the TabView and then ran the project.  Compiles and displays fine for Android but on iOS I get the error below.  The project is configured to support ARMv7s - is this saying that Telerik.UI does not support ARMv7s?  Thanks!

clang : error : linker command failed with exit code 1 (use -v to see invocation)
error MT5209 : Native linking error : file is universal (4 slices) but does not contain a(n) armv7s slice: blah/mtouch-cache/TelerikAppFeedback.a file 'blah/mtouch-cache/TelerikAppFeedback.a' for architecture armv7s
MTOUCH : error MT5202: Native linking failed. Please review the build log.

2 Answers, 1 is accepted

Sort by
0
Accepted
Lance | Senior Manager Technical Support
Telerik team
answered on 03 Jul 2018, 06:44 PM
Hello Jaja,

With the release of XCode 6 some time ago, Apple have intentionally removed ARMv7s architecture from the default build architectures. This is the main reason why we do not build native assembly for this architecture. The ARMv7s instruction set is slightly different from ARMv7 and the last device to support ARMv7s but not ARM64 is iPhone5C from 2013.

Therefore we advise our clients to use ARMv7 + ARM64 architectures and we've had no reports for issues with such configuration. This way iPhone 5 and iPhone 5C will fallback to ARMv7 whereas all newer devices will take advantage of ARM64.

Regards,
Lance | Tech Support Engineer, Sr.
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Jaja
Top achievements
Rank 1
answered on 03 Jul 2018, 06:45 PM
Thanks Lance!
Tags
General Discussions
Asked by
Jaja
Top achievements
Rank 1
Answers by
Lance | Senior Manager Technical Support
Telerik team
Jaja
Top achievements
Rank 1
Share this question
or