Skip to content

Space character in project path is not supported (was: lipo failure with Xcode 9) #59

@QuentinArnault

Description

@QuentinArnault

Hi,

Since I installed Xcode 9, I have a problème when running pod install. With Xcode 8 it worked (but I have not had to add the post_install hook). Here is the output:

Downloading dependencies
Installing Alamofire (4.5.1)
Generating Pods project
Skipping User Project Integration
Building frameworks
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: unknown flag: -

System:
XCode 9 Version 9.0.1 (9A1004)
Cocoapod 1.4.0.beta.2
Plugin Rome 0.8.0
And my Podfile:


plugin 'cocoapods-rome'

target 'Rementis' do
   pod 'Alamofire', '~> 4.5.1'
end

post_install do |installer|
	installer.pods_project.targets.each do |target|
    	target.build_configurations.each do |config|
            config.build_settings['SWIFT_VERSION'] = '3.2'
        end
    end
end

Regards,
Quentin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions