auth0/Lock.swift

Xcode 14.3 and Xcode 15 compatibility

bhargavbajani-simformsolutions opened this issue ยท 8 comments

Checklist

  • I have looked into the Readme and 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

Code Compilation failed when try to use Carthage with Xcode 14.3+ and Xcode 15 Betas

Reproduction

By using carthage

Add the following line to your Cartfile:

github "auth0/Lock.swift" ~> 2.24

Then, run carthage bootstrap --use-xcframeworks --platform iOS.

getting below error

`Building scheme "JWTDecode-iOS" in JWTDecode.xcodeproj
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -project /Users/bhargav/Documents/Data1/LatestDemo/Demo2/Carthage/Checkouts/JWTDecode.swift/JWTDecode.xcodeproj -scheme JWTDecode-iOS -configuration Release -derivedDataPath /Users/bhargav/Library/Caches/org.carthage.CarthageKit/DerivedData/15.0_15A5219j/JWTDecode.swift/2.6.3 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive VALIDATE_WORKSPACE=NO -archivePath /var/folders/zn/8dkx94j92wv8sqzhjh3sj14r0000gr/T/JWTDecode.swift SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/bhargav/Documents/Data1/LatestDemo/Demo2/Carthage/Checkouts/JWTDecode.swift)

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/zn/8dkx94j92wv8sqzhjh3sj14r0000gr/T/carthage-xcodebuild.8T1Vyw.log`

Additional context

image

Lock.swift version

5.2

Platform

iOS

Platform version(s)

16

Xcode version

14.3.1 / 15 beta 6

Package manager

Carthage

CuFod commented

i even couldn't use simulator ๏ผŒit is always black screen (macos12,xcode14.2)

Hi @bhargavbajani-simformsolutions, thanks for raising this. I'll need to look into this in-depth, but I'm a bit busy right now. I'll try to get to this as soon as I can.

CuFod commented

Hi @bhargavbajani-simformsolutions, thanks for raising this. I'll need to look into this in-depth, but I'm a bit busy right now. I'll try to get to this as soon as I can.

Thanks!the simulator runs okay now, but the Content view still wrong .

@Widcket may I know when we get an updated SDK to solve the above issue? It's currently a blocker.

@Widcket Any update for this ?

Hi, I haven't been able to take a deep look into this yet. Will update when I have more information.

@Widcket can I get an update? This is completely Blocker to us.

Hi @bhargavbajani-simformsolutions,

As mentioned in our Product Support Matrix, this library is no longer fully supported. Only bug fixes are supported:

Screenshot 2023-10-30 at 13 39 29

Unfortunately, this is not a bug, so it does not fall within the current support level. We will explore the possibility of further development, but have no ETA and no update to share at the moment.