Xcode plug-in alternatives?

28 views
Skip to first unread message

andy....@ge.com

unread,
Apr 10, 2017, 5:17:43 PM4/10/17
to Jenkins Users
The Xcode plugin seems to have been struggling with support for a while now, and with the latest version of Xcode the plugin can no longer build IPAs for distribution.

Any hope of the Xcode plugin being resurrected? Anyone have any good alternatives?

I guess I'll need to go the shell script route, but replacing all the functionality of the Xcode plugin will take a while. Anyone have any good scripts they can share?

Thanks

Arnaud Héritier

unread,
Apr 10, 2017, 5:22:44 PM4/10/17
to jenkins...@googlegroups.com
For now the main issue is that xcode 8.3 isn't compatible
There is a work in progress but not easy to have it landing : https://github.com/jenkinsci/xcode-plugin/pull/76

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b7073138-55a2-4ea6-a4fd-d1a6022ade81%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
-----
Arnaud Héritier
Mail/GTalk: aheritier AT gmail DOT com
Twitter/Skype : aheritier

Richard Ginga

unread,
Apr 11, 2017, 8:11:07 AM4/11/17
to jenkins...@googlegroups.com
We've updated to Xcode 8 and using the plugin we do this:

add "-archivePath "${WORKSPACE}/build/xxxxx.xcarchive" to the Custom Xcode Build Arguments

then in a shell step following the xocde step NOTE: this uses the ad-hoc cert, you would want your "distribution" there (I think):

#
# warning: PackageApplication is deprecated, use `xcodebuild -exportArchive` instead.
#
# for this command we need a very simple Plist file. created here
#
#!/bin/bash

cat <<EOF > ./build/export.plist
<?xml version="1.0" encoding="UTF-8"?> 
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> 
<plist version="1.0"> 
<dict>
    <key>method</key>
    <string>ad-hoc</string>
</dict>
</plist>
EOF

xcodebuild -exportArchive -archivePath build/xxxxx.xcarchive -exportOptionsPlist build/export.plist -exportPath . 



--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b7073138-55a2-4ea6-a4fd-d1a6022ade81%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Dick Ginga
Build Engineer

andy....@ge.com

unread,
Apr 13, 2017, 1:14:10 PM4/13/17
to Jenkins Users
Hey thanks Richard. This technique works great!


To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages