Posted on 02-16-2016 07:17 PM
Hi all,
Due to Apple's certs expiring, i've been having issues packaging the new drag and drop method for XCode. Any thoughts? Just composer I guess?
Solved! Go to Solution.
Posted on 02-16-2016 10:19 PM
Found this link from @rtrouton. Looks like if i download it from the MAS it will download in .pkg format. I have the post-install scripts already. Thanks for the replies and help! Much appreciated!
https://derflounder.wordpress.com/2016/02/15/certificate-expiration-and-downloaded-mac-app-store-installers/
Posted on 02-16-2016 09:59 PM
Hi,
You might need to get it from the developers website https://developer.apple.com/downloads/
Cheers!
Posted on 02-16-2016 10:07 PM
That's where I downloaded it from. But it's a drag and drop app now. No longer a pkg. It also seems to install developer tools as well when first launched.
Posted on 02-16-2016 10:17 PM
oh, ok.
You need to package it using Composer to just copy the app to /Applications.
Then you need to run on a script (set on a policy to after)
/usr/sbin/DevToolsSecurity -enable
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -license accept
/usr/sbin/installer -pkg /Applications/Xcode.app/Contents/Resources/Packages/MobileDevice.pkg -target /
/usr/sbin/installer -pkg /Applications/Xcode.app/Contents/Resources/Packages/MobileDeviceDevelopment.pkg -target /
Cheers,
m
Posted on 02-16-2016 10:19 PM
Found this link from @rtrouton. Looks like if i download it from the MAS it will download in .pkg format. I have the post-install scripts already. Thanks for the replies and help! Much appreciated!
https://derflounder.wordpress.com/2016/02/15/certificate-expiration-and-downloaded-mac-app-store-installers/
Posted on 02-18-2016 05:12 PM
I downloaded the xCode.app that goes in the Applications folder from the Developer program. When I try to make a package in Casper and I try to build the DMG it always fails with no error, just an error beep and the window will be frozen until i hit enter which it fails on. I can make any other package. I know its a huge app now, maybe 9GB? Is that probably why? Anyone packaged it this way?
Posted on 02-18-2016 08:23 PM
Follow these instructions on getting the .pkg for XCode from the MAS:
https://derflounder.wordpress.com/2013/08/22/downloading-apples-server-app-installer-package/
Then you will need to run a few post install scripts. I'll post them later when I have my Mac on me.
Worked flawlessly.