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

Carthage update Flexlayout as XCFramework fails on Xcode 16.2 #270

Open
inwoodev opened this issue Dec 27, 2024 · 1 comment
Open

Carthage update Flexlayout as XCFramework fails on Xcode 16.2 #270

inwoodev opened this issue Dec 27, 2024 · 1 comment

Comments

@inwoodev
Copy link

Hi, I have recently updated my Xcode to 16.2 and as I have built the Flexlayout on previous version
I got a compiler error.

to solve the problem, I deleted the cache and build files then I tried...

 carthage update --platform iOS --use-xcframeworks --no-use-binaries

then I get this build error:

Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -workspace /Users/hwang-in-u/lyrics-app-iOS/Carthage/Checkouts/FlexLayout/FlexLayout.xcworkspace -scheme FlexLayoutInner -configuration Release -derivedDataPath /Users/hwang-in-u/Library/Caches/org.carthage.CarthageKit/DerivedData/16.2_16C5032a/FlexLayout/2.1.0 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= SUPPORTS_MACCATALYST=NO CARTHAGE=YES archive VALIDATE_WORKSPACE=NO -archivePath /var/folders/87/17d4_w2x2s3536jwhv4g08nh0000gn/T/FlexLayout SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/hwang-in-u/lyrics-app-iOS/Carthage/Checkouts/FlexLayout)

Could I get some help?

@inwoodev
Copy link
Author

for anyone facing the same issue when integrating FlexLayout with Carthage, I found a workaround.
Try using FlexLayout version 2.0.10 instead of 2.1.0.
Set this version in your Cartfile.resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant