Carte icon indicating copy to clipboard operation
Carte copied to clipboard

[Xcodeproj] Unknown object version. (RuntimeError) executing carte.rb configure

Open nerocristallo opened this issue 3 years ago • 0 comments

The error seems to be related to the processing of a library (Zoom SDK) included in my project. The library was build using XCode 12 and it is distributed as xcframework.

My understanding is that the xcodeproj-1.8.2 library used by Carte is too old for processing this kind of component.

Traceback (most recent call last): 3: from /Volumes/extra/Dev/App-iOS/App/Pods/Carte/Sources/Carte/carte.rb:152:in <main>' 2: from /Volumes/extra/Dev/App-iOS/App/Pods/Carte/Sources/Carte/carte.rb:127:in run' 1: from /Volumes/extra/Dev/App-iOS/App/Pods/Carte/Sources/Carte/ruby/2.6.0/gems/xcodeproj-1.8.2/lib/xcodeproj/project.rb:112:in open' /Volumes/extra/Dev/App-iOS/App/Pods/Carte/Sources/Carte/ruby/2.6.0/gems/xcodeproj-1.8.2/lib/xcodeproj/project.rb:227:in initialize_from_file': [Xcodeproj] Unknown object version. (RuntimeError)

Unfortunately I do not have specific skills about Ruby and Gems so I really do not know how to proceed for updating xcodeproj gem.

I did some experiments updating xcodeproj to version 1.21.0 and the ruby script seems to work fine. see "update_xcodeproj" branch in my fork https://github.com/nerocristallo/Carte/tree/feature/update_xcodeproj

nerocristallo avatar Oct 06 '21 08:10 nerocristallo