gunschu / jitsi_meet

Initial commit
208 stars 282 forks source link

cannot find 'PiPViewCoordinator' in scope #361

Closed alabbasiDev closed 2 years ago

alabbasiDev commented 2 years ago

error: cannot find 'PiPViewCoordinator' in scope pipViewCoordinator = PiPViewCoordinator(withView: jitsiMeetView)

my xcode version is 12.5

err
RivaanRanawat commented 2 years ago

I had the same error. I fixed it by adding below code to podfile:

post_install do |installer|
  installer.pods_project.targets.each do |target|
     flutter_additional_ios_build_settings(target)
       # Required by jitsi
     target.build_configurations.each do |config|
     config.build_settings['ENABLE_BITCODE'] = 'NO'
         config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
    end
 end
end
alabbasiDev commented 2 years ago

I have tried that but it does not work. I still got the same error

ayanbabi90 commented 2 years ago

same issue

popekabu commented 2 years ago

@ayanbabi90 It worked for me try this as stated, replace this chunk of code with yours inside your podfile.

post_install do |installer| installer.pods_project.targets.each do |target| flutter_additional_ios_build_settings(target)

Required by jitsi

 target.build_configurations.each do |config|
 config.build_settings['ENABLE_BITCODE'] = 'NO'
     config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end

end end

All the best brother

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.