-1

I have been unable to validate my xcode project which is a combination of an iOS companion app with a watch OS target. I keep getting this error below.

[Screenshot](https://i.sstatic.net/IYx8CZIWl.png)
2024-07-07 14:51:40.402 *** Error: ERROR: [ContentDelivery.Uploader] Asset validation failed (90635) Invalid Mach-O Format. The Mach-O in bundle 
    
"Runner.app/Frameworks/RecaptchaInterop.framework" isn't consistent with the Mach-O in the main bundle. The main bundle Mach-O contains , while the nested bundle Mach-O contains arm64(machine code). Verify that all of the targets for a platform have a consistent value for the ENABLE_BITCODE build setting. (ID: 98f5ef4c-8c04-4c6c-99bc-ade0aa64a14d)
    
2024-07-07 14:51:40.403 *** Error: ERROR: [ContentDelivery.Uploader] Asset validation failed (90635) Invalid Mach-O Format. The Mach-O in bundle 
    "Runner.app/Frameworks/url_launcher_ios.framework" isn't consistent with the Mach-O in the main bundle. The main bundle Mach-O contains , while the nested bundle Mach-O contains arm64(machine code). Verify that all of the targets for a platform have a consistent value for the ENABLE_BITCODE build setting. (ID: 3d9af52b-a1da-44fb-bcbf-949bd91ce7cd)
    
2024-07-07 14:51:40.403 *** Error: ERROR: [ContentDelivery.Uploader] Asset validation failed (90635) Invalid Mach-O Format. The Mach-O in bundle "Runner.app/Frameworks/flutter_sound_core.framework" isn't consistent with the Mach-O in the main bundle. The main bundle Mach-O contains , while the nested bundle Mach-O contains arm64(machine code). Verify that all of the targets for a platform have a consistent value for the ENABLE_BITCODE build setting. (ID: e02915f7-e4aa-4037-b291-e74f48e4067a)
    
2024-07-07 14:51:40.403 *** Error: ERROR: [ContentDelivery.Uploader] Asset validation failed (90635) Invalid Mach-O Format. The Mach-O in bundle "Runner.app/Frameworks/path_provider_foundation.framework" isn't consistent with the Mach-O in the main bundle. The main bundle Mach-O contains , while the nested bundle Mach-O contains arm64(machine code). Verify that all of the targets for a platform have a consistent value for the ENABLE_BITCODE build setting. (ID: 1e08661b-87da-4a2c-92c1-7058101b6c4a)

2024-07-07 14:51:40.403 *** Error: ERROR: [ContentDelivery.Uploader] Asset validation failed (90635) Invalid Mach-O Format. The Mach-O in bundle "Runner.app/Frameworks/audio_session.framework" isn't consistent with the Mach-O in the main bundle. The main bundle Mach-O contains , while the nested bundle Mach-O contains arm64(machine code). Verify that all of the targets for a platform have a consistent value for the ENABLE_BITCODE build setting. (ID: ebb9b8e5-e33f-45a8-ba92-f349daf9d389)
`

I have tried a couple of things without success.

  1. Setting ENABLE_BITCODE TO NO in both targets.
  2. Editing podfile to set all architectures to disable bitcode: # Disable Bitcode config.build_settings['ENABLE_BITCODE'] = 'NO'
  3. I have tried a couple of tweaks on by Build Settings like exluding some architectures.

But i have not been able to achieve success.

NOTE: App runs well on simulator running but cant validate for app store upload.

0

Browse other questions tagged or ask your own question.