Xcode 8 Beta 5 Strange Error dyld symbol not found - swift

I've updated to the new beta and I for some reason cannot get my framework to run on tvOS anymore with this error:
dyld: Symbol not found: __TMps23ExpressibleByNilLiteral
Referenced from: /Users/xxx/Library/Developer/CoreSimulator/Devices/F88A3B01-2A61-4A7E-89C0-110F1128DB1F/data/Containers/Bundle/Application/37E6A551-D3A6-41B6-938C-C7A203803FFC/TvTestApp01.app/Frameworks/TDatabases.framework/TDatabases
Expected in: /Users/xxx/Library/Developer/CoreSimulator/Devices/F88A3B01-2A61-4A7E-89C0-110F1128DB1F/data/Containers/Bundle/Application/37E6A551-D3A6-41B6-938C-C7A203803FFC/TvTestApp01.app/Frameworks/libswiftCore.dylib
in /Users/xxx/Library/Developer/CoreSimulator/Devices/F88A3B01-2A61-4A7E-89C0-110F1128DB1F/data/Containers/Bundle/Application/37E6A551-D3A6-41B6-938C-C7A203803FFC/TvTestApp01.app/Frameworks/TDatabases.framework/TDatabases
In other projects that uses the same code but on macOS and iOS, those work fine.

Related

App crash when I run on iOS 12.5.5 version - dyld: Symbol not found: ___chkstk_darwin

after updating Xcode 13.2.1 (13C100) when I run my app on iPhone 6(12.5.5) it's showing an error and the app is crashing.
dyld: Symbol not found: ___chkstk_darwin
Referenced from: /private/var/containers/Bundle/Application/39152A4A-A4A7-4940-999B-A61D1D72C83C/Sq.app/Frameworks/libswift_Concurrency.dylib (which was built for iOS 13.0)
Expected in: /usr/lib/libSystem.B.dylib
in /private/var/containers/Bundle/Application/39152A4A-A4A7-4940-999B-A61D1D72C83C/Square Insurance.app/Frameworks/libswift_Concurrency.dylib
(lldb)
issue has been fixed with XCODE update : Version 13.3 (13E113)

Failed to install a project to a real device

Someone who solved this problem by emulating on an iPhone.
It is a project that a library was embedded and well I already gave it a lot of laps and all the Build Setting configurations, from the signature of the build functions are correctly I do not understand what may be happening I have xcode 12.0.1 I will thank you very much for a feetback,
este es mi error:
dyld: Symbol not found: _$s8DropDownAAC9DirectionO6bottomyA2DmFWC
Referenced from: /private/var/containers/Bundle/Application/0E7CFCF6-F3E3-422F-8EF9-BD721F6D0ADB/proyectodemo.app/Frameworks/FrameworkDemo.framework/FrameworkDemo
Expected in: /private/var/containers/Bundle/Application/0E7CFCF6-F3E3-422F-8EF9-BD721F6D0ADB/proyectodemo.app/Frameworks/DropDown.framework/DropDown
in /private/var/containers/Bundle/Application/0E7CFCF6-F3E3-422F-8EF9-BD721F6D0ADB/proyectodemo.app/Frameworks/FrameworkDemo.framework/FrameworkDemo
dyld: launch, loading dependent libraries
DYLD_LIBRARY_PATH=/usr/lib/system/introspection
DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
(lldb)

Flutter Xcode 12 archive build fails with Undefined symbol: _OBJC_CLASS_$_STPAPIClient

Flutter version 1.22.2
Xcode 12.1
the app builds fine in the simulator but trying to generate an archive for App Store fails with: building for iOS-armv7 but attempting to link with file built for iOS-arm64
Undefined symbols for architecture armv7:
"OBJC_CLASS$_STPAPIClient", referenced from:
objc-class-ref in TPSStripeManager.o
I have deployment target to 11.0.
XCode->Pods->stripe_payment->Build Setting. Change the iOS Deployment Target to 11.0. Without knowing exact reason for the problem however this worked for me.
I have attached the xcode ss.
Xcode Pods:Adding armv7 to excluded architectures solved the issue.
This works for me.

Why does a vapor "hello" project crush right after start on Sierra?

I'm trying to run vapor hello project via terminal. Didn't touch any code.
Building is ok, but it doesn't run.
Already tried
clean and rebuild
force reinstall vapor
check that libsqlite3.dylib is loaded
Here's terminal output:
MacBook-Air-Dmitrij:Hello dev$ vapor run
Running Hello ...
[ INFO ] Migrating 'sqlite' database (/Users/dev/Hello/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Migration/MigrationConfig.swift:69)
dyld: lazy symbol binding failed: Symbol not found: _sqlite3_column_table_name
Referenced from: /Users/dev/Hello/.build/debug/Run
Expected in: /usr/lib/libsqlite3.dylib
dyld: Symbol not found: _sqlite3_column_table_name
Referenced from: /Users/dev/Hello/.build/debug/Run
Expected in: /usr/lib/libsqlite3.dylib
Do you have any idea, what's going on?
MacOS 10.12.6
Swift 4.1.3
Xcode 9.3
Vapor Toolbox: 3.1.10
Vapor Framework: 3.3.1

Symbol not found error after upgrading to iPhone SDK 4.0, running on 3.1.3

I just upgraded to iPhone SDK 4.0, and recompiled my static libraries and app, and when I run it on a device with iOS 3.1.3 (using deployment target 3.0), it says:
dyld: lazy symbol binding failed: Symbol not found: ___sync_fetch_and_add_4
Referenced from: /var/mobile/Applications/7CA42202-DA9D-4A10-918D-593362E18000/renderer.app/renderer
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: ___sync_fetch_and_add_4
Referenced from: /var/mobile/Applications/7CA42202-DA9D-4A10-918D-593362E18000/renderer.app/renderer
Expected in: /usr/lib/libSystem.B.dylib
I found this blog post, but it doesn't seem to give any advice other than
try to use gcc 4.0 instead of 4.2, and
it should have been fixed in the SDK 4.0.
It appears that the code he points to was fixed in SDK 4.0 (and his example of a minimal app that exhibits this behavior works fine for me), but I'm still getting this error.
It turns out that I had only compiled the app with deployment target of 3.0; once I also compiled the libraries with deployment target of 3.0, it worked correctly.