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

iOS Framework depending on Auth0 fails to build due to SimpleKeychain #766

Closed
6 tasks done
reaperdtme opened this issue Apr 20, 2023 · 1 comment
Closed
6 tasks done
Labels
duplicate This is a duplicate of another issue or PR

Comments

@reaperdtme
Copy link

Checklist

Description

Reported on SimpleKeychain: auth0/SimpleKeychain#181

Our SDK's iOS Framework is failing to build on latest XCode/iOS due to SimpleKeychain 1.0.1. We rely on it indirectly through Auth0 2.3.2

target-sdk-name iphonesimulator16.4
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:25:26: error: 'SimpleKeychain' is not a member type of struct 'SimpleKeychain.SimpleKeychain'
extension SimpleKeychain.SimpleKeychain {
          ~~~~~~~~~~~~~~ ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:22:15: note: 'SimpleKeychain' declared here
public struct SimpleKeychain {
              ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:29:26: error: 'SimpleKeychain' is not a member type of struct 'SimpleKeychain.SimpleKeychain'
extension SimpleKeychain.SimpleKeychain {
          ~~~~~~~~~~~~~~ ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:22:15: note: 'SimpleKeychain' declared here
public struct SimpleKeychain {
              ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:33:26: error: 'SimpleKeychain' is not a member type of struct 'SimpleKeychain.SimpleKeychain'
extension SimpleKeychain.SimpleKeychain {
          ~~~~~~~~~~~~~~ ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:22:15: note: 'SimpleKeychain' declared here
public struct SimpleKeychain {
              ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:37:26: error: 'SimpleKeychain' is not a member type of struct 'SimpleKeychain.SimpleKeychain'
extension SimpleKeychain.SimpleKeychain {
          ~~~~~~~~~~~~~~ ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:22:15: note: 'SimpleKeychain' declared here
public struct SimpleKeychain {
              ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:66:26: error: 'SimpleKeychainError' is not a member type of struct 'SimpleKeychain.SimpleKeychain'
extension SimpleKeychain.SimpleKeychainError : Swift.Equatable {
          ~~~~~~~~~~~~~~ ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:22:15: note: 'SimpleKeychain' declared here
public struct SimpleKeychain {
              ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:69:26: error: 'SimpleKeychainError' is not a member type of struct 'SimpleKeychain.SimpleKeychain'
extension SimpleKeychain.SimpleKeychainError {
          ~~~~~~~~~~~~~~ ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:22:15: note: 'SimpleKeychain' declared here
public struct SimpleKeychain {
              ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:73:26: error: 'Accessibility' is not a member type of struct 'SimpleKeychain.SimpleKeychain'
extension SimpleKeychain.Accessibility : Swift.Equatable {}
          ~~~~~~~~~~~~~~ ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:22:15: note: 'SimpleKeychain' declared here
public struct SimpleKeychain {
              ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:74:26: error: 'Accessibility' is not a member type of struct 'SimpleKeychain.SimpleKeychain'
extension SimpleKeychain.Accessibility : Swift.Hashable {}
          ~~~~~~~~~~~~~~ ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:22:15: note: 'SimpleKeychain' declared here
public struct SimpleKeychain {
              ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:67:46: error: 'SimpleKeychainError' is not a member type of struct 'SimpleKeychain.SimpleKeychain'
  public static func == (lhs: SimpleKeychain.SimpleKeychainError, rhs: SimpleKeychain.SimpleKeychainError) -> Swift.Bool
                              ~~~~~~~~~~~~~~ ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:22:15: note: 'SimpleKeychain' declared here
public struct SimpleKeychain {
              ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:67:87: error: 'SimpleKeychainError' is not a member type of struct 'SimpleKeychain.SimpleKeychain'
  public static func == (lhs: SimpleKeychain.SimpleKeychainError, rhs: SimpleKeychain.SimpleKeychainError) -> Swift.Bool
                                                                       ~~~~~~~~~~~~~~ ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:22:15: note: 'SimpleKeychain' declared here
public struct SimpleKeychain {
              ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:23:134: error: 'Accessibility' is not a member type of struct 'SimpleKeychain.SimpleKeychain'
  public init(service: Swift.String = Bundle.main.bundleIdentifier!, accessGroup: Swift.String? = nil, accessibility: SimpleKeychain.Accessibility = .afterFirstUnlock, accessControlFlags: Security.SecAccessControlCreateFlags? = nil, context: LocalAuthentication.LAContext? = nil, synchronizable: Swift.Bool = false, attributes: [Swift.String : Any] = [:])
                                                                                                                      ~~~~~~~~~~~~~~ ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:22:15: note: 'SimpleKeychain' declared here
public struct SimpleKeychain {
              ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:54:61: error: 'SimpleKeychainError' is not a member type of struct 'SimpleKeychain.SimpleKeychain'
  public static let operationNotImplemented: SimpleKeychain.SimpleKeychainError
                                             ~~~~~~~~~~~~~~ ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:22:15: note: 'SimpleKeychain' declared here
public struct SimpleKeychain {
              ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:55:55: error: 'SimpleKeychainError' is not a member type of struct 'SimpleKeychain.SimpleKeychain'
  public static let invalidParameters: SimpleKeychain.SimpleKeychainError
                                       ~~~~~~~~~~~~~~ ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:22:15: note: 'SimpleKeychain' declared here
public struct SimpleKeychain {
              ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:56:50: error: 'SimpleKeychainError' is not a member type of struct 'SimpleKeychain.SimpleKeychain'
  public static let userCanceled: SimpleKeychain.SimpleKeychainError
                                  ~~~~~~~~~~~~~~ ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:22:15: note: 'SimpleKeychain' declared here
public struct SimpleKeychain {
              ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:57:54: error: 'SimpleKeychainError' is not a member type of struct 'SimpleKeychain.SimpleKeychain'
  public static let itemNotAvailable: SimpleKeychain.SimpleKeychainError
                                      ~~~~~~~~~~~~~~ ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:22:15: note: 'SimpleKeychain' declared here
public struct SimpleKeychain {
              ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:58:48: error: 'SimpleKeychainError' is not a member type of struct 'SimpleKeychain.SimpleKeychain'
  public static let authFailed: SimpleKeychain.SimpleKeychainError
                                ~~~~~~~~~~~~~~ ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:22:15: note: 'SimpleKeychain' declared here
public struct SimpleKeychain {
              ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:59:51: error: 'SimpleKeychainError' is not a member type of struct 'SimpleKeychain.SimpleKeychain'
  public static let duplicateItem: SimpleKeychain.SimpleKeychainError
                                   ~~~~~~~~~~~~~~ ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:22:15: note: 'SimpleKeychain' declared here
public struct SimpleKeychain {
              ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:60:50: error: 'SimpleKeychainError' is not a member type of struct 'SimpleKeychain.SimpleKeychain'
  public static let itemNotFound: SimpleKeychain.SimpleKeychainError
                                  ~~~~~~~~~~~~~~ ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:22:15: note: 'SimpleKeychain' declared here
public struct SimpleKeychain {
              ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:61:59: error: 'SimpleKeychainError' is not a member type of struct 'SimpleKeychain.SimpleKeychain'
  public static let interactionNotAllowed: SimpleKeychain.SimpleKeychainError
                                           ~~~~~~~~~~~~~~ ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:22:15: note: 'SimpleKeychain' declared here
public struct SimpleKeychain {
              ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:62:50: error: 'SimpleKeychainError' is not a member type of struct 'SimpleKeychain.SimpleKeychain'
  public static let decodeFailed: SimpleKeychain.SimpleKeychainError
                                  ~~~~~~~~~~~~~~ ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:22:15: note: 'SimpleKeychain' declared here
public struct SimpleKeychain {
              ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:63:43: error: 'SimpleKeychainError' is not a member type of struct 'SimpleKeychain.SimpleKeychain'
  public static let other: SimpleKeychain.SimpleKeychainError
                           ~~~~~~~~~~~~~~ ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:22:15: note: 'SimpleKeychain' declared here
public struct SimpleKeychain {
              ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:64:45: error: 'SimpleKeychainError' is not a member type of struct 'SimpleKeychain.SimpleKeychain'
  public static let unknown: SimpleKeychain.SimpleKeychainError
                             ~~~~~~~~~~~~~~ ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:22:15: note: 'SimpleKeychain' declared here
public struct SimpleKeychain {
              ^
/Users/zaiddaghestani/Library/Developer/Xcode/DerivedData/InAppChat-aoeogmlunlplijccjrdaeoewqjmo/Build/Intermediates.noindex/ArchiveIntermediates/InAppChat/IntermediateBuildFilesPath/SimpleKeychain.build/Release-iphonesimulator/SimpleKeychain.build/Objects-normal/x86_64/SimpleKeychain.private.swiftinterface:1:1: error: failed to verify module interface of 'SimpleKeychain' due to the errors above; the textual interface may be broken by project issues or a compiler bug
// swift-interface-format-version: 1.0
^

Reproduction

  1. Create an iOS Framework
  2. Depend on auth0 via SwiftPM
  3. Compile
xcodebuild archive \
-scheme InAppChat \
-destination "generic/platform=iOS" \
-archivePath ../build/InAppChat-iOS \
SKIP_INSTALL=NO \
BUILD_LIBRARY_FOR_DISTRIBUTION=YES

Auth0.swift version

2.3.2

Platform

iOS

Platform version(s)

15+

Xcode version

14.3

Package manager

SPM

@reaperdtme reaperdtme added the bug This points to a verified bug in the code label Apr 20, 2023
@Widcket Widcket added duplicate This is a duplicate of another issue or PR and removed bug This points to a verified bug in the code labels Apr 21, 2023
@Widcket
Copy link
Contributor

Widcket commented Apr 21, 2023

Closing as this was raised in the SimpleKeychain repo, and replied there: auth0/SimpleKeychain#181 (comment)

@Widcket Widcket closed this as completed Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This is a duplicate of another issue or PR
Projects
None yet
Development

No branches or pull requests

2 participants