I am using "Google analytics " SDK for iOS. The sdk forced me to set Enable bitcode
from Yes
to NO
When I disabled bitcode I was getting compiling error on my device (iOS 9) buut not on simulator dyld: Library not loaded: @rpath/Alamofire.framework/Alamofire
Referenced from: /var/mobile/Containers/Bundle/Application/940F4D49-6239-4645-9FAE-99D482BFA1C4/Skip It.app/Skip It
Reason: image not found
I added Alamofire via cocoaPods. TO resolve aforementioned error I added Alamofire framework in "Linked Framworks and Libraries" and made It optional, as shown in screenshot
Now I am able to run app on my device (iOS 9), but whenever code which uses Alamofire of other frameworks which are made optional, app get crashed.
I am not able to find solution. I googled a lot but no use. Please someone help