Regression: compiling a macOS framework with the old build system produces Invalid bitcode signature

Originator:aditya
Number:rdar://37451059 Date Originated:12-Feb-2018 01:00 pm
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 9.3b2
Classification:Serious Bug Reproducible:Always
 
Summary:
This is a duplicate of radar #37450480

This is a regression from Xcode 8.2.1, where it linked warning-free.
It does work with the new build system, however we’re blocked on rdar://35488529 and thus still use the old build system for all builds across platforms.


Steps to Reproduce:
Unsure what to deliver to reproduce. This cannot be reproduced in a sample app.

Expected Results:
Compile same as Xcode 9.2.1 or new build system.

Actual Results:
Invalid bitcode signature linker error

Version:
Xcode 9.3b2

Notes:
I also added -v as per Ankit Aggarwal’s comment on Twitter, but it did not yield any more useful data. (https://twitter.com/aciidb0mb3r/status/962743256571265025)

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!