Xcode Error - Undefined Symbols for Architecture X86_64

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.

Sample Image

Sample Image

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):

Sample Image

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



Leave a reply



Submit