JSONWebToken.swift
JSONWebToken.swift copied to clipboard
Xcode Version 10.0 beta 5, error Redefinition of module 'CommonCrypto'
Using JSONWebToken (2.2.0)
I have this error when using Xcode Version 10.0 beta 5

I am also facing same above mentioned issue.
Removing CommonCrypto file from Pods/JSONWebToken did the trick
Maybe is the same issue, like #102
I hope the PR (https://github.com/kylef/JSONWebToken.swift/pull/114) will be approved soon
I am also facing same Issue
Edit: Found a solution here: https://github.com/kylef/JSONWebToken.swift/issues/102#issuecomment-470076753
# 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