Swift 组件化 问题

1、问题一:Git 使用之鉴权失败

解决方法 地址:https://blog.csdn.net/Zhao_knight/article/details/121527347

2、问题二:xcrun: error: unable to find utility "simctl", not a developer tool or in PATH

    解决办法:
      意思是环境变量少developer tool, 解决方法就是打开xcode的设置,

      Preferences > Locations > Command Line Tools 中选择下当前的xcode,可能会提示输入密码。完成即可。

3、问题三:[iOS] xcodebuild: Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.2.99. (in target 'CLToast' from project 'Pods')

podfiled 文件中添加:

post_install do |installer|
      installer.pods_project.targets.each do |target|
      target.build_configurations.each do |config|
        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
     end
end

end

4、问题四:cocoapod安装,第三方库的安装与删除

    pod repo remove master  
    // 之后需要 
    pod setup    
    pod repo update
    pod repo add master http://git.oschina.net/akuandev/Specs.git
    pod repo update --verbose

5、删除pod库的库

  /Users/sdch/.cocoapods/repos

你可能感兴趣的:(Swift 组件化 问题)