Incorrect path for Pods.debug.xcconfig in Xcode?

后端 未结 17 1342
一整个雨季
一整个雨季 2021-01-30 03:15

so I used Venmo/Synx on my Xcode project with CocoaPods, and it completely screwed everything up.

I was able to fix the Manifest.lock and Podfile.lock errors, but now I

17条回答
  •  难免孤独
    2021-01-30 03:43

    This is what worked for me !

    I use always Bundler to manage ruby dependencies, then in all my iOS projects i have Gemfile that look like this !

    source "https://rubygems.org"
    
    gem "cocoapods"
    gem "fastlane"
    gem "jazzy"
    
    gem 'xcodeproj', :git => 'https://github.com/CocoaPods/Xcodeproj.git'
    gem 'fastlane-plugin-teams', :git => "https://github.com/mbogh/fastlane-plugin-teams"
    
    plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
    eval_gemfile(plugins_path) if File.exist?(plugins_path)
    

    i just run the following, i advice you using alias for this :

    ## Alias to add in zshrc or bashrc
    
    # bundle install
    bdli() {
      bundle install $@;
    }
    
    piu() {
      kill $(ps aux | grep 'Xcode' | awk '{print $2}');
      pod deintegrate;
      pod repo update;
      pod install;
      pod update;
      open -a Xcode *.xcworkspace;
    }
    
    

    then simply run :

    bdli && piu
    

    It will do everything for you :)

    PS : To install Bundler go here -> Bundler

提交回复
热议问题