CocoaPods/CocoaPods

Binary Dependency issue with Xcode 12 GM

Ouverte

#10 063 ouverte le 16 sept. 2020

 (8 commentaires) (0 réaction) (0 personne assignée)Ruby (2 685 forks)batch import
help wanteds2:confirmedt2:defect

Métriques du dépôt

Stars
 (14 815 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

Report

What did you do?

ℹ Please replace these two lines with what you did.
Run pod install

What did you expect to happen?

Install all pod dependencies correctly.

What happened instead?

Cocoapods installed binary dependencies but they are unusable from Xcode 12 GM

CocoaPods Environment

Stack

   CocoaPods : 1.9.3
        Ruby : ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-darwin19]
    RubyGems : 3.0.6
        Host : Mac OS X 10.15.5 (19F101)
       Xcode : 12.0 (12A7209)
         Git : git version 2.24.3 (Apple Git-128)
Ruby lib dir : /Users/tmpz/.rvm/rubies/ruby-2.6.3/lib
Repositories : trunk - CDN - https://cdn.cocoapods.org/

Installation Source

Executable Path: /Users/tmpz/.rvm/gems/ruby-2.6.3/bin/pod

Plugins

cocoapods-deintegrate : 1.0.4
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-stats       : 1.1.0
cocoapods-trunk       : 1.5.0
cocoapods-try         : 1.2.0

Podfile

# Uncomment the next line to define a global platform for your project
platform :ios, '13.0'

workspace 'GGTemplates.xcworkspace'
project 'GGTemplates'
project 'GGEditor/GGEditor'

def firebase
  # https://firebase.google.com/
  pod 'Firebase/Core'
  pod 'Firebase/Crashlytics'
  pod 'Firebase/RemoteConfig'
  pod 'Firebase/Messaging'
end

def facebook
  # https://github.com/facebook/facebook-ios-sdk
  pod 'FBSDKCoreKit'
end

def tagged
  # https://github.com/pointfreeco/swift-tagged
  pod 'Tagged', '~> 0.5'
end

def viewer
  # https://github.com/DaveWoodCom/XCGLogger
  pod 'XCGLogger', '~> 7.0.0'
  pod 'XCGLogger/UserInfoHelpers', '~> 7.0.0'
  
  firebase
  facebook

  # https://cocoapods.org/pods/IQKeyboardManagerSwift
  pod 'IQKeyboardManagerSwift'

  # https://github.com/JonasGessner/JGProgressHUD
  pod 'JGProgressHUD'
  
  # https://github.com/mac-cain13/R.swift
  pod 'R.swift'

  # https://github.com/SDWebImage/SDWebImage
  pod "SDWebImage"

  # https://github.com/Alamofire/Alamofire
  pod "Alamofire", '~> 5.0.0-rc.3'

  # https://github.com/davidstump/SwiftPhoenixClient
  pod "SwiftPhoenixClient"

  # https://github.com/CombineCommunity/CombineExt
  pod "CombineExt"

  # https://developers.giphy.com/docs/sdk/#ios
  pod "Giphy"

  pod 'LTMorphingLabel'

  tagged

end

def templates
end

def shared
  pod 'SwiftLint'
  # https://instabug.com/
  pod 'Instabug'
end

def editor
  pod 'SQLite.swift', '~> 0.12.0'
  tagged
end

target 'GGTemplates' do
  project 'GGTemplates'
  use_frameworks!
  viewer
  templates
  editor
  shared
end

target 'GGTemplatesTests' do
  project 'GGTemplates'
  use_frameworks!
  viewer
  templates
  editor
  shared
end

target 'GGTemplatesUITests' do
  project 'GGTemplates'
  inherit! :search_paths
end

target 'GGEditor' do
  project 'GGEditor/GGEditor'
  use_frameworks!
  editor
end

target 'GGEditorTests' do
  project 'GGEditor/GGEditor'
  use_frameworks!
  editor
end

Project that demonstrates the issue

See https://github.com/Giphy/giphy-ios-sdk-ui-example/issues/96

Guide contributeur