Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Problems building w/ Carthage and Xcode 12.2 #200

Open
julestburt opened this issue Jan 6, 2021 · 9 comments
Open

Problems building w/ Carthage and Xcode 12.2 #200

julestburt opened this issue Jan 6, 2021 · 9 comments

Comments

@julestburt
Copy link

julestburt commented Jan 6, 2021

I seem unable to build this project - getting the following issue in build log:

Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -workspace /Users/myaccount/Desktop/Ugz/ugz-ios/Carthage/Checkouts/EasyTipView/EasyTipView.xcworkspace -scheme EasyTipView -configuration Release -derivedDataPath /Users/myaccount/Library/Caches/org.carthage.CarthageKit/DerivedData/12.2_12B45b/EasyTipView/2.1.0 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/dq/6g_bwg_s7j98jvvst27frbn00000gp/T/EasyTipView SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/myaccount/Desktop/Ugz/ugz-ios/Carthage/Checkouts/EasyTipView)

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/dq/6g_bwg_s7j98jvvst27frbn00000gp/T/carthage-xcodebuild.2Kx41U.log

In the build log:
The following build commands failed:
ProcessInfoPlistFile /Users/myaccount/Library/Caches/org.carthage.CarthageKit/DerivedData/12.2_12B45b/EasyTipView/2.1.0/Build/Intermediates.noindex/ArchiveIntermediates/EasyTipView/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/EasyTipView.framework/Info.plist /Users/myaccount/Desktop/Ugz/ugz-ios/Carthage/Checkouts/EasyTipView/Source/Info.plist

Any thoughts/help appreciated.

@RustyKnight
Copy link

The plist reference is broken.

In the project, Xcode is pointing to a non-existent file
The building settings are going to Source/Info.plist instead of Sources/EasyTipView/Info.plist and you probably don't need to the "copy file" action in the build settings

@mikey-
Copy link
Contributor

mikey- commented Jan 11, 2021

I've recently updated the build settings, so that they point to the correct file path: Sources/EasyTipView/Info.plist and submitted a PR

Update: I've also tagged my changes - with 2.2.0; on the master branch of my fork. So if you need to get this going you can use that (^:

@mikey-
Copy link
Contributor

mikey- commented Apr 11, 2021

Hi @julestburt, the PR I mentioned above was merged; just wondering if you are still experiencing the same issue?

@mackehan
Copy link

mackehan commented May 8, 2021

I'm also facing this issue. I'm using Carthage to build (XCFrameworks) and the latest version I'm able to get with Carthage is 2.1.0. Is there anything I can do to make this work?

@julestburt
Copy link
Author

apologies about my last comment - I don't think it was correct. I went to check about the current status of under Xcode 12.5 with Carthage but I discovered I'd solved it by switching EasyTipView to the Podfile...hope this helps instead? Using:
pod 'EasyTipView', '~> 2.1'

@mackehan
Copy link

mackehan commented May 8, 2021

Adding the following to my cart file works fine:

github "mikey-/EasyTipView" "d0d0c46"

Hopefully this fix made by mikey will be included in the master branch soon?

@mikey-
Copy link
Contributor

mikey- commented May 10, 2021

@mackehan My PR was merged into master :0
see https://github.com/teodorpatras/EasyTipView and #201 for more details.
If it's still not working, I can try to help out with looking at the issue some more :)

@mackehan
Copy link

@mikey- Why is db6c135 marked with a red X but 381ca17 with a green checkmark? I'm quite new to GitHub, just asking by curiosity.

Anyway, I replaced:
github "mikey-/EasyTipView" "d0d0c46"

with:
github "teodorpatras/EasyTipView" "db6c135"

and then ran:
carthage update EasyTipView --use-xcframeworks --platform ios

It works fine!

@mikey-
Copy link
Contributor

mikey- commented May 11, 2021

@mackehan, Welcome 2 GitHub and thank you for asking :) Happy to help where I can.

Why is the ❌ placed next to db6c135?

This is to show that the build failed.

The build failed on my commit for reasons discussed on the PR, but basically: The travis build runs xcodebuild and used a destination for the "EasyTipView" scheme which is not in the list of available destinations, so the build failed.

Why is the ✅ placed next to 381ca17?

This is to show that the build passed!

As 381ca17 contains a change to the travis build - which makes it use a destination for the "EasyTipView" scheme which is in the list of available destinations, the build succeeded.

Also, happy it worked for you.

<3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants