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
stantoncbradley commented
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
stantoncbradley commented
stantoncbradley commented
stantoncbradley commented
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
CesarTrigo commented
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.
stantoncbradley commented
@CesarTrigo thanks. this is blocking our iOS release
stantoncbradley commented
removing the pod linked binaries in the test target seems to have fixed this
CocoaPods/CocoaPods#5762 (comment)
CesarTrigo commented
Great @stantoncbradley
Thank you for letting us know
Best
C.