Coder Social home page Coder Social logo

Comments (10)

dogfoots avatar dogfoots commented on June 15, 2024 1

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.

from carte.

hujaber avatar hujaber commented on June 15, 2024

@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

from carte.

hujaber avatar hujaber commented on June 15, 2024

Update:
It seems that this only works after the first pod install

from carte.

hamza-mansouur avatar hamza-mansouur commented on June 15, 2024

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

from carte.

JoKuebler avatar JoKuebler commented on June 15, 2024

Cleaning the project (Product -> Clean Build Folder) solved this issue for me.

from carte.

hamza-mansouur avatar hamza-mansouur commented on June 15, 2024

Nope unfortunately Clean Build Folder didn't solve the issue for me.

from carte.

JoKuebler avatar JoKuebler commented on June 15, 2024

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.

from carte.

lbagga2x avatar lbagga2x commented on June 15, 2024

same. I need to clean build every time to show

from carte.

JonasSL avatar JonasSL commented on June 15, 2024

I'm also experiencing this issue. Any updates?

from carte.

devxoul avatar devxoul commented on June 15, 2024

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

Screen Shot 2019-09-08 at 1 00 30 AM

Build log when it doesn't work

There is no Info.plist processing

Screen Shot 2019-09-08 at 1 00 51 AM

I will dive into this issue.

from carte.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.