Xcode 10 - invalid bitcode signature while archiving with armv7

After switching to Xcode 10, I've been getting invalid bitcode signature when I try to archive.

After hours of struggle, I stumbled upon this and was able to archive after removing

armv7
from valid architectures.


I really cant release the app with

armv7
removed since there are lot of users who uses
iPhone4s
will be in dark if I do this.


I use both static and dynamic frameworks in my application and all of them support armv7 architecture by default. I've enabled bitcode in the project as well as in all the dependencies.


Did anyone else face this issue? Is there a workaround to include

armv7
as valid architecture?