Skip to content
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 : The file “Info.plist” couldn’t be opened because there is no such file. #49

Open
sadiq81 opened this issue Feb 23, 2018 · 3 comments

Comments

@sadiq81
Copy link

sadiq81 commented Feb 23, 2018

I'm having trouble building with Carthage

error: could not read data from '/Users/.../Documents/.../Carthage/Checkouts/Moya-ModelMapper/Info.plist': The file “Info.plist” couldn’t be opened because there is no such file.

Cartfile

github "hackiftekhar/IQKeyboardManager" "v5.0.6"
github "SnapKit/SnapKit" ~> 4.0.0

github "onevcat/Kingfisher" ~> 4.2.0
github "jrendel/SwiftKeychainWrapper" ~> 3.0

github "realm/realm-cocoa" ~> 3.0.1

github "RxSwiftCommunity/RxSwiftExt"
github "RxSwiftCommunity/RxRealm"

github "sunshinejr/Moya-ModelMapper" "7.0.0"

github "melvitax/DateHelper"

@sadiq81
Copy link
Author

sadiq81 commented Feb 23, 2018

Maybe this could be something similar

groue/GRMustache.swift#20

@sunshinejr
Copy link
Owner

Hey @sadiq81, thanks for the issue.

Hmm, this is strange as we have all paths to Info.plist in Supporting Files. There was an unnecessary xcodeproj in the repo that I removed - can you remove your cache and try to install Moya-ModelMapper version 7.0.1?

If it doesn't work, please give me your details on how do you install this package (Carthage line in Cartfile, Cartfile.resolved etc.)

@sadiq81
Copy link
Author

sadiq81 commented Feb 23, 2018

Same issue

Tommys-MacBook-Pro:parkcare-ios tommysadiqhinrichsen$ carthage bootstrap Moya-ModelMapper --platform iOS --no-use-binaries --new-resolver
*** No Cartfile.resolved found, updating dependencies
*** Cloning Moya-ModelMapper
*** Cloning IQKeyboardManager
*** Cloning RxRealm
*** Cloning DateHelper
*** Cloning RxSwiftExt
*** Cloning SnapKit
*** Cloning Kingfisher
*** Cloning SwiftKeychainWrapper
*** Cloning Moya
*** Cloning mapper
*** Cloning RxSwift
*** Cloning realm-cocoa
*** Cloning Result
*** Cloning Alamofire
*** Cloning ReactiveSwift
*** Checking out IQKeyboardManager at "v5.0.6"
*** Checking out SwiftKeychainWrapper at "3.0.1"
*** Checking out Kingfisher at "4.6.2"
*** Checking out mapper at "2410a32692d93dd19916765b910ec38fc52581f1"
*** Checking out ReactiveSwift at "3.1.0"
*** Checking out RxRealm at "0.7.5"
*** Checking out realm-cocoa at "v3.1.1"
*** Checking out Moya-ModelMapper at "74e5421b46db3902c2237fd30cd8b56549f840b9"
*** Checking out RxSwift at "4.1.2"
*** Checking out RxSwiftExt at "3.2.0"
*** Checking out Moya at "11.0.0"
*** Checking out Alamofire at "4.6.0"
*** Checking out SnapKit at "4.0.0"
*** Checking out DateHelper at "4.2.7"
*** Checking out Result at "3.2.4"
*** xcodebuild output can be found in /var/folders/kb/n2kscnxs3cx05v0_c18r_nym0000gn/T/carthage-xcodebuild.7QZ7GN.log
*** Building scheme "Alamofire iOS" in Alamofire.xcworkspace
*** Building scheme "Mapper" in Mapper.xcodeproj
*** Building scheme "Result-iOS" in Result.xcodeproj
*** Building scheme "ReactiveSwift-iOS" in ReactiveSwift.xcworkspace
*** Building scheme "RxBlocking-iOS" in Rx.xcworkspace
*** Building scheme "RxCocoa-iOS" in Rx.xcworkspace
*** Building scheme "RxSwift-iOS" in Rx.xcworkspace
*** Building scheme "RxTests-iOS" in Rx.xcworkspace
*** Building scheme "Moya" in Moya.xcodeproj
*** Building scheme "ReactiveMoya" in Moya.xcodeproj
*** Building scheme "RxMoya" in Moya.xcodeproj
*** Building scheme "Moya-ModelMapper" in Demo.xcworkspace
*** Building scheme "RxMoya-ModelMapper" in Moya-ModelMapper.xcodeproj
*** Building scheme "Moya-ModelMapper" in Demo.xcworkspace
*** Building scheme "Moya-ModelMapper" in Demo.xcworkspace
*** Building scheme "RxMoya-ModelMapper" in Moya.xcodeproj
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -project /Users/tommysadiqhinrichsen/parkcare-ios/Carthage/Checkouts/Moya-ModelMapper/Moya.xcodeproj -scheme RxMoya-ModelMapper -configuration Release -derivedDataPath /Users/tommysadiqhinrichsen/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/Moya-ModelMapper/74e5421b46db3902c2237fd30cd8b56549f840b9 -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/kb/n2kscnxs3cx05v0_c18r_nym0000gn/T/Moya-ModelMapper SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO (launched in /Users/tommysadiqhinrichsen/parkcare-ios/Carthage/Checkouts/Moya-ModelMapper)

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/kb/n2kscnxs3cx05v0_c18r_nym0000gn/T/carthage-xcodebuild.7QZ7GN.log

Cartfile
#carthage update --platform iOS --no-use-binaries --new-resolver
github "hackiftekhar/IQKeyboardManager" "v5.0.6"
github "SnapKit/SnapKit" ~> 4.0.0

github "onevcat/Kingfisher" ~> 4.2.0
github "jrendel/SwiftKeychainWrapper" ~> 3.0

github "RxSwiftCommunity/RxSwiftExt"

github "RxSwiftCommunity/RxRealm"

github "sunshinejr/Moya-ModelMapper" "74e5421b46db3902c2237fd30cd8b56549f840b9"

github "melvitax/DateHelper"

Cartfile.resolved
github "Alamofire/Alamofire" "4.6.0"
github "Moya/Moya" "11.0.0"
github "ReactiveCocoa/ReactiveSwift" "3.1.0"
github "ReactiveX/RxSwift" "4.1.2"
github "RxSwiftCommunity/RxRealm" "0.7.5"
github "RxSwiftCommunity/RxSwiftExt" "3.2.0"
github "SnapKit/SnapKit" "4.0.0"
github "antitypical/Result" "3.2.4"
github "hackiftekhar/IQKeyboardManager" "v5.0.6"
github "jrendel/SwiftKeychainWrapper" "3.0.1"
github "lyft/mapper" "2410a32692d93dd19916765b910ec38fc52581f1"
github "melvitax/DateHelper" "4.2.7"
github "onevcat/Kingfisher" "4.6.2"
github "realm/realm-cocoa" "v3.1.1"
github "sunshinejr/Moya-ModelMapper" "74e5421b46db3902c2237fd30cd8b56549f840b9"

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

No branches or pull requests

2 participants