XCode IOS project not linking to Expo files - react-native

I am working on an Expo app that needs native functionality, so I am running expo run:ios. Everytime I run this however, it gives me an error saying this:
❌ Undefined symbols for architecture x86_64
┌─ Symbol: _AVMetadataObjectTypeCodabarCode
└─ Referenced from: l001 in EXBarCodeScanner(EXBarCodeScanner.o)
❌ ld: symbol(s) not found for architecture x86_64
❌ clang: error: linker command failed with exit code 1 (use -v to see invocation)
When I try removing the expo-barcode-scanner library, the project builds and runs, but in expo it says "expo-asset could not be found within the project." Does anyone know what might be causing this?

The only way that you can fix it is to update your Xcode to 13.3
Here's the xcode 13.3 image information: Apple Website
You can use the "image" property in your build profile.

Related

iOS "linker command failed with exit code 1" error when adding GoogleMaps pod

Adding Crashlytics to an existing project I am working on (Objective-C) made me update some of the Google pods, up until that moment everything worked fine, after I've managed to integrate Crashlytics I've started receiving this error:
Undefined symbols for architecture arm64:
"OBJC_CLASS$_UIPointerShape", referenced from:
objc-class-ref in GoogleMaps
"OBJC_CLASS$_UIPointerStyle", referenced from:
objc-class-ref in GoogleMaps
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Here is my podfile:
And here's how it used to be before the changes:
Eventually I've went to prev commit and checked the version of GooglePlaces and GooleMaps (which was 3.7.0) and have been updated to 3.9.0.
I've limited the version to 3.7.0 (pod 'GoogleMaps', '~>3.7.0' & pod 'GooglePlaces', '~>3.7.0') and it worked
According to this issue https://github.com/flutter/flutter/issues/63530 it is probably caused by Google Maps 3.10 not supporting Xcode version lower than 11.4.
I can confirm, that
pod 'GoogleMaps', '<3.10'
fixes the build for me.

ZBar SDK is not working in xcode 7

I have added the ZBar SDK in my project and the required frameworks as in the SDK docs. But I am getting the following error:
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
I am unable to solve it, does anyone have any suggestions?

CorePlot 1.5.1: Getting error "Undefined symbols for arch armv7"

I've just installed CorePlot 1.5.1 via CocoaPods and when trying to build with these settings:
Architectures: Standard architectures (armv7, arm64)
Base SDK: Latest iOS (iOS 8.1)
Build Active Architectures Only: Yes
Valid Architectures: arm64, armv7, armv7s
I face multiple of these errors:
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_CPTXYGraph", referenced from:
__TMaCSo10CPTXYGraph in ViewController.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I've already checked the internet and tried different settings for hours but one way or another; I keep receiving errors so I decided to go from here and ask for your advise that is much appreciated!

library not found for -lFlurry_6.0.0 clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have earlier created an 32 bit app in Xcode. Now I updated XCode to 6.1 iOS 8.1. Additionally I used Flurry SDK 4.2.3 API earlier, now I downloaded flurry sdk 6.0.0 compatible with xcode 6.1.
But, now after importing this SDK into Xcode project the below error is displayed.
library not found for -lFlurry_6.0.0
clang: error: linker command failed with exit code 1 (use -v to see invocation)
libflurry library is already there in:
project>>general>>libraries section
What should I do to resolve it ?

Opening BasicMenu.xcodeproj fails on the new ECSlidingViewController 2

Is it possible to open the BasicMenu.xcodeproj on xcode on the new version of ECSlidingViewController without having to do it via Examples.xcworkspace? I am trying to just work through the BasicMenu example specifically and when I do I get this error: ld: library not found for -lPods
clang: error: linker command failed with exit code 1 (use -v to see invocation)
No, the dependencies to ECSlingViewController won't be available.
You should be able to work with the BasicMenu project inside the workspace. CocoaPods is not required, the repo includes the installed dependencies.