Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
joedaniels29 opened this issue Oct 25, 2016 · 0 comments
Open

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

joedaniels29 opened this issue Oct 25, 2016 · 0 comments

Comments

@joedaniels29
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant