tristanhimmelman / ObjectMapper

Simple JSON Object mapping written in Swift
MIT License
9.16k stars 1.03k forks source link

Xcode 10, Apple Watch (arm64_32) minimum deployment #1002

Closed Sweefties closed 4 years ago

Sweefties commented 6 years ago

This bundle is invalid. Applications built for more than one architecture require an iOS Deployment Target of 3.0 or later.

You have to set the deployment target for all watchOS targets (although it says iOS) to 3.0 or higher..

By upload to App Store Connect we have one error to minimumOS deployment. It's ok after editing your info.plist file (Carthage build watchOS) to 3.0.

KeimyPlaza commented 6 years ago

Maybe this error is only for Xcode10 but this library must be to supported Xcode 9.X

You can change the podfile:

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

Reference: https://forums.developer.apple.com/thread/108408

callo90 commented 6 years ago

Having the same issue with carthage, any updates about this?