Open RomaSafin opened 6 years ago
@RomaSafin Hi. Thanks for giving your build log.
There was no error log on my environment when I built SwiftyXMLParser for macOS app in Mojave. Could you tell me which version of Xcode your Carthage use? You can check it with the following command.
xcode-select -p
You can change it with the following command.
sudo xcode-select -s /Your/Xcode10/Path/Xcode.app/Contents/Developer
@kazuhiro4949 Hi. Thanks for advise.
I've checked it and i was using Xcode 10.
One more thing. I've found that when i'm trying to 'carthage update' trough terminal in generated log files from time to time appears randomized settings SDKROOT = appletvos12.0 Wich is not expected due i'm trying to build it for iphoneos12.0 Cannot see where this randomization come from. carthage-xcodebuild.Mpv1r0.log
Also done git clone of SwiftyXMLParser repo and tried to specify local repo in cart file. Still getting the same error: The following build commands failed: CompileC
If you want a framework only for iOS, you need to add 'platform' option.
carthage update SwiftyXMLParser --platform iOS
SwiftyXMLParser is supporting ios, macos and tvos. Carthage build framework for each platform unless you add the option.
OS version: MAC OS Mojave 10.14 Carthage version: 0.31.0 Xcode version: 10.0
While trying to install library with Carthage having issue:
Fetching SwiftyXMLParser Checking out SwiftyXMLParser at "4.2.0" xcodebuild output can be found in /var/folders/kw/c7dppsfx5l7cvy75jhftwllh0000gn/T/carthage-xcodebuild.AbPXKF.log Skipped downloading SwiftyXMLParser.framework binary due to the error: "API rate limit exceeded for ..*.*. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)" Building scheme "SwiftyXMLParser" in SwiftyXMLParser.xcodeproj Build Failed Task failed with exit code 65: /usr/bin/xcrun xcodebuild -project /Users/romansafin/Documents/GetThisBuild/GetThisBuild/Carthage/Checkouts/SwiftyXMLParser/SwiftyXMLParser.xcodeproj -scheme SwiftyXMLParser -configuration Release -derivedDataPath /Users/romansafin/Library/Caches/org.carthage.CarthageKit/DerivedData/10.0_10A255/SwiftyXMLParser/4.2.0 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/kw/c7dppsfx5l7cvy75jhftwllh0000gn/T/SwiftyXMLParser SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/romansafin/Documents/GetThisBuild/GetThisBuild/Carthage/Checkouts/SwiftyXMLParser)
This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/kw/c7dppsfx5l7cvy75jhftwllh0000gn/T/carthage-xcodebuild.AbPXKF.log
Xcodebuild log attached carthage-xcodebuild.AbPXKF.log