Xcode build failure Undefined symbols for architecture x86_64
It looks like you are missing including the IOBluetooth.framework in your project. You can add it by:
Clicking on your project in the upper left of the left pane (the blue icon).
In the middle pane, click on the Build Phases tab.
Under "Link Binary With Libraries", click on the plus button.
Find the IOBluetooth.framework from the list and hit Add.
This will make sure that the IOBluetooth.framework definitions are found by the linker. You can see that the framework is a member of your target by clicking on the framework in the left pane and seeing the framework's target membership in the right pane (note I've moved the framework under the Frameworks group for organization purposes):
Undefined symbols for architecture x86_64 error when migrating from React Navigation 5 to 6 on iOS
The easiest way to solve the problem in my case has been to downgrade react-native-screens
library to version 3.11.1. Now it runs without problems.
Xcode 9 undefined symbols for architecture x86_64
When I ran build for profiling, it was working, but with classic build there were mentioned errors. After searching through logs it seems there is some weird behaviour with flags, particularly -fprofile-instr-generate. The solution was to set flag Enable Code Coverage to No in build settings of the library project. This was shooting into the dark but somehow got it working.
Related Topics
Sending an Email from Your App with an Image Attached in Swift
Avplayer Can't Resume After Paused + Some Waiting
Subscript of a Struct Doesn't Set Values When Created as an Implicitly Unwrapped Optional
Modal Picker Not Scrolling Right Swiftui
Calling Nsexception.Raise() in Swift
Refreshing Auth Token with Moya
How to Check If Cmtime Is Valid in Swift
Unknown Error When Adding an CSSearchableitem to Core Spotlight (Macos)
iOS Swift Error: 'T' Is Not Convertible to 'Mirrordisposition'
Deleting with One-To-Many Relationship
Swift Safely Unwrapping Optinal Strings and Ints
Implementing Reconnection with Urlsession Publisher and Combine
Xcode Error - Undefined Symbols for Architecture X86_64
Create Spotlight-Like Window in Swift 4
Swfitui List Make Scrolling Disabled
Weak Method Argument Semantics