Carte
Carte copied to clipboard
Carte shows only it's license
I added carte to my project but when I push the CarteViewController it includes only the carte license no other libraries licenses.
@hamza-mansouur
Add this to the end of your podfile:
post_install do |installer|
pods_dir = File.dirname(installer.pods_project.path)
at_exit { `ruby #{pods_dir}/Carte/Sources/Carte/carte.rb configure` }
end
Update:
It seems that this only works after the first pod install
Hey Hujaber, thank you for your reply but even in the first pod install it didn't work,
I started a new project and nothing changed. this is my pod file :
use_frameworks!
target 'carteTest' do
pod 'Kingfisher'
pod 'SnapKit'
pod 'MaterialComponents/Buttons'
pod 'SwiftSoup'
pod 'FacebookCore'
pod 'FacebookLogin'
pod 'FacebookShare'
pod 'PickerView'
pod 'Carte'
end
post_install do |installer|
pods_dir = File.dirname(installer.pods_project.path)
at_exit { ruby #{pods_dir}/Carte/Sources/Carte/carte.rb configure
}
end
Cleaning the project (Product -> Clean Build Folder) solved this issue for me.
Nope unfortunately Clean Build Folder didn't solve the issue for me.
It's weird, I still get the issue sometimes and after I clean and build again it is fixed but eventually, it occurs again. Would be interested in how this is fixed permanently.
same. I need to clean build every time to show
I'm also experiencing this issue. Any updates?
I found that this bug only appears under the New Build System. It seems that Xcode won't process Info.plist until it is changed.
Build log when it works
There is Info.plist processing

Build log when it doesn't work
There is no Info.plist processing

I will dive into this issue.
I solved this problem.
this is the problem with '[Carte] Post Script'. the script has clean up ruby code script code, so before Process your info.plist, it removes anyway all of your framework, dependencies items.
you can remove the '[Carte] Post Script' Execution at build phase in xproject settings.
[Carte] Pre Script already has Delete command, so you don't need to worry about items duplicate problem.
I appreciate @devxoul 's Carte plugin.