bitcode_strip error in xcode 16.3

Since I updated xcode to the version 16.3 everytime I try to use the command bitcode_strip I get an error The command i use is: bitcode_strip test.a -r -o test_no_bitcode.a And it returns the following error

ld: file cannot be open()ed, errno=2 path=strip
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip: internal link edit command failed

I tried downgrading the Xcode version and doing the same thing everything works fine. Is this a known bug or am I missing something?

Please check out this prior thread.

— Ed Ford,  DTS Engineer

I don't think it is a problem with my framework. I can reproduce it with a test framework with no bitcode. I created a simple c file like this

#include <stdio.h>

int main() {
    printf("Hello world\n");
    return 0;
}

And then made a library executing gcc -c test.c -o test.o and ar rcs testlib.a test.o

With this library if I execute the bitcode_strip libtest.a -r -o libtest2.a from Xcode 16.3 it fails with the error I showed in my previous post. But if I execute the bitcode_strip from the version 16.2 of Xcode it works fine

bitcode_strip error in xcode 16.3
 
 
Q