Xcodeproj: Can't get `pod update` to work on macOS Catalina
Can’t get pod update
to work on macOS Catalina
JeffMacbookPro:Proj-iOS jefhai$ pod update
[!] Invalid `Podfile` file: [Xcodeproj] Unknown object version..
# from /Users/jefhai/Documents/git/Proj-iOS/Podfile:24
# -------------------------------------------
#
> project = Xcodeproj::Project.open "Proj.xcodeproj"
# project.targets.each do |t|
# -------------------------------------------
[!] [!] Xcodeproj doesn't know about the following attributes {"platformFilter"=>"ios"} for the 'PBXBuildFile' isa.
If this attribute was generated by Xcode please file an issue: https://github.com/CocoaPods/Xcodeproj/issues/new
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 19 (6 by maintainers)
Try this- sudo gem install cocoapods
Swift Packet Manager, especially regarding the new Xcode 11 integration in this context.
Its taken care of here https://github.com/CocoaPods/Xcodeproj/pull/687