Hmm... it looks like it's an issue related with the iOS SDK you're using, as other people using Xcode experience the exact same issue as you, look:
https://forums.developer.apple.com/forums/thread/739216
https://github.com/stripe/stripe-react-native/issues/1532
It can't guarantee 100% it's Apple's fault, but it wouldn't be the first time Apple would let out an SDK with missing pieces, actually...
Anyway. You said you have a friend with a Macbook and your project builds on his machine. It would be interesting to know which iOS SDK he uses during the build. You could maybe try again with the same iOS SDK as him, and I suppose the problem would go away. Let us know if you can do that.