devxoul / carte Goto Github PK
View Code? Open in Web Editor NEW๐ด Open source license notice view generator for Swift
License: MIT License
๐ด Open source license notice view generator for Swift
License: MIT License
I can't build my project. I get the following error:
'let' properties are implicitly 'final'; use 'public' instead of 'open'
I get the error at the line open let carteItem: CarteItem
inside CarteDetailViewController
.
I get this error when trying to install pods. Xcode 10 and CocoaPods 1.6.0.beta.1 (and also the latest stable):
........./MyApp/Pods/Carte/Sources/Carte/ruby/2.3.0/gems/xcodeproj-1.5.2/lib/xcodeproj/project/object.rb:321:in 'configure_with_plist': [!] Xcodeproj doesn't know about the following attributes {"inputFileListPaths"=>[], "outputFileListPaths"=>[]} for the 'PBXShellScriptBuildPhase' isa. (RuntimeError)
Any ideas?
The build script is added to all targets in the Xcode project, and this leads to build errors when you have a Watch App and Extension, because the script is copied to the build phase of the Watch App and Extension targets as well, and since Carte does not support watchOS, Xcode isn't able to run the script (because it can't find the script file on the Watch App and Extension paths).
When removing the build script code from the Watch App and Extension targets, the script code is erased from other targets as well.
Currently, I have to modify the build script in Xcode and set it to:
if [ "${TARGET_NAME}" = "App Target Name" ]; then
ruby ${PODS_ROOT}/Carte/Sources/Carte/carte.rb pre
fi
if [ "${TARGET_NAME}" = "App Target Name" ]; then
ruby ${PODS_ROOT}/Carte/Sources/Carte/carte.rb post
fi
It would be nice if the library didn't install the build script on non-iOS targets.
PS: I am on Xcode 9.2
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
I added carte to my project but when I push the CarteViewController it includes only the carte license no other libraries licenses.
The post_install is resulting in an error on my machine:
post_install do |installer|
pods_dir = File.dirname(installer.pods_project.path)
at_exit { `ruby #{pods_dir}/Carte/Sources/Carte/carte.rb configure` }
end
MBP17:app motto$ pod install
Analyzing dependencies
Downloading dependencies
Using Carte (2.1.6)
[...]
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 6 dependencies from the Podfile and 10 total pods installed.
Traceback (most recent call last):
6: from /Users/motto/git/dw/ios/app/Pods/Carte/Sources/Carte/carte.rb:152:in `<main>'
5: from /Users/motto/git/dw/ios/app/Pods/Carte/Sources/Carte/carte.rb:129:in `run'
4: from /Users/motto/git/dw/ios/app/Pods/Carte/Sources/Carte/carte.rb:17:in `integrate'
3: from /Users/motto/git/dw/ios/app/Pods/Carte/Sources/Carte/carte.rb:17:in `each'
2: from /Users/motto/git/dw/ios/app/Pods/Carte/Sources/Carte/carte.rb:24:in `block in integrate'
1: from /Users/motto/git/dw/ios/app/Pods/Carte/Sources/Carte/carte.rb:52:in `new_script_phase'
/Users/motto/git/dw/ios/app/Pods/Carte/Sources/Carte/carte.rb:62:in `uuid_with_name': uninitialized constant ProjectIntegrator::Digest (NameError)
Not showing any license when I click an item. It shows me the pods though.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.