ObjectMapper DataTransform.swift失败构建xcode 8

时间:2016-09-14 23:04:29

标签: ios swift xcode alamofire objectmapper

我开始使用iOS开发,我使用的是swift 2.3。今天我将我的xcode更新为8.0,这是一个很大的问题,因为我遇到了一些构建失败。我试图解决其中的一些问题,但是这些FBSDK警告和ObjectMapper错误都是持续存在的问题。

我正在使用CocoaPods。这是我的podfile:

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

target 'Lyticx' do
  # Comment this line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for Lyticx
  pod 'Alamofire', '~> 3.4'
  pod 'AlamofireObjectMapper', '~> 3.0'

  pod 'Bolts'
  pod 'FBSDKCoreKit'
  pod 'FBSDKShareKit'
  pod 'FBSDKLoginKit'

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

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

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

end

而且,这是我的构建日志:

enter image description here

0 个答案:

没有答案