readium / mobile

📱 Readium Mobile is a toolkit for ebooks, audiobooks and comics written in Swift & Kotlin.
https://readium.org/mobile
BSD 3-Clause "New" or "Revised" License
104 stars 6 forks source link

Who can remotely control and help me get this APP running in Xcode, Carthage generates.FarmWorks error #13

Closed iosreclub closed 3 years ago

iosreclub commented 3 years ago

Who can help me? I'm helpless

llemeurfr commented 3 years ago

Are you serious to give access to your computer like that?

mickael-menu commented 3 years ago

@Dennis19872020 We don't have the resources for offering that kind of support. I already asked you several times for more infos but you keep posting new issues.

https://github.com/readium/r2-testapp-swift/issues/374

Please follow up on a single issue, and through GitHub.

iosreclub commented 3 years ago

who can help me

iosreclub commented 3 years ago

I tried all the methods you mentioned, but still, generated XcFrameworks and got an error

Truck3r commented 3 years ago

The only workaround I have found for this, is to run Carthage without the --use-xcframeworks option - and immediately afterwards run Carthage again with --use-xcframeworks set. carthage bootstrap --platform ios carthage bootstrap --platform ios --use-xcframeworks It seems like the way the external dependencies are added to Xcode relies on the old framework format being available in order to build properly.

I don't have a cleaner solution for this at the moment...

mickael-menu commented 3 years ago

@Truck3r Did you check using develop? The latest version 2.0.0-beta.1 is still using .framework, but develop is using .xcframework

Truck3r commented 3 years ago

I did not - I'll try to switch to develop and let you know how it works out 👍 thanks 🙂

Truck3r commented 3 years ago

@mickael-menu Using the develop branch solves the problem for me. On minor issue though - I had to include CryptoSwift in the Cartfile in a peculiar way - specifying the branch name rather than the version number - otherwise, Carthage would checkout v0.6.0beta2, even though I declared == 1.3.2 as the version to use...

My Cartfile: github "onevcat/Kingfisher" == 5.15.6 github "weichsel/ZIPFoundation" == 0.9.11 github "jdg/MBProgressHUD" == 1.2.0 github "stephencelis/SQLite.swift" == 0.12.2 github "edrlab/GCDWebServer" == 3.6.3 github "krzyzanowskim/CryptoSwift" "1.3.2" github "cezheng/Fuzi" == 3.1.3 github "dexman/Minizip" == 1.4.0 github "scinfu/SwiftSoup" == 2.3.2

github "readium/r2-shared-swift" "develop" github "readium/r2-streamer-swift" "develop" github "readium/r2-navigator-swift" "develop" github "readium/readium-opds-swift" "develop"

mickael-menu commented 3 years ago

Can you try with 1.3.8 instead? Check out the updated versions for all dependencies in develop: https://github.com/readium/r2-testapp-swift/blob/develop/Cartfile