Code Monkey home page Code Monkey logo

Comments (5)

Saik0s avatar Saik0s commented on June 5, 2024

Hi Quentin,

I did try to reproduce your problem with Cocoapods 1.3.1 and Cocoapods 1.4.0.beta.2. But in both cases, Alamofire.framework was successfully built and placed in the Rome folder. I simply created a new project and added Podfile to the project folder. The only difference is that I had to specify platform because of this error:
[!] It is necessary to specify the platform in the Podfile if not integrating.

I don't know why you don't receive such error. I think that output of pod env from the project root folder can help us to solve your issue.

Here is my pod env output:

Stack

   CocoaPods : 1.4.0.beta.2
        Ruby : ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin17]
    RubyGems : 2.6.14
        Host : Mac OS X 10.13.1 (17B48)
       Xcode : 9.1 (9B55)
         Git : git version 2.15.0
Ruby lib dir : /Users/Saik0s/.rvm/rubies/ruby-2.4.1/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ 7f1a4305d9e057deb210ddfcf504ab1f142dc5eb

Installation Source

Executable Path: /Users/Saik0s/.rvm/gems/ruby-2.4.1/bin/pod

Plugins

cocoapods-deintegrate : 1.0.1
cocoapods-plugins     : 1.0.0
cocoapods-rome        : 0.8.0
cocoapods-search      : 1.0.0
cocoapods-stats       : 1.0.0
cocoapods-trunk       : 1.3.0
cocoapods-try         : 1.1.0

Podfile

plugin 'cocoapods-rome'

target :Dependencies do
	platform :ios, '8.0'
	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

Also here is my pod install output:

❯ pod install
Analyzing dependencies
Downloading dependencies
Installing Alamofire (4.5.1)
Generating Pods project
Skipping User Project Integration
Building frameworks
Built 2 frameworks
Copying 2 frameworks to `Rome`
Sending stats
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.

And Rome folder structure:

❯ tree Rome
Rome
└── Alamofire.framework
    ├── Alamofire
    ├── Headers
    │   ├── Alamofire-Swift.h
    │   └── Alamofire-umbrella.h
    ├── Info.plist
    ├── Modules
    │   ├── Alamofire.swiftmodule
    │   │   ├── arm.swiftdoc
    │   │   ├── arm.swiftmodule
    │   │   ├── arm64.swiftdoc
    │   │   ├── arm64.swiftmodule
    │   │   ├── i386.swiftdoc
    │   │   ├── i386.swiftmodule
    │   │   ├── x86_64.swiftdoc
    │   │   └── x86_64.swiftmodule
    │   └── module.modulemap
    └── _CodeSignature
        └── CodeResources

from rome.

QuentinArnault avatar QuentinArnault commented on June 5, 2024

Thanks for your return.

So here is my pod env

Stack

   CocoaPods : 1.3.1
        Ruby : ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
    RubyGems : 2.5.1
        Host : Mac OS X 10.12.6 (16G29)
       Xcode : 9.0.1 (9A1004)
         Git : git version 2.13.5 (Apple Git-94)
Ruby lib dir : /usr/local/Cellar/ruby/2.3.1_2/lib
Repositories : bitbucket-qapodspec - [email protected]:quentin_arnault/qapodspec.git @ 01b118a3795322038f0adfce0bbc97106bb2edd3
               master - https://github.com/CocoaPods/Specs.git @ 9820bb3b78b73d4c5490645273a18c83cc8d8124

Installation Source

Executable Path: /Users/quentinarnault/.gem/bin/pod

Plugins

cocoapods-deintegrate : 1.0.1
cocoapods-plugins     : 1.0.0
cocoapods-rome        : 0.8.0
cocoapods-search      : 1.0.0
cocoapods-stats       : 1.0.0
cocoapods-trunk       : 1.3.0
cocoapods-try         : 1.1.0

Podfile

platform :ios, '9.0'

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

from rome.

QuentinArnault avatar QuentinArnault commented on June 5, 2024

I tried after an Xcode update to 9.1 and same result.

I attached output of pod install --verbose if it can help.

If you have any idea of what I can check, please let me know.

output.log

from rome.

Saik0s avatar Saik0s commented on June 5, 2024

I think that renaming rementis - delivery folder to something like rementis_delivery will fix your issue. It looks like spaces in the project path cause this error.

from rome.

QuentinArnault avatar QuentinArnault commented on June 5, 2024

Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.

Good old "space in path"...

Thanks for the tip.

from rome.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.