How to rebuild development pod changes?

后端 未结 8 609
别那么骄傲
别那么骄傲 2021-01-30 04:09

I have a development pod that I connect to the my app locally using :path => \'~/Projects/Swift/pod\'. When I make changes inside the application code in that d

相关标签:
8条回答
  • 2021-01-30 04:39

    I tried accepted answer and it didnt work, then I added install! 'cocoapods', :disable_input_output_paths => true to podfile and it is working now.

    use_frameworks!
    
    install! 'cocoapods', :disable_input_output_paths => true
    
    target 'TargetName' do
      # ...
    end
    
    0 讨论(0)
  • 2021-01-30 04:40

    As a workaround I've been manually "cleaning" out my development pods.

    1. In the Pods project open Products select the development pod framework(s)
    2. In the inspector on the right I select the arrow which opens Finder
    3. Delete the framework(s)
    4. Build/Run

    Hope that helps, and that Apple fixes this soon...

    P.S. Will definitely be writing a simple script to do this.

    Update 9/25/18

    Also seems like sometimes I must delete the Intermediate build(s) as well.

    Update 9/23/19

    Looks like it was fixed in CocoaPods 1.8.0 (Wow, it been a whole year...)

    0 讨论(0)
提交回复
热议问题