Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Framework not found pods

I know this is an old issue. But i produced this issue in a very strange way. Actually I had developed an app installed pods and everything in Deployment Target as 11.2. I took a an .ipa for it and sent it to the client for testing. But the Client is unable to install because the iPad Mini 1 is not having an iOS 10 or above update. So I reduced the deployment target to 9.3 current iOS version of iPad Mini1 that the client is having. On taking an archive Xcode produces the error like this: enter image description here

what is the issue?? Do we need to Unintall pods and install again or just modify the existing pod file? Please Help.

like image 602
Chelsea Shawra Avatar asked Dec 18 '22 23:12

Chelsea Shawra


2 Answers

Make sure your Podfile also specifies iOS 9.3 as the deployment target:

platform :ios, '9.3'
like image 129
Gereon Avatar answered Jan 01 '23 08:01

Gereon


I tried fixing my Podfile, but this didn't work for me.

I did the below to fix this issue :

Go to Project Navigator -> Targets -> OneSignalNotificationServiceExtension Target

under Frameworks and Libraries I found this :

enter image description here

I removed Pods_OneSignalNotificationServiceExtension.framework

and build my project and it worked perfect.

Thank you

like image 38
MhmdRizk Avatar answered Jan 01 '23 08:01

MhmdRizk