I\'ve got an iOS app which I\'ve recently switched to Xcode 8. As part of that we switched from swift 2.2 to 2.3 (swift 3 will come later).
I\'ve got an automated build
I ran into the same problem after installing Xcode 8, by building via shenzhen.
I decided to look at Fastlane as an alternative, and their gym program produces an ipa that can be submitted to Apple.
It was reasonably easy for me to replace the call to ipa
(shenzhen's executable) with a call to gym
, and the rest of my build-and-upload scripts worked without modifications.
If you prefer to build directly, I lifted the following from the gym
readme. It produces an .xcarchive
containing an .app
file without the libswiftRemoteMirror.dylib
. I don't use that kind of flow myself, so I can't say how you would proceed from there.
xcodebuild \
-scheme Scheme \
-workspace Project.xcworkspace \
-configuration 'Release' \
-destination 'generic/platform=iOS' \
-archivePath './Output.xcarchive' \
archive