I have installed twitter + oauth library into my project. Its working fine while I am running my app on simulator but when I run my app into my device or archiving my app to generate ipa it shows me an error like below given image -
when I faced such issue I have made settings in my project file as shown in below images - In Target -
In target which I have shown in above image I have made changes on other linker flag as -lz, in header search path as - iphoneos/usr/include/libxml2 and in library search paths. The changes in above field which I have made in target like as given below images -
I have also made change in project part as given below image in other linker flag,header search path and library search path -
guys, I'm not able to generate .ipa or run in device due to above generated error. PLease, provide me a solution to resolve this error. and provide me guidence where am I going wrong. Your help will be appreciated. thanks.
The error: "missing required architecture arm64" says it all. The library does not have arm64. Get another library that supports arm64 or eliminate arm64 from the target in Valid Architectures.