Xamarin iOS facebook sdk error 308 after iOS 10 fails

After the last few updates and with iOS 10 Facebook Login fails all the time with Error code 308. There are threads going around that say to include your Entitlements.plist for debug builds to fix this by also adding a Keychain group name.

However, whenever I add the Entitlements.plist to the "Custom Entitlements" In project settings I get the following errors.

Severity Code Description Project File Line Suppression State
Error Native linking error: undef: AVMakeRectWithAspectRatioInsideRect
Error Native linking error: undef: _AVAudioSessionCategoryPlayAndRecord
Error Native linking error: undef: _AVAudioSessionCategoryPlayback
Error Native linking error: undef: _AVFormatIDKey
Error Native linking error: undef: _AVLinearPCMBitDepthKey
Error Native linking error: undef: _AVNumberOfChannelsKey
Error Native linking error: undef: _AVSampleRateKey
Error Native linking error: undef: _OBJC_CLASS
$AVAudioRecorder
Error Native linking error: undef: _OBJC_CLASS
$AVAudioSession
Error Native linking error: undef: _OBJC_CLASS
$AVPlayer
Error Native linking error: undef: _OBJC_CLASS
$AVPlayerItem
Error Native linking error: undef: _OBJC_CLASS
$AVURLAsset
Error Native linking error: undef: _OBJC_CLASS
$CMMotionManager
Error Native linking error: undef: _OBJC_METACLASS
$AVURLAsset
Error Native linking failed, undefined Objective-C class: AVAudioRecorder. The symbol '_OBJC_CLASS
$AVAudioRecorder' could not be found in any of the libraries or frameworks linked with your application.
Error Native linking failed, undefined Objective-C class: AVAudioSession. The symbol '_OBJC_CLASS
$AVAudioSession' could not be found in any of the libraries or frameworks linked with your application.
Error Native linking failed, undefined Objective-C class: AVPlayer. The symbol '_OBJC_CLASS
$AVPlayer' could not be found in any of the libraries or frameworks linked with your application.
Error Native linking failed, undefined Objective-C class: AVPlayerItem. The symbol '_OBJC_CLASS
$AVPlayerItem' could not be found in any of the libraries or frameworks linked with your application.
Error Native linking failed, undefined Objective-C class: AVURLAsset. The symbol '_OBJC_CLASS
$AVURLAsset' could not be found in any of the libraries or frameworks linked with your application.
Error Native linking failed, undefined Objective-C class: CMMotionManager. The symbol '_OBJC_CLASS
$CMMotionManager' could not be found in any of the libraries or frameworks linked with your application.
Error Native linking failed, undefined symbol: _AVAudioSessionCategoryPlayAndRecord. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
Error Native linking failed, undefined symbol: _AVAudioSessionCategoryPlayback. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
Error Native linking failed, undefined symbol: _AVFormatIDKey. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
Error Native linking failed, undefined symbol: _AVLinearPCMBitDepthKey. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
Error Native linking failed, undefined symbol: _AVMakeRectWithAspectRatioInsideRect. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
Error Native linking failed, undefined symbol: _AVNumberOfChannelsKey. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
Error Native linking failed, undefined symbol: _AVSampleRateKey. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
Error Native linking failed, undefined symbol: _OBJC_METACLASS
$_AVURLAsset. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
Error Native linking failed. Please review the build log and the user flags provided to gcc: -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/ShaQ/Library/Caches/Xamarin/mtbs/builds//obj/iPhoneSimulator/Debug/Entitlements.xcent
Error Native linking failed. Please review the build log.

Now I have no clue what to do to fix this problem. I've been blocked for a week now. please help.

Sign In or Register to comment.