Comments (4)
Thanks! Although there is still a problem with the carthage build with Xcode 12: the build fails on lipo due to duplicate architectures:
Release-iphonesimulator/Base32.framework/Base32 have the same architectures (arm64) and can't be in the same fat output file
See also: here
However with the following workaround from the issue above, I was able to build Version 0.9.0:
#!/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 "$@"
I am not sure if the problem is on carthage or framework side....
from base32.
I have seen that this is fixed on trunk - however carthage always fetches version 0.8.0 but after using
github "norio-nomura/Base32" "master"
in the Cartfile it fetches the master code and compiles - but it would be nice if you could release a new version - so the default Cartfile entry will work with new xcode/swift versions
from base32.
Thanks for reporting.
I have released 0.9.0.
$ (master) pod trunk push
[!] Found podspec `SwiftBase32.podspec`
Updating spec repo `trunk`
Validating podspec
-> SwiftBase32 (0.9.0)
- NOTE | xcodebuild: note: Using new build system
- NOTE | xcodebuild: note: Building targets in parallel
- NOTE | xcodebuild: note: Using codesigning identity override: -
- NOTE | xcodebuild: note: Planning build
- NOTE | xcodebuild: note: Constructing build description
- NOTE | xcodebuild: warning: Skipping code signing because the target does not have an Info.plist file and one is not being generated automatically. (in target 'App' from project 'App')
- NOTE | xcodebuild: note: Using codesigning identity override:
Updating spec repo `trunk`
--------------------------------------------------------------------------------
🎉 Congrats
🚀 SwiftBase32 (0.9.0) successfully published
📅 October 8th, 08:43
🌎 https://cocoapods.org/pods/SwiftBase32
👍 Tell your friends!
--------------------------------------------------------------------------------
from base32.
I think carthage should support xcframework creation.
from base32.
Related Issues (11)
- Failed to discover shared schemes in project Base32.xcodeproj HOT 1
- Module Compiled using older version of compiler HOT 2
- CocoaPods support HOT 1
- EXC_BAD_ACCESS code=1 HOT 1
- Uploading app with Base32 to iTunes Connect fails because of missing CFBundleVersion HOT 1
- 'deallocate(capacity:)' is deprecated HOT 1
- Extensions not public HOT 1
- Swift 5 HOT 1
- Warnings in XCode 10.2.1, Swift 5 HOT 2
- Dangling pointers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from base32.