ios 如何修复Xcode中没有这样的模块问题

qgelzfjb  于 2023-07-01  发布在  iOS
关注(0)|答案(1)|浏览(109)

enter image description here
我克隆了项目,安装了pod并运行了它,但我一直收到这个错误。如果我删除导入代码,我得到另一个没有这样的模型错误不断
enter image description here
我正在运行xcworkspace文件我尝试删除xcworkspace文件,pod文件,pod.lock并重新安装pod。我还尝试了罗塞塔模式,吊舱设置,吊舱更新。几乎尝试了一切,但仍然不起作用。我的队友发送了他的代码,我在我的Mac上运行它,它也不起作用。我重新安装了几次Xcode。enter image description here我猜我的笔记本电脑配置问题,我得到了新的Mac书2023 m2芯片,并立即下载Xcode没有改变Xcode。请帮助我,给予我建议,任何我可以尝试的
enter image description hereenter image description here
我尝试了几乎所有的东西,这是我下面的pod文件。

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

target 'ASI' do
  # Comment the next line if you don't want to use dynamic     frameworks
  use_frameworks!

  # Pods for ASI
  
  pod 'SwiftyJSON', '~> 4.0'
  pod 'Crashlytics', '~> 3.10.0'
  pod 'KeychainSwift', '~> 11.0'
  pod 'AAPickerView'

  pod 'Firebase/Core'
  pod 'Firebase/Messaging'
  pod 'FirebaseDatabase'
  pod 'FirebaseStorage'
  pod 'Firebase/Firestore'
  pod 'MessageKit', '~> 3.0.0'
  pod 'MessageInputBar'
  pod 'AlamofireObjectMapper'
  pod 'iOSDropDown'
  pod 'CountryPickerView'
  pod 'Alamofire', '~> 4.5'
  pod 'Toast-Swift', '~> 4.0.0'
  pod 'Firebase/RemoteConfig'
  pod 'JGProgressHUD'
  pod 'IQKeyboardManagerSwift'
  pod 'SKCountryPicker'
  pod 'GooglePlaces'
  pod 'PusherSwift'
  pod 'Eureka'
  pod 'CropViewController'
  pod 'SDWebImage'
  pod 'Firebase/Crashlytics'
  pod 'Firebase/Auth'
  pod "SwiftSignatureView", '~> 3.2.0'
  pod 'DropDown'
  pod 'DatePickerDialog'
  pod 'Amplify'
  pod 'AmplifyPlugins/AWSS3StoragePlugin'
  pod 'AmplifyPlugins/AWSCognitoAuthPlugin'
  pod 'Optik'
  pod 'AlamofireImage'
  pod 'SideMenu'
  pod 'SVProgressHUD'
#  pod "RxSwift"
#  pod "RxCocoa"
post_install do |installer|
    installer.generated_projects.each do |project|
          project.targets.each do |target|
              target.build_configurations.each do |config|
                      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'

               end
          end
   end
end

end
v8wbuo2f

v8wbuo2f1#

将“post_install”块放在目标块之外。然后再安装一次。
更多信息,请参阅documents

相关问题