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]: Not able to install through Carthage #1192
Comments
I am also facing same problem. I get the following error *** Fetching XMPPFramework This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/q1/mkvxk_9n7r1812whx8qx124r0000gn/T/carthage-xcodebuild.Lfpfjg.log In log file following error is mentioned ** ARCHIVE FAILED ** The following build commands failed: |
same over here, is there a known way to fix. Have to finish my project very soon (tm) |
As a workaround you can use this script # 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
echo 'IPHONEOS_DEPLOYMENT_TARGET = 9.0' >> $xcconfig
export XCODE_XCCONFIG_FILE="$xcconfig"
carthage "$@" Save it as then you can use The script is based on this documentation here https://github.com/Carthage/Carthage/blob/master/Documentation/Xcode12Workaround.md |
@AlTavares This script is to fix the issue of carthage for xcode>12. But here the issue is in your framework as mentioned above. You have to release an update with minimum deployment target set to ios 9.0 |
The script I made was based on the one that fixes the issues on Xcode 12, it's not the same. |
:0: error: compiling for iOS 8.0, but module 'CocoaLumberjack' has a minimum deployment target of iOS 9.0: /Users/amutechnologies/Library/Developer/Xcode/DerivedData/Runner-alewopaxiyghwdffvdabzyaseepd/Build/Products/Debug-iphonesimulator/CocoaLumberjack/CocoaLumberjack.framework/Modules/CocoaLumberjack.swiftmodule/x86_64-apple-ios-simulator.swiftmodule Please advice what can i do for build xcode version 12.4 |
You can bump target platform version for each pod in your Podfile, like this:
|
For Carthage issue you should use workaround mentioned before: #1192 (comment) |
@infostans823
|
Use this code but can't work i am using for flutter ios build in my pod file this pod installer code post_install do |installer| |
As cocoalumberjack has set its minimum deployment target to 9.0 but xmppframework has still set its minimum deployment target to 8.0 fresh installing is failing.
XMPPBookmarksModule.swift:14:12: error: compiling for iOS 8.0, but module 'CocoaLumberjackSwift' has a minimum deployment target of iOS 9.0
The text was updated successfully, but these errors were encountered: