File Is Universal (Three Slices), But It Does Not Contain A(N) Armv7-S Slice Error For Static Libraries on Ios, Anyway to Bypass

File is universal (three slices), but it does not contain a(n) ARMv7-s slice error for static libraries on iOS, anyway to bypass?

If you want to remove the support for any architecture, for example, ARMv7-s in your case, use menu Project -> Build Settings -> remove the architecture from "valid architectures".

You can use this as a temporary solution until the library has been updated. You have to remove the architecture from your main project, not from the library.

Alternatively, you can set the flag for your debug configuration's "Build Active Architecture Only" to Yes. Leave the release configuration's "Build Active Architecture Only" to No, just so you'll get a reminder before releasing that you ought to upgrade any third-party libraries you're using.

File is universal (three slices), but it does not contain a(n) ARMv7-s slice error for static libraries on iOS, anyway to bypass?

If you want to remove the support for any architecture, for example, ARMv7-s in your case, use menu Project -> Build Settings -> remove the architecture from "valid architectures".

You can use this as a temporary solution until the library has been updated. You have to remove the architecture from your main project, not from the library.

Alternatively, you can set the flag for your debug configuration's "Build Active Architecture Only" to Yes. Leave the release configuration's "Build Active Architecture Only" to No, just so you'll get a reminder before releasing that you ought to upgrade any third-party libraries you're using.

new ios6 architecture error: file is universal (3 slices) but does not contain a(n) arm7vs slice

iPhone 5's SoC has a new architecture: armv7s. When you switched to Xcode 4.5, your project's "Valid Architectures" setting might have been updated to include armv7s as well. The problem is that your libraries do not seem to support it yet (they are not built for armv7s).

You have three options to fix this:

  • Remove armv7s from the project (target) "Build Settings" / "Valid Architectures":
    Sample Image

  • Set the "Build Active Architecture Only" setting to YES:

    Sample Image

  • Update the static libraries (if they have a newer version with armv7s support)

EDIT:
For those who cannot find the Build Active Architecture Only option, make sure that the "All" filter button is active under Build Settings:

Sample Image

Not contain a(n) armv7s slice Error

Go to Build Settings and Compare your settings to following screenshot. I Hope it will help for you.

Image

IOS- Facebook file is universal (4 slices) but does not contain a(n) armv7s slice error

Support for the armv7s has been removed in v4.6.0 of the Facebook iOS SDK back in September of this year, see https://developers.facebook.com/docs/ios/change-log-4.x#4_6_0_modified

What we do with Third library that don't have armv7s slice

You can simply remove armv7s from Valid Architectures in your build settings.

See File is universal (three slices), but it does not contain a(n) ARMv7-s slice error for static libraries on iOS, anyway to bypass? and Facebook SDK for iOS6/Xcode 4.5 not working.



Related Topics



Leave a reply



Submit