Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding Stripe Pod- linker error

The pod was installed properly. I also tried a clean/build multiple times. My header files are included in the bridging header. My architectures include arm64 but I'm still receiving this error.

Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_Stripe", referenced from:
 __TMaCSo6Stripe in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
like image 480
Daisy R. Avatar asked Nov 19 '25 16:11

Daisy R.


1 Answers

Actually when I ran pod install, it didn't inherit my path in

 OTHER LINKER FLAGS

so it was a manual fix by adding

$(inherited)

Hope this helps someone if they encounter the same problem.

like image 59
Daisy R. Avatar answered Nov 21 '25 06:11

Daisy R.



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!