when i attempted to run ionic app in ios actual machine or make archive then this occur.
in (https://i.stack.imgur.com/y1dnu.png) simulator its working tremendous
I am creating an Ionic app and I’ve encountered a construct situation when operating it on an actual iOS machine or trying to make an archive. Whereas the app runs tremendous within the simulator, it fails with a linker command error on an actual machine.
Right here is the error that seems:
Assertion failed: (aliasSectionNum == sectionNum && “alias and its goal have to be situated in the identical part”), perform assignAliasAtomOffsetInSection, file Format.cpp, line 3248.
The total error output may be seen on this screenshot: y1dnu.png
Primarily based on analysis and options from different builders, I attempted enabling core machine assist utilizing the next terminal command:
defaults write com.apple.dt.Xcode DVTEnableCoreDevice enabled
Moreover, I tried to resolve the problem by modifying the construct settings in Xcode as follows:
Navigated to Construct Settings.
Situated Different Linker Flags.
Added -ld64 flag.
Regardless of these makes an attempt, the problem persists.
What I Have Tried:
Cleansing the construct folder in Xcode and rebuilding.
Updating and reinstalling all undertaking dependencies, together with CocoaPods.
Trying to find any situations of duplicate symbols or conflicting libraries.
Verifying that no outdated or incompatible variations of libraries are linked.
Setting:
Xcode Model: 15
Questions:
Has anybody efficiently resolved an analogous Xcode linker command error?
May this situation be associated to particular undertaking settings that differ between simulator builds and machine/archive builds?
Is there another method to the -ld64 linker flag that might be more practical?
Any assist or perception from those that have confronted and conquered this situation can be immensely appreciated.