running CocoaPods 1.10 with Xcode 12. I am getting the following warning for all targets "Target '
Did you update Xcodeproj? gem update xcodeproj
.
Alternatively please include a sample app demonstrating the issue.
I'm not using xcodeproj
gem. I'll create a sample app and report back.
CocoaPods uses the xcodeproj gem. If you are using CocoaPods then its using this gem and its version is not locked except the major part.
Xcodeproj manages the default build settings for the Pods.xcodeproj CocoaPods generates.
Looks like I have 1.19 installed already.
@dnkoutso when trying to create a sample project I found my issue. There was an old override in the pod file. Thanks for the help.
awesome!
CocoaPods 1.10.1 Xcode 12.3 Xcodeproj 1.19.0 yet again "Pods project: Update to recommended settings"
I'm running into the same issue (Xcode 12.4 - cocoapods 1.10.1 - xcodeproj 1.19.0).
As a temporary workaround, you can add the following to your Podfile
:
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings.delete 'ARCHS'
end
end
end
This will remove the _Architectures_ setting from all of the pods in your project, which allows them to simply inherit the project/workspace _Architectures_. This was inspired by this blog post.
Most helpful comment
CocoaPods 1.10.1 Xcode 12.3 Xcodeproj 1.19.0 yet again "Pods project: Update to recommended settings"