OAuthSwift / OAuthSwiftAlamofire

Utility method to sign Alamofire request
MIT License
104 stars 38 forks source link

Building via Carthage fails #2

Closed patricks closed 7 years ago

patricks commented 8 years ago

If I try to build this project via carthage, I get the following error:

** BUILD FAILED **

The following build commands failed:
    PhaseScriptExecution Check\ Pods\ Manifest.lock /Users/foobar/Library/Developer/Xcode/DerivedData/OAuthSwift-Alamofire-cigghtqwmzhspicxohffrdiuuurg/Build/Intermediates/OAuthSwift-Alamofire.build/Release-iphoneos/OAuthSwift-Alamofire.build/Script-02AF90F7E1483DE793EE256B.sh
(1 failure)
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
A shell task (/usr/bin/xcrun xcodebuild -workspace /Users/foobar/Developer/tmp/TestProject/Carthage/Checkouts/OAuthSwift-Alamofire/OAuthSwift-Alamofire.xcworkspace -scheme OAuthSwift-Alamofire -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
** BUILD FAILED **

The following build commands failed:
    PhaseScriptExecution Check\ Pods\ Manifest.lock /Users/foobar/Library/Developer/Xcode/DerivedData/OAuthSwift-Alamofire-cigghtqwmzhspicxohffrdiuuurg/Build/Intermediates/OAuthSwift-Alamofire.build/Release-iphoneos/OAuthSwift-Alamofire.build/Script-02AF90F7E1483DE793EE256B.sh
(1 failure)

It looks like the cocoapods dependencies need to be removed in the build settings.

phimage commented 8 years ago

thx, I will try to fix it when I have access to a mac os environment

psparago commented 7 years ago

I've run into this as well. Is there a workaround? Should I checkout a particular branch/tag? My Carthage dependency looks like this:

github "OAuthSwift/OAuthSwift"

phimage commented 7 years ago

I will make this framework compatible with Carthage after releasing OAuthSwift, ie make a 1.0.0 tag. This week I think

phimage commented 7 years ago

carthage compatible :warning: project renamed to OAuthSwiftAlamofire (without the -)