[cfe-dev] what is difference the between "swift clang (in apple opensource )" and "default clang (in xcode)" related to bitcode?

Kristina Brooks via cfe-dev cfe-dev at lists.llvm.org
Sun Jan 20 21:11:49 PST 2019


It's not really officially supported, though it's hard to tell, what
revision of ld64 and cctools are you using? Also what does `clang -v`
print out? As far as I know AppleClang is slightly different to the
open source version released with Swift, though it's equally possible
you're using the wrong linker/cctools revision or using a trunk
version of LLVM/Clang instead of the one corresponding to the XCode
release.

Thanks.
- Kristina

On 21/01/2019 04:32, YoungJun Lee via cfe-dev wrote:
> Dear all,
> 
>  
> 
> I tried to make the archive of my app that is compiled using swift-clang(opensource : https://github.com/apple/swift-clang )
> 
> Making archive of my application is successed, But I can't upload AppStore.
> 
> I received to mail from "App Store Connect".
> 
>  
> 
> The contents of the email are as follows.
> 
>  
> 
> "Invaild Bundle - The app cannot be processed because options not allowed to be embedded in bitcode are detected in the
> submission. It is likely that you are not building the app with the toolchain provided in Xcode. Rebuild your entire app
> with the latest GM Xcode and submit the app again."
> 
>  
> 
> My environment of compile are as follows.
> 
>  
> 
> Xcode version : 9.4.1
> 
> Compiler : opensource swift clang (LLVM)
> 
> Bitcode : enable
> 
>  
> 
> What is difference the between "swift clang (in apple opensource )" and "default clang (in xcode)" related to bitcode?
> 
> 
> Please give me a solution.
> 
>  
> 
> Thanks
> 
>  
> 
> Best regards...
> 
> 
> -- 
> Young Jun Lee [dog3hk]
> Tel : 010 3129 2621
> 
> 
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3992 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20190121/2ffaf6ff/attachment.bin>


More information about the cfe-dev mailing list