I'm having an issue when I try to carthage update
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -project /Users/Shared/projectLocation/source/Carthage/Checkouts/ActiveLabel.swift/ActiveLabel.xcodeproj -scheme ActiveLabel -configuration Release -derivedDataPath /Users/main/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4.1_9F2000/ActiveLabel.swift/1.0.1 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/nx/tqnzdw9x5_d73x7tjcmvrv2r0000gn/T/ActiveLabel.swift SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/Shared/projectLocation/source/Carthage/Checkouts/ActiveLabel.swift)
This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/nx/tqnzdw9x5_d73x7tjcmvrv2r0000gn/T/carthage-xcodebuild.LEmVYA.log
I had the same issue, but I resolved.
ActiveLabel.swift was updated on 10/9.
If you use Xcode9, please try to use the tag/0.9.0.
It's written in the below release note.
https://github.com/optonaut/ActiveLabel.swift/releases/tag/1.0.1
Related
When I try to build from the command line:
xcodebuild clean archive PRODUCT_BUNDLE_IDENTIFIER=${IOS_APP_ID} -workspace $cur_dir/../ios/${PROJECT_NAME}.xcworkspace -scheme $IOS_SCHEME -configuration $IOS_CONFIGURATION -derivedDataPath $cur_dir/../ios/build -archivePath $cur_dir/../ios/build/Products/${PROJECT_NAME}.xcarchive
I'm getting the error below:
Integrating client project
[!] AFNetworking has been deprecated in favor of Alamofire
Pod installation complete! There are 91 dependencies from the Podfile and 95 total pods installed.
Archiving the project
Command line invocation:
/Applications/Xcode_13.2.1.app/Contents/Developer/usr/bin/xcodebuild clean archive PRODUCT_BUNDLE_IDENTIFIER=com.company.us.qa.test -workspace ./../ios/Testhouse.xcworkspace -scheme Testhouse QA Managed -configuration RELEASE -derivedDataPath ./../ios/build -archivePath ./../ios/build/Products/Testhouse.xcarchive
User defaults from command line:
IDEArchivePathOverride = /Users/runner/work/Testhouse-Mobile/Testhouse-Mobile/ios/build/Products/Testhouse.xcarchive
IDEDerivedDataPathOverride = /Users/runner/work/Testhouse-Mobile/Testhouse-Mobile/ios/build
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
PRODUCT_BUNDLE_IDENTIFIER = com.company.us.qa.test
xcodebuild: error: Unknown build action 'QA'.
Error: Process completed with exit code 65.
I tried hard coding the scheme and tested the xcodebuild. Still getting the same error.
I am trying to emulate our flutter app on Mac and I Get this error:
ProcessException: Process timed out:
Command:
/usr/bin/env xcrun xcodebuild -configuration Debug -quiet -workspace Runner.xcworkspace -scheme Runner BUILD_DIR=/Users/samcromer/Desktop/LightBridge-2/build/ios -sdk iphonesimulator -arch x86_64 FLUTTER_SUPPRESS_ANALYTICS=true COMPILER_INDEX_STORE_ENABLE=NO -showBuildSettings
Is there a way to fix this? I am a windows dev so this doesn't make a lot of sense to me.
I got the error on CI:
Error: Command failed: cd ./ios && RCT_NO_LAUNCH_PACKAGER=true xcodebuild build build-for-testing
-scheme "MyReactModule-Unit-MyReactModuleTests"
-workspace MyReactModule.xcworkspace
-sdk iphonesimulator
-configuration Debug
-derivedDataPath ./DerivedData/MyReactModule
-quiet
-UseModernBuildSystem=NO ONLY_ACTIVE_ARCH=YES
Additional logs:
xcodebuild: error: Failed to build workspace MyReactModule with scheme MyReactModule-Unit-MyReactModuleTests.
Reason: The scheme 'MyReactModule-Unit-MyReactModuleTests (MyReactModule Workspace)' is not configured for Running.
How to fix it?
I have opened project after 5 months.
Setup it in new macbook. Cloned porject.
Now when i go to set dependencies using Carthage. Cartfile is same is before and code was working 5 months ago.
now i am able to get all my dependencies. But EZLoadingActivity giving error on carthage update.
Pasting terminal console here:
*** Building scheme "EZLoadingActivity_iOS" in EZLoadingActivity.xcodeproj
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -project /Users/mac/Git/project-ios/Carthage/Checkouts/EZLoadingActivity/EZLoadingActivity.xcodeproj -scheme EZLoadingActivity_iOS -configuration Release -derivedDataPath /Users/mac/Library/Caches/org.carthage.CarthageKit/DerivedData/10.3_10G8/EZLoadingActivity/2.1 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/gb/tm7hcwvs05s3zkqdp1lndwgm0000gn/T/EZLoadingActivity SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/mac/Git/project-ios/Carthage/Checkouts/EZLoadingActivity)
This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/gb/tm7hcwvs05s3zkqdp1lndwgm0000gn/T/carthage-xcodebuild.hbqgmp.log
Also pasting logs as mentioned here /var/folders/gb/tm7hcwvs05s3zkqdp1lndwgm0000gn/T/carthage-xcodebuild.hbqgmp.log
/usr/bin/xcrun xcodebuild -project /Users/mac/Git/arteciate-ios/Carthage/Checkouts/EZLoadingActivity/EZLoadingActivity.xcodeproj -scheme EZLoadingActivity_iOS -configuration Release -derivedDataPath /Users/mac/Library/Caches/org.carthage.CarthageKit/DerivedData/10.3_10G8/EZLoadingActivity/2.1 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/gb/tm7hcwvs05s3zkqdp1lndwgm0000gn/T/EZLoadingActivity SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/mac/Git/arteciate-ios/Carthage/Checkouts/EZLoadingActivity)User defaults from command line:
IDEArchivePathOverride = /var/folders/gb/tm7hcwvs05s3zkqdp1lndwgm0000gn/T/EZLoadingActivity
IDEDerivedDataPathOverride = /Users/mac/Library/Caches/org.carthage.CarthageKit/DerivedData/10.3_10G8/EZLoadingActivity/2.1
Build settings from command line:
CARTHAGE = YES
CLANG_ENABLE_CODE_COVERAGE = NO
CODE_SIGN_IDENTITY =
CODE_SIGNING_REQUIRED = NO
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = NO
ONLY_ACTIVE_ARCH = NO
SDKROOT = iphoneos12.4
SKIP_INSTALL = YES
STRIP_INSTALLED_PRODUCT = NO
note: Using new build system
note: Planning build
note: Constructing build description
Build system information
error: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'EZLoadingActivity_iOS')
Build system information
error: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'EZLoadingActivity_iOS')
Please guide me how to resolve it so i can use EZLoadingActivity libraray in my project and can able to run my project.
i have many projects embedded in single main project, i am trying to automate the build process. but issue is that i cant make build using command line.
Clean project
xcodebuild clean -project TestingCommandLine.xcodeproj -configuration Debug -alltargets
Make Archive
xcodebuild archive -project TestingCommandLine.xcodeproj -scheme "TestingCommandLine" -configuration Debug -archivePath myApp.xcarchive
Build IPA
xcodebuild -exportArchive -archivePath myApp.xcarchive -exportPath myApp.ipa -exportOptionsPlist exportOptions.plist
the same process works with simple project which does not have any dependencies.
The following build commands failed:
Ld watchos/Watch\ Extension.appex/iskanWatch\ Extension normal armv7k
(1 failure)
This is the actual failure error comes when i try to build.
Any help will be appreciated.