iOS: Failed to verify bit code in NMAKit.framework error: Cannot extract bundle from /var/folders - ios

I try to Distribute App then Development and I have that
Failed to verify bitcode in NMAKit.framework/NMAKit:
error: Cannot extract bundle from /var/folders/jb/s19zscn94hzcv_w9gs4dv5l80000gn/T/IDEDistributionOptionThinning.f0X/Payload/GMP_app_ios.app/Frameworks/NMAKit.framework/NMAKit (x86_64)
Any ideas?

Related

Xcode 9.2 giving code sign error with automatic manage signing

I have configured Automatic manage signing with Xcode9.2
got following error:-
iTunes Store operation failed
missing or invalid signature bundle "com.xxx.yyyy" at bundle path is not signed using an apple submission certificate..

Code signing failed for imported framework - on distribute app

After updating to xCode 10, I can no longer export .ipa file for Enterprise distribution. The reported errors are connected with the imported .framework, code signing and i386 architecture. When I click on distribute app > Enterprise, and wait for some time for App Thinning, this error occurs:
Show logs:
description = "Failed to verify bitcode in
xxxx.framework/xxxx:\nerror: Cannot extract bundle from
/var/folders/tz/gwpqvzg14wng25bs5m2pk4xw0000gn/T/IDEDistributionOptionThinning.JcG/Payload/xxxx.app/Frameworks/xxxx.framework/xxxx
(i386)\n\n";
Or if we skip Thinning and proceed to exporting, we have this error:

Failed to verify bitcode in TNSMLKitCamera.framework/TNSMLKitCamera

I am experiencing this issue that causes tns run ios to fail when building on a real device. Using the emulator works fine but whenever I try to run or build on a real device, the changes cannnot be applied and the error is error: exportArchive: Failed to verify bitcode in TNSMLKitCamera.framework/TNSMLKitCamera: error: Bundle only contains bitcode-marker /var/folders/5d/_v1mn0f16w7dt6k7dbvby_c00000gn/T/XcodeDistPipeline.neH/Root/Payload/mobile.app/Frameworks/TNSMLKitCamera.framework/TNSMLKitCamera (armv7)
Any help/guidance is appreciated. Thanks

Xcode Unsupported Architectures occurred errors when I send to iTunes Connect

iTunes Connect gives this kind of error:
iTunes Store Operation Failed
ERROR ITMS-90087: "Unsupported Architectures. The executable for FlowTestFram.app/Frameworks/My.framework contains unsupported architectures '[x86_64, i386]'."
iTunes Store Operation Failed
ERROR ITMS-90635: "Invalid Mach-O Format. The Mach-O in bundle "FlowTestFram.app/Frameworks/My.framework" isn’t consistent with the Mach-O in the main bundle. The main bundle Mach-O contains armv7(bitcode) and arm64(bitcode), while the nested bundle Mach-O contains X86_64ALL(machine code). Verify that all of the targets for a platform have a consistent value for the ENABLE_BITCODE build setting."
iTunes Store Operation Failed
ERROR ITMS-90209: "Invalid Segment Alignment. The app binary at 'FlowTestFram.app/Frameworks/My.framework/my' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version."
iTunes Store Operation Failed
ERROR ITMS-90125: "The binary is invalid. The encryption info in the LC_ENCRYPTION_INFO load command is either missing or invalid, or the binary is already encrypted. This binary does not seem to have been built with Apple's linker."
I use standard architectures: arm64, armv7, armv7s
Can anybody help me out for this?
Thanks!

iTunes upload error with Google cast 3.4.0 sdk

While uploading on appstore, duration verifying asset this error occured
1 package(s) were not uploaded because they had problems:
/var/folders/mc/szkcdv6110798d03q80ywn2c0000gn/T/479795DC-C2B7-4F8A-8F9D-A269F4B7792A/1015136701.itmsp - Error Messages:
ERROR ITMS-90087: "Unsupported Architectures. The executable for AppName.app/Frameworks/GoogleCast.framework contains unsupported architectures '[x86_64, i386]'."
ERROR ITMS-90209: "Invalid Segment Alignment. The app binary at 'AppName.app/Frameworks/GoogleCast.framework/GoogleCast' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version."
ERROR ITMS-90125: "The binary is invalid. The encryption info in the LC_ENCRYPTION_INFO load command is either missing or invalid, or the binary is already encrypted. This binary does not seem to have been built with Apple's linker.”
I am trying to run strip_unused_archs.sh script might be it is not working properly, can any one share proper way to run strip_unused_archs.sh script

Resources