I'm trying to setup Jenkins slave, to build my Swift project that uses a Swift pod called "Freddy".
The problem is the build failed with error:
error: no such module 'Freddy'
platform :ios, '8.0'
target 'MyProject' do
pod 'AFNetworking', '~> 3.0'
xcodebuild -scheme MyProject -workspace MyProject.xcworkspace -configuration Debug clean build CONFIGURATION_BUILD_DIR=jenkinsOutput "CODE_SIGN_IDENTITY=iPhone Developer: Andrei Kadochnikov (XXXXXXXX)" -destination "platform=iOS Simulator,name=iPhone 6,OS=latest"
Figured that the build was failed because of parameter
CONFIGURATION_BUILD_DIR=jenkinsOutput. I've got rid of it and build succeeded.
Confusing error message.