evgenyneu / keychain-swift

Helper functions for saving text in Keychain securely for iOS, OS X, tvOS and watchOS.
MIT License
2.82k stars 345 forks source link

[Carthage] keychain-swift fails to build on XCODE 12.0 beta 4 (12A8179i) #135

Closed SudhirGadhvi closed 3 years ago

SudhirGadhvi commented 4 years ago

keychain-swift fails to build on XCODE 12.0 beta 4 (12A8179i)

Build Failed
    Task failed with exit code 1:
/usr/bin/xcrun lipo -create /Users/Sudhir/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0_12A8179i/keychain-swift/19.0.0/Build/Intermediates.noindex/ArchiveIntermediates/KeychainSwift/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/KeychainSwift.framework/KeychainSwift /Users/Sudhir/Library/Caches/org.carthage.CarthageKit/DerivedData/12.0_12A8179i/keychain-swift/19.0.0/Build/Products/Release-iphonesimulator/KeychainSwift.framework/KeychainSwift -output /Users/Sudhir/Documents/S!D/Projects/RosterBuster-iOS/Carthage/Build/iOS/KeychainSwift.framework/KeychainSwift

Reproduce Steps to reproduce:

  1. Delete derived Carthage Cache.
  2. Delete Carthage directory in project.
  3. Uninstall Carthage and install it again.
  4. xcode-select --switch to choose the Xcode 12 beta
  5. Remove /Library/Caches/org.carthage.CarthageKit/DerivedData/
  6. carthage update --platform iOS --no-use-binaries
evgenyneu commented 4 years ago

Thanks for reporting the issue. Does it look similar to this one? https://github.com/Carthage/Carthage/issues/3019

SudhirGadhvi commented 4 years ago

Thanks for reporting the issue. Does it look similar to this one? Carthage/Carthage#3019

Yes, I have tried this one https://github.com/Carthage/Carthage/issues/3019#issuecomment-664099506 It works for another library except for Keychain-swift.

Even I tried this one also: https://github.com/Carthage/Carthage/issues/3019#issuecomment-665136323 still failed for Keychain-swift.

Can you suggest if there is anything I should try?