Re: Train Wreck using xcodebuild in Xcode 6.0.1
Re: Train Wreck using xcodebuild in Xcode 6.0.1
- Subject: Re: Train Wreck using xcodebuild in Xcode 6.0.1
- From: Fritz Anderson <email@hidden>
- Date: Thu, 25 Sep 2014 15:45:52 -0500
On 25 Sep 2014, at 3:24 PM, Jerry Krinock <email@hidden> wrote:
> Earlier today, I attempted to build and ship a non-app-store Mac app for the first time using the xcodebulid in Xcode 6.0.1. Result: The products' Contents contained only 3 items: MacOS/, Resouces/, and Helpers/. It was missing Frameworks/, Info.plist and Pkginfo.
>
> I have no idea why these three items are missing. The "Copy Frameworks" Build Phase is still present, still has a destination of "Frameworks", and still contains 3 frameworks. The Build Settings "Info.plist File" still indicates the proper source file (and "Preprocess Info.plist File" is still on). As far as Pkginfo, I can’t imagine there would be any use case or setting to exclude that from an app.
>
> I retried with xcodebuild in Xcode 5.1.1 and this target built normally.
>
> I’ll try to reproduce and file a bug within the next few days. Any ideas what to look for would be appreciated. And I hope y’all’s build scripts do a diff with your previous build, in case you get less obvious omissions.
Huh. This sounds similar to something I saw yesterday with Xcode Server (Mavericks latest, 6-compatible, Xcode 6.0.1 installed). I didn’t have time to prosecute it. It complained about a missing Info.plist. The integration log in the project window contained nothing (the failure email had a usable error message), so I didn’t focus on xcodebuild. Having it happen locally is illuminating.
What I’d have done next would be to kill the build products directory and run xcodebuild again. See if the Info.plist and copy-files phases get executed. Might not point to a workaround, but it would make for a better bug report.
It’s another “how could they miss that?” thing, but everybody misses “that.” Obviously they need a reproducible case.
— F
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden