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

Building iOS Framework with Auth0 dependency results in SimpleKeychain namespace errors #181

Closed
4 tasks done
reaperdtme opened this issue Apr 20, 2023 · 1 comment
Closed
4 tasks done
Labels
bug This points to a verified bug in the code

Comments

@reaperdtme
Copy link

Checklist

  • I have looked into the README and the Examples and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Description

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

SimpleKeychain version

1.0.1

Platform

iOS

Platform version(s)

15+

Xcode version

14.3

Package manager

SPM

@Widcket
Copy link
Contributor

Widcket commented Apr 21, 2023

Hi @lightchaser411, thanks for raising this.

BUILD_LIBRARY_FOR_DISTRIBUTION enables library evolution. We don't recommend building the library with library evolution enabled. See #172.

@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
bug This points to a verified bug in the code
Projects
None yet
Development

No branches or pull requests

2 participants