Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode Version 10.0 beta 5, error Redefinition of module 'CommonCrypto' #116

Open
gregoireLem opened this issue Aug 20, 2018 · 5 comments
Open

Comments

@gregoireLem
Copy link

Using JSONWebToken (2.2.0)

I have this error when using Xcode Version 10.0 beta 5
capture d ecran 2018-08-20 a 17 09 02

@gregoireLem gregoireLem changed the title Xcode Version 10.0 beta 5 error Redefinition of module 'CommonCrypto' Xcode Version 10.0 beta 5, error Redefinition of module 'CommonCrypto' Aug 20, 2018
@mkBajaj
Copy link

mkBajaj commented Aug 21, 2018

I am also facing same above mentioned issue.

@gregoireLem
Copy link
Author

gregoireLem commented Aug 21, 2018

Removing CommonCrypto file from Pods/JSONWebToken did the trick

@KeimyPlaza
Copy link

Maybe is the same issue, like #102

I hope the PR (#114) will be approved soon

@nagaraju85
Copy link

I am also facing same Issue

@mtangoo
Copy link

mtangoo commented Mar 21, 2021

Edit: Found a solution here: #102 (comment)

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

target 'App' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  # Pods for App
  .....
  pod 'JSONWebToken'
  #Other pods

  #Remove the folder to fix the error
  post_install do |installer|
    require 'fileutils'
    FileUtils.rm_rf('Pods/JSONWebToken/CommonCrypto')
  end
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants