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
Swift 5.3 #97
Comments
Hi, best regards |
Any update on this issue? |
Hi, framework build from source as i had an unexpected free time during work time and seems to work ( both branches with or without swiftprotobuf). |
@hm1205 Can you please share the frameworks which you generated for swift 5.3, thanks |
@outsbook better to give you the process I've been true to build first update Carthage version to latest version second fix Carthage to work with swift 5.3 and Xcode 12 : #!/usr/bin/env bash
# carthage.sh
# Usage example: ./carthage.sh build --platform iOS
set -euo pipefail
xcconfig=$(mktemp /tmp/static.xcconfig.XXXXXX)
trap 'rm -f "$xcconfig"' INT TERM HUP EXIT
# For Xcode 12 make sure EXCLUDED_ARCHS is set to arm architectures otherwise
# the build will fail on lipo due to duplicate architectures.
echo 'EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_simulator__NATIVE_ARCH_64_BIT_x86_64__XCODE_1200 = arm64 arm64e armv7 armv7s armv6 armv8' >> $xcconfig
echo 'EXCLUDED_ARCHS = $(inherited) $(EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_$(EFFECTIVE_PLATFORM_SUFFIX)__NATIVE_ARCH_64_BIT_$(NATIVE_ARCH_64_BIT)__XCODE_$(XCODE_VERSION_MAJOR))' >> $xcconfig
export XCODE_XCCONFIG_FILE="$xcconfig"
carthage "$@" credit to : rastersize see this post then rebuild or build Rxswift from Carthage (using previous script) with '--no-use-binaries' ( avoid bitcode error ) and '--platform IOS' as arguments finally run build script: build_sdk.sh Hope will work for you. best regards |
@hm1205 Thank you very much for your help, it's seems to work |
I am waiting for the official update of polar-bye-sdk. |
Please inform us of your planned update release for Swift5.3. |
@hm1205 Thanks ! It seems to work for me too. I just had to copy the generated frameworks from |
@josephlarralde how did you get |
@Arwain to be precise, I ran |
@josephlarralde thank you for your reply and for breaking this down! I'm with you through the initial steps, however, after I run No |
@Arwain are you typing your commands from |
Can you compile for XCode 12, Swift 5.3 please.
Thx.
The text was updated successfully, but these errors were encountered: