nathantannar4 / InputBarAccessoryView

A simple and easily customizable InputAccessoryView for making powerful input bars with autocomplete and attachments
MIT License
1.18k stars 232 forks source link

Issue with Carthage installation and 4.3.1 #80

Closed msencenb closed 4 years ago

msencenb commented 5 years ago

Hoping to install this sweet looking View into my iOS app with Carthage. Running iOS 12 SDK, Mojave, Xcode 10.2.1, Swift 5. Added to my cartfile:

github "nathantannar4/InputBarAccessoryView"

then ran:

carthage update --platform iOS

This produces this output:

Build Failed
    Task failed with exit code 65:
    /usr/bin/xcrun xcodebuild -workspace /Users/msencenb/Development/wrestling-ios/WrestlingIQ/Carthage/Checkouts/InputBarAccessoryView/InputBarAccessoryView.xcworkspace -scheme InputBarAccessoryView -configuration Release -derivedDataPath /Users/msencenb/Library/Caches/org.carthage.CarthageKit/DerivedData/10.2.1_10E1001/InputBarAccessoryView/4.3.1 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/yd/kfjb5s4d1vv57fv5lhtm9lbh0000gn/T/InputBarAccessoryView SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/msencenb/Development/wrestling-ios/WrestlingIQ/Carthage/Checkouts/InputBarAccessoryView)

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/yd/kfjb5s4d1vv57fv5lhtm9lbh0000gn/T/carthage-xcodebuild.k8zH2D.log

And that log file shows this right before the error:

   cd /Users/msencenb/Development/wrestling-ios/WrestlingIQ/Carthage/Checkouts/InputBarAccessoryView
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/msencenb/Library/Caches/org.carthage.CarthageKit/DerivedData/10.2.1_10E1001/InputBarAccessoryView/4.3.1/Build/Intermediates.noindex/ArchiveIntermediates/InputBarAccessoryView/IntermediateBuildFilesPath/InputBarAccessoryView.build/Release-iphoneos/InputBarAccessoryView.build/module.modulemap /Users/msencenb/Library/Caches/org.carthage.CarthageKit/DerivedData/10.2.1_10E1001/InputBarAccessoryView/4.3.1/Build/Intermediates.noindex/ArchiveIntermediates/InputBarAccessoryView/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/InputBarAccessoryView.framework/Modules

** ARCHIVE FAILED **

The following build commands failed:
    ProcessInfoPlistFile /Users/msencenb/Library/Caches/org.carthage.CarthageKit/DerivedData/10.2.1_10E1001/InputBarAccessoryView/4.3.1/Build/Intermediates.noindex/ArchiveIntermediates/InputBarAccessoryView/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/InputBarAccessoryView.framework/Info.plist /Users/msencenb/Development/wrestling-ios/WrestlingIQ/Carthage/Checkouts/InputBarAccessoryView/InputBarAccessoryView/Supporting\ Files/Info.plist
(1 failure)

Will trying to figure it out as well!

msencenb commented 5 years ago

Ok upon inspection of my local checkout via Carthage it's failing because the path:

Carthage/Checkouts/InputBarAccessoryView/InputBarAccessoryView

No longer exists. Looks like this commit https://github.com/nathantannar4/InputBarAccessoryView/commit/91ddfd339d91218f8f1077a601d2266ced28d935 changed up the build script, which is likely causing the breakage. 'RxInputBarAccessoryView' exists at that path, but no normal 'InputBarAccessoryView' on 4.3.1.

Recouse commented 5 years ago

Will it be fixed?

nathantannar4 commented 5 years ago

Would take a PR to fix this. 4.3.1 didn’t add any new features it just fixed RxSwift support. But that’s only available with CocoaPods.

Sent with GitHawk

Kaspik commented 4 years ago

Seems to be resolved. Closing!