Reputation: 1733
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:
what is the issue?? Do we need to Unintall pods and install again or just modify the existing pod file? Please Help.
Upvotes: 8
Views: 12850
Reputation: 8671
I just removed the POD dependency from Build Phases and then rebuilt the project, and it worked!
TARGETS -> Your app -> Build Phases -> Link Binary with Libraries -> remove POD from there by clicking the '-' button:
Then build the project.
Upvotes: 1
Reputation: 661
In my case (Intel mac), setting the deployment target is the same (11.0) works for me:
Upvotes: 0
Reputation: 1721
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 :
I removed Pods_OneSignalNotificationServiceExtension.framework
and build my project and it worked perfect.
Thank you
Upvotes: 6
Reputation: 17844
Make sure your Podfile also specifies iOS 9.3 as the deployment target:
platform :ios, '9.3'
Upvotes: 8