kingpowerclick / 2C2P-iOS

Unofficial Swift Package Manager supported for 2C2P iOS SDK
https://developer.2c2p.com/docs
MIT License
1 stars 0 forks source link

Cannot compile #1

Closed kakopappa closed 4 years ago

kakopappa commented 4 years ago

Hi,

I was trying your pod and it seems to fail with bunch of errors. This is what I did

  1. Create an empty Xcode project. (Objective C)

  2. Create the pod file

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target '2c2pexample' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  # Pods for 2c2pexample
  pod '2C2P-iOS'

  target '2c2pexampleTests' do
    inherit! :search_paths
    # Pods for testing
  end

  target '2c2pexampleUITests' do
    # Pods for testing
  end

end
  1. Compile:

when I complete it's failing with following errors

ld: warning: Could not find or use auto-linked library 'swiftObjectiveC' ld: warning: Could not find or use auto-linked library 'swiftCoreGraphics' ld: warning: Could not find or use auto-linked library 'swiftQuartzCore' ld: warning: Could not find or use auto-linked library 'swiftCore' ld: warning: Could not find or use auto-linked library 'swiftCompatibilityDynamicReplacements' ld: warning: Could not find or use auto-linked library 'swiftCoreImage' ld: warning: Could not find or use auto-linked library 'swiftDispatch' ld: warning: Could not find or use auto-linked library 'swiftCoreFoundation' ld: warning: Could not find or use auto-linked library 'swiftCompatibility50' ld: warning: Could not find or use auto-linked library 'swiftDarwin' ld: warning: Could not find or use auto-linked library 'swiftUIKit' ld: warning: Could not find or use auto-linked library 'swiftFoundation' ld: warning: Could not find or use auto-linked library 'swiftMetal'

Any idea?

kakopappa commented 4 years ago

it's okey, changed to use the sdk.