CocoaPods / Rome

Makes it easy to build a list of frameworks.
MIT License
694 stars 64 forks source link

My Podfile serves ios and macOS apps, can't integrate rome. #52

Open joedaniels29 opened 7 years ago

joedaniels29 commented 7 years ago

I have a kind of complex pod file:

source 'https://github.com/CocoaPods/Specs.git'
platform :osx, '10.10'
use_frameworks!
def default_pods
    pod 'AFNetworking', '~> 3'
    pod 'FHSegmentedViewController', '~> 1.2'
    pod 'MMMaterialDesignSpinner'
 #more deps.
end
target "IosApp" do
    platform :ios, '9.0'
    xcodeproj 'Project.xcodeproj
    default_pods
end
target "Tests" do
    platform :ios, '9.0'
    xcodeproj 'Project.xcodeproj
    default_pods
    pod "Kiwi"
    pod "Quick"
    pod "Nimble"
    pod "OHHTTPStubs"
end
target "UITests" do
    platform :ios, '9.0'
    xcodeproj 'Project.xcodeproj
    pod "Kiwi"
    pod "Quick"
    pod "Nimble"

    default_pods
end

target "WatchOSApp Extension" do
    platform :watchos, '2.0'
    xcodeproj 'Project.xcodeproj
end

target "macosCommandlineApp" do
    plugin 'cocoapods-rome'
    platform :osx, "10.10"
    xcodeproj 'Project.xcodeproj'
   pod "Commander", "0.5.0"
    pod "PathKit"
end

post_install do |installer|
  installer.pods_project.build_configurations.each do |config|
    # Configure Pod targets for Xcode 8 compatibility
#    config.build_settings['SWIFT_VERSION'] = '2.3'
    config.build_settings['ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES'] = 'NO'
  end
end

workspace 'BigProject.xcworkspace'

But pod install fails /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project Pods.xcodeproj -scheme Pods-IosApp -configuration Release -sdk iphoneos Any idea how I can get rome to work for my Commandline app?