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

3 posts, 1 answers
  1. Jaja
    Jaja avatar
    11 posts
    Member since:
    May 2013

    Posted 03 Jul Link to this post

    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. Answer
    Lance | Tech Support Engineer, Sr.
    Admin
    Lance | Tech Support Engineer, Sr. avatar
    755 posts

    Posted 03 Jul Link to this post

    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
  3. Jaja
    Jaja avatar
    11 posts
    Member since:
    May 2013

    Posted 03 Jul in reply to Lance | Tech Support Engineer, Sr. Link to this post

    Thanks Lance!
Back to Top