applivery/applivery-ios-sdk

The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor.

stantoncbradley opened this issue · 7 comments

Getting error:

The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor.

when installing applivery through cocoa pods into react native app. React native app doesn't otherwise use swift.
Adding user defined property SWIFT_VERSION and setting it to 3.2 (which is what it is set to in applivery-ios-sdk) leads to same error

deleting xcode workspace & doing a fresh pod install: getting these errors:
image

ok after nuking the workspace and reinstalling the pods, this is the error i get:
image

podfile:

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

pod 'Mixpanel'

target 'lcard_app' do
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  use_frameworks!
  
  pod 'Applivery', '~> 2.5'
  # Pods for lcard_app

  target 'lcard_app-tvOSTests' do
    inherit! :search_paths
    # Pods for testing
  end

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

end

Hi @stantoncbradley
Thank you for opening the issue and provide the details
Our team is looking into it and we'll come back to you as soon as possible.
Best,
C.

@CesarTrigo thanks. this is blocking our iOS release

removing the pod linked binaries in the test target seems to have fixed this
CocoaPods/CocoaPods#5762 (comment)

Great @stantoncbradley
Thank you for letting us know
Best
C.