Creé un nuevo proyecto y usé pods para instalar RxSwift . Luego creé un patio de recreo y escribí el siguiente código:
import UIKit import RxSwift import PlaygroundSupport var name = "hello" let names = Variable(["Good"])Pero la consola muestra este error:
La ejecución del patio de juegos falló:
error: no se pudieron buscar los símbolos: __T07RxSwift8VariableCACyxGxcfC
__T07RxSwift8VariableCMa
Pruebe esto para el Podfile en su lugar:
platform :ios, '11.0' target 'RxSwiftPlayground' do use_frameworks! # Pods for RxSwiftPlayground pod 'RxSwift', '~> 4.0' end post_install do |installer| installer.pods_project.build_configurations.each do |config| config.build_settings.delete('CODE_SIGNING_ALLOWED') config.build_settings.delete('CODE_SIGNING_REQUIRED') end installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['CONFIGURATION_BUILD_DIR'] = '$PODS_CONFIGURATION_BUILD_DIR' end end endO