Open sandesh-gauss opened 4 years ago
If you were using Carthage, you can use the script they mention in their Issues page: https://github.com/Carthage/Carthage/issues/3019
It worked for me.
I have had the same issue when bundling Charts through Swift Package Manager. My workaround for Debug configuration:
ONLY_ACTIVE_ARCH
): YES
VALID_ARCHS
): arm64 arm64e armv7 armv7s i386 x86_64
The last one was set as a user-defined variable, no idea why and how it's worked ¯_(ツ)_/¯
@bobek-balinek by any chance, have you tried to checkout the v4.0.0 branch? When I tried it few weeks ago it was not working, not sure if your workaround could fix it too. And that's the version of Charts that we're using in our app.
I have had the same issue when bundling Charts through Swift Package Manager. My workaround for Debug configuration:
- Build Active Architectures Only (
ONLY_ACTIVE_ARCH
):YES
- Valid Architectures (
VALID_ARCHS
):arm64 arm64e armv7 armv7s i386 x86_64
The last one was set as a user-defined variable, no idea why and how it's worked ¯(ツ)/¯
@bobek-balinek Yes, thank you fo your comment. I am using Swift Package Manager as well. I tried that before, but the thing is the iOS app I am using has some Camera APIs that only work with arm64 arm64e armv7 armv7s. This is definitely a great workaround if adding those i386 x86_64 doesn't break other code in your app. I think the solution is as simple as re-compiling the Charts framework with the arm64 and above architectures.
Hi @danielgindi ,
I am having issues building the Charts framework with the Xcode 12 Beta 6 using Swift PM. Getting the following error,
Could not find module 'Charts' for target 'arm64-apple-ios-simulator'; found: x86_64-apple-ios-simulator, x86_64
Works fine with Xcode 12 initial beta. Please let me know if there's a quck fix for the time being.