Hi,
I'm investigating bitcode processing issue for tvOS app with bitcode ( bitcode is required for tvOS submit).
No external frameworks are used. App is getting stuck in "processing" on AppStoreConnect after submit.
Using archive/submit adhoc shows _DICompileUnit not listed in llvm.dbg.cu error in both link stage and bitcode processing stage.
I'm getting this errors in XCode 12.5 (M1) but not in XCode 12.2 (Intel).
Xcode 12.2 exports with no issues.
Still both 12.5 and 12.2 builds are stuck in "processing" on AppStoreConnect submit during thinning stage.
I'm stuck for a week now with no way to submit App to testFlight( bitcode is required for tvOS).
Below is from Archive build, Link warning messages
_DICompileUnit not listed in llvm.dbg.cu
!143 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus_11, file: !5, producer: "_hidden#39", isOptimized: true, runtimeVersion: 0, emissionKind: NoDebug, enums: !10, nameTableKind: None, sysroot: "_hidden#40", sdk: "_hidden#41")
ld: warning: Invalid debug info found, debug info will be stripped
DICompileUnit not listed in llvm.dbg.cu
!1429 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus_11, file: !5, producer: "_hidden#39", isOptimized: true, runtimeVersion: 0, emissionKind: NoDebug, enums: !10, nameTableKind: None, sysroot: "_hidden#40", sdk: "hidden#41")
ld: warning: Invalid debug info found, debug info will be stripped
DICompileUnit not listed in llvm.dbg.cu
Clang: cd /var/folders/pm/qtvkb3yj2493ftp7g59nyxjr0000gn/T/temphn20wghc
['/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang', '-cc1', '-cc1', '-triple', 'arm64-apple-tvos14.0.0', '-emit-obj', '-disable-llvm-passes', '-target-sdk-version=14.5', '-fvisibility-inlines-hidden-static-local-var', '-target-abi', 'darwinpcs', '-O3', '-x', 'ir', '040', '-o', '040.o']
!43 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus_11, file: !44, producer: "_hidden#39", isOptimized: true, runtimeVersion: 0, emissionKind: NoDebug, enums: !42, nameTableKind: None, sysroot: "_hidden#40", sdk: "_hidden#41")
warning: ignoring invalid debug info in 040
DICompileUnit not listed in llvm.dbg.cu
!43 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus_11, file: !44, producer: "_hidden#39", isOptimized: true, runtimeVersion: 0, emissionKind: NoDebug, enums: !42, nameTableKind: None, sysroot: "_hidden#40", sdk: "_hidden#41")
fatal error: error in backend: Broken module found, compilation aborted!
Exited with 70
I'm investigating bitcode processing issue for tvOS app with bitcode ( bitcode is required for tvOS submit).
No external frameworks are used. App is getting stuck in "processing" on AppStoreConnect after submit.
Using archive/submit adhoc shows _DICompileUnit not listed in llvm.dbg.cu error in both link stage and bitcode processing stage.
I'm getting this errors in XCode 12.5 (M1) but not in XCode 12.2 (Intel).
Xcode 12.2 exports with no issues.
Still both 12.5 and 12.2 builds are stuck in "processing" on AppStoreConnect submit during thinning stage.
I'm stuck for a week now with no way to submit App to testFlight( bitcode is required for tvOS).
Below is from Archive build, Link warning messages
_DICompileUnit not listed in llvm.dbg.cu
!143 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus_11, file: !5, producer: "_hidden#39", isOptimized: true, runtimeVersion: 0, emissionKind: NoDebug, enums: !10, nameTableKind: None, sysroot: "_hidden#40", sdk: "_hidden#41")
ld: warning: Invalid debug info found, debug info will be stripped
DICompileUnit not listed in llvm.dbg.cu
!1429 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus_11, file: !5, producer: "_hidden#39", isOptimized: true, runtimeVersion: 0, emissionKind: NoDebug, enums: !10, nameTableKind: None, sysroot: "_hidden#40", sdk: "hidden#41")
ld: warning: Invalid debug info found, debug info will be stripped
DICompileUnit not listed in llvm.dbg.cu
-- Below error message from Ad-hoc export (12.5)
Clang: cd /var/folders/pm/qtvkb3yj2493ftp7g59nyxjr0000gn/T/temphn20wghc
['/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang', '-cc1', '-cc1', '-triple', 'arm64-apple-tvos14.0.0', '-emit-obj', '-disable-llvm-passes', '-target-sdk-version=14.5', '-fvisibility-inlines-hidden-static-local-var', '-target-abi', 'darwinpcs', '-O3', '-x', 'ir', '040', '-o', '040.o']
= Output =-
!43 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus_11, file: !44, producer: "_hidden#39", isOptimized: true, runtimeVersion: 0, emissionKind: NoDebug, enums: !42, nameTableKind: None, sysroot: "_hidden#40", sdk: "_hidden#41")
warning: ignoring invalid debug info in 040
DICompileUnit not listed in llvm.dbg.cu
!43 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus_11, file: !44, producer: "_hidden#39", isOptimized: true, runtimeVersion: 0, emissionKind: NoDebug, enums: !42, nameTableKind: None, sysroot: "_hidden#40", sdk: "_hidden#41")
fatal error: error in backend: Broken module found, compilation aborted!
Exited with 70