ytakzk / Fusuma

Instagram-like photo browser and a camera feature with a few line of code in Swift.
MIT License
2.46k stars 340 forks source link

Scheme Fusuma is not currently configured for the build action #70

Closed rodrigoruiz closed 8 years ago

rodrigoruiz commented 8 years ago

Hi, I've just tried to install Fusuma and I get the following error:

A shell task (/usr/bin/xcrun xcodebuild -workspace /Carthage/Checkouts/Fusuma/Fusuma.xcworkspace -scheme Fusuma -configuration Release CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES -showBuildSettings) failed with exit code 66: xcodebuild: error: Scheme Fusuma is not currently configured for the build action.

Researching on Carthage issues (https://github.com/Carthage/Carthage/issues/896), I've found that it's an issue with the library. I also tried to install version 0.4.0 and it works, so it's probably an issue with the latest version (0.5.1).

What should I do?

jerry-sjtu commented 8 years ago

I got the same error.

DerkBusser commented 8 years ago

+1

shrugs commented 8 years ago

@rodrigoruiz @jerry-sjtu @DerkBusser Seems like the schemes are just misconfigured a bit. To fix, do the following.

  1. open Carthage/Checkouts/Fusuma/Fusuma.xcworkspace
  2. Product > Schemes > Manage Schemes
  3. Disable Autocreate schemes (not sure if necessary, I'm just documenting all the steps I took)
  4. Delete the first two schemes (Fusuma and FusumaExample) image
  5. Share the third scheme, named Fusuma. Make sure that the build target isn't missing. If it is, add it back. image
  6. carthage build --platform iOS

And that should fix it. At least, it did for me, so hopefully it helps y'all.

shrugs commented 8 years ago

Alternatively, I have a branch that fixes this issue. Use

github "Shrugs/Fusuma" ~> 0.5.2

I do not commit to keeping this branch up to date (I'm planning on modifying it to be usable within a UINavigationController), so please only use this as a stop gap solution.

ytakzk commented 8 years ago

fixed in #76.