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

Fix carthage installation failed #4

Merged
merged 1 commit into from
Aug 17, 2016

Conversation

ktakayama
Copy link
Contributor

Installing the iOS framework with carthage failed with this message:

$ carthage bootstrap --platform iOS
*** No Cartfile.resolved found, updating dependencies
*** Fetching IBLocalizable
*** Checking out IBLocalizable at "1.0.1"
*** xcodebuild output can be found in /var/folders/sr/_lvd7lts2m99bn90fmy360sr0000gn/T/carthage-xcodebuild.4HNLlR.log
*** Building scheme "IBLocalizable" in IBLocalizable.xcworkspace
** BUILD FAILED **


The following build commands failed:
        PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock /Users/takayama/Library/Developer/Xcode/DerivedData/IBLocalizable-czsnyzffhhbnmjgppylxtebmbdai/Build/Intermediates/IBLocalizable.build/Release-iphoneos/IBLocalizable.build/Script-1189DD71CB36FC0E0D9C1A2A.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 /private/tmp/iblocalizable/Carthage/Checkouts/IBLocalizable/IBLocalizable.xcworkspace -scheme IBLocalizable -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 [CP]\ Check\ Pods\ Manifest.lock /Users/takayama/Library/Developer/Xcode/DerivedData/IBLocalizable-czsnyzffhhbnmjgppylxtebmbdai/Build/Intermediates/IBLocalizable.build/Release-iphoneos/IBLocalizable.build/Script-1189DD71CB36FC0E0D9C1A2A.sh
(1 failure)

@codecov-io
Copy link

codecov-io commented Aug 17, 2016

Current coverage is 92.85% (diff: 100%)

Merging #4 into master will not change coverage

@@             master         #4   diff @@
==========================================
  Files            16         16          
  Lines           196        196          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits            182        182          
  Misses           14         14          
  Partials          0          0          

Powered by Codecov. Last update 2d42ec0...7fdddb5

@ktakayama
Copy link
Contributor Author

ktakayama commented Aug 17, 2016

I added following code to my project manually because @IBInspectable did not support use with cocoa framework (Carthage/Carthage#335) .

import IBLocalizable

extension UIView {
    @IBInspectable var l10nString: String {
        get { return self.localizableString }
        set { self.localizableString = newValue }
    }
}

extension UIBarItem {
    @IBInspectable var l10nString: String {
        get { return self.localizableString }
        set { self.localizableString = newValue }
    }
}

extension UINavigationItem {
    @IBInspectable var l10nString: String {
        get { return self.localizableString }
        set { self.localizableString = newValue }
    }
}

@PiXeL16 PiXeL16 merged commit 607f924 into PiXeL16:master Aug 17, 2016
@ktakayama ktakayama deleted the fix-carthage-installation branch April 20, 2018 09:59
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

Successfully merging this pull request may close these issues.

None yet

3 participants