Build stopped when workspace contents change & Find Implicit Dependencies is on

Originator:michele.titolo
Number:rdar://14221932 Date Originated:20-Jun-2013 03:09 PM
Status:Open Resolved:
Product:Developer Tools Product Version:5.0 (5A11314m)
Classification:Serious Bug Reproducible:Always
 
Summary:

I use CocoaPods in my projects. Part of my current CI setup is running the `pod install` command before each build, so that new dependencies are loaded. It's possible to do this using pre and post build actions, but if the 'Find Implicit Dependencies' check box is selected, the build gets canceled.

Steps to Reproduce:

1. Install CocoaPods by running `[sudo] gem install cocoapods`
2. Unzip the attached project, then open the folder for the it in terminal and run `pod install`
3. Open the attached project in Xcode, which is already using CocoaPods.
4. Build the Bots target.
5. Edit the Podfile, located in the Pods.xcodeproj and add `pod 'HockeySDK'`
6. Try to build. It will be Canceled with No Issues.
7. Edit the Bots scheme. Under the Build section, uncheck 'Find Implicit Dependencies'.
8. Build again. This time it will succeed.

Expected Results:

In a pre-build action the contents of a workspace should be able to change without the build being canceled, while Xcode is able to Find Implicit Dependencies.

Actual Results:

The build is canceled if the contents of the workspace change and Find Implicit Dependencies is enabled.

Regression:

No, but this hasn't been necessary before. Until there are pre/post build actions for Bots this is the only way to consistently make sure all of the dependencies have been loaded.

Notes:
A enhancement to OS X Server has been filed under rdar://14221477 to add pre and post build steps to Bots.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!