AppAuth-iOS
AppAuth-iOS copied to clipboard
Example-iOS_Swift-Carthage/Example_Extension show No such module 'AppAuthCore'
i excute Example-iOS_Swift-Carthage project and use 'carthage bootstrap --use-xcframeworks' to install AppAuth. but it will show "No such module 'AppAuthCore'" in Example_Extension project.
OS: macOS Monterey 12.0.1 Xcode: 13.1
Same for me.
OS: macOS Montery 12.0.1 XCode: 13.2.1
same!!
OS: Big Sur 11.3.1 Xcode: 12.5.1
same here!
I had this issue and was able to solve it. First, if you press on AppAuthCore on the left pane, the relative location of the folder should appear on the right pane. See Screenshot:

For me, the path of the parent directories of the AppAuthCore frameworks was incorrect. I fixed this by pressing the folder button and choosing the right path. For me, it was:
Carthage/Build/AppAuthCore.xcframework/ios-arm64_armv7/AppAuthCore.framework
I also did the same for the AppAuth framework.
Once you fix this, make sure to also update the file path in the Carthage header in the Build Phases section for both the Example and Example_Extension targets
My issue was that Carthage was trying to build for all "Platforms" and I only have iOS and MacOS installed. This was resolved for me by using the platform tag: carthage bootstrap --use-xcframeworks --platform iOS (xcframeworks flag needed on my ARM machine)
Carthage was failing without adding the AppAuthCore package until I specified my platform. THEN I had to update the path per omarismail94's solution.