Swift Framework that uses and Obj-C framework not working on another mac

I made a Swift framework (UnityLoader) that uses Objective-C (UnityFramework) . I was able to call Objective-C framework functions inside the UnityLoader functions then after I built it as a framework (Used this approach: Using Obj-C framework in Swift Framework
) and made a pod. I added the pod in one ios app and I was able to call UnityLoader framework functions (that in turn call UnityFramework functions). It worked perfectly on my side however, when I sent the exact same pod to another machine and tried to build the app that had UnityLoaderPod (that has unityloader framework that has UnityFramework) it didn't build and the error was "Missing required Module UnityFramework" so basically in that other machine it couldn't find the objective-C framework.

I really don't understand how this can be possible it works fine on my machine but doesn't on another. The only difference in my machine and the other one could be I have M1 processor and that one has intel processor. OS versions are the same. How can I fix this? I cannot push pod to the pod trunk as I can only build UnityFramework for arm64 architecture and you have have more architectures to push a pod to pod trunk.