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

[Defect] Pods-resources.sh: No such file or directory #1286

Closed
esttorhe opened this issue Aug 13, 2013 · 2 comments
Closed

[Defect] Pods-resources.sh: No such file or directory #1286

esttorhe opened this issue Aug 13, 2013 · 2 comments

Comments

@esttorhe
Copy link
Member

There is an issue with the Pods-resources.sh file when specifying targets.

CocoaPods 0.23.0

Podfile:

platform :ios, '5.0'

xcodeproj 'ETFrameworkDemo'

target :ETFrameworkTests do
    pod 'OCMock', '~> 2.2'
    pod 'Expecta', '~> 0.2.2'
end

target :ETFrameworkDemo do
    pod 'AFNetworking', '~> 1.3.1'
end

Expected Behaviour
Generated workspace compiles without issues

Current Behaviour
Xcode project tries to run Pods-resources.sh which doesn't exists since this Podfile points to 2 specific targets.

The resources scripts available are:

  • Pods-ETFrameworkDemo-resources.sh
  • Pods-ETFrameworkTests-resources.sh

I can't make the project work anymore due to this.
I'll "revert" to working without 2 specific targets although I do believe this is an issue that should be tackled.

@alloy
Copy link
Member

alloy commented Aug 13, 2013

Did you have one target first? If so, we do not (yet) unintegrate that, so this script is probably still being called from your build phases. You do not need to revert to one target, though, just remove the faulty build phase.

@esttorhe
Copy link
Member Author

You are right.
I was cleaning the Pods directory, the Podfile.lock and the workspace but totally forgot about cleaning the xcodeproj.

Thanks for the quick response; I'm closing this now.

jzapater pushed a commit to jzapater/CocoaPods that referenced this issue Sep 17, 2013
Updated SORelativeDateTransformer spec to 1.1.5
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