Skip to content
This repository has been archived by the owner on Sep 4, 2018. It is now read-only.

Handling of CocoaPods and workspaces? #140

Closed
angerman opened this issue Mar 8, 2014 · 2 comments
Closed

Handling of CocoaPods and workspaces? #140

angerman opened this issue Mar 8, 2014 · 2 comments

Comments

@angerman
Copy link

angerman commented Mar 8, 2014

Alcatraz lists the KFCocoaPodsPlugin, but cannot install it. It looks like only the xcodeproj is build. But if the plugin depends on a xcworkspace, that workspace is not build.

The other thing is that KFCocoaPodsPlugin requires a pod install, which altactaz does not seem to handle right now?

When trying to install KFCocoaPodsPlugin through Alcatraz it fails with:

3/8/14 1:10:02.079 PM Xcode[50693]: Xcodebuild output: === BUILD TARGET KFCocoaPodsPlugin OF PROJECT KFCocoaPodsPlugin WITH THE DEFAULT CONFIGURATION (Release) ===

Check dependencies
The file “Pods.xcconfig” couldn’t be opened because there is no such file. (/Users/angerman/Library/Application Support/Alcatraz/Plug-ins/KFCocoaPodsPlugin/Pods/Pods.xcconfig)

Create product structure
/bin/mkdir -p /Users/angerman/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/KFCocoaPodsPlugin.xcplugin/Contents
/bin/mkdir -p /Users/angerman/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/KFCocoaPodsPlugin.xcplugin/Contents/MacOS
/bin/mkdir -p /Users/angerman/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/KFCocoaPodsPlugin.xcplugin/Contents/Resources

ProcessInfoPlistFile /Users/angerman/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/KFCocoaPodsPlugin.xcplugin/Contents/Info.plist KFCocoaPodsPlugin/KFCocoaPodsPlugin-Info.plist
    cd "/Users/angerman/Library/Application Support/Alcatraz/Plug-ins/KFCocoaPodsPlugin"
    builtin-infoPlistUtility /Users/angerman/Library/Application\ Support/Alcatraz/Plug-ins/KFCocoaPodsPlugin/KFCocoaPodsPlugin/KFCocoaPodsPlugin-Info.plist -expandbuildsettings -platform macosx -o /Users/angerman/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/KFCocoaPodsPlugin.xcplugin/Contents/Info.plist

PhaseScriptExecution Check\ Pods\ Manifest.lock build/KFCocoaPodsPlugin.build/Release/KFCocoaPodsPlugin.build/Script-C90012E6A43940B78D0347BA.sh
    cd "/Users/angerman/Library/Application Support/Alcatraz/Plug-ins/KFCocoaPodsPlugin"
    /bin/sh -c \"/Users/angerman/Library/Application\ Support/Alcatraz/Plug-ins/KFCocoaPodsPlugin/build/KFCocoaPodsPlugin.build/Release/KFCocoaPodsPlugin.build/Script-C90012E6A43940B78D0347BA.sh\"
diff: /../Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

** BUILD FAILED **


The following build commands failed:
    PhaseScriptExecution Check\ Pods\ Manifest.lock build/KFCocoaPodsPlugin.build/Release/KFCocoaPodsPlugin.build/Script-C90012E6A43940B78D0347BA.sh
(1 failure)
@angerman
Copy link
Author

angerman commented Mar 8, 2014

Also see this issue: ricobeck/KFCocoaPodsPlugin#26

@jurre
Copy link
Collaborator

jurre commented Jul 2, 2014

Hey, we've talked about this in a few other issues as well (some in the packages repo), and we think the best way to handle this is to add support for binary plugins. Xcode supports this but Alcatraz will need some work to handle it. I'm closing this to clean up our issues a bit but I'd love to hear your thoughts on it :)

@jurre jurre closed this as completed Jul 2, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants