HomeiOS Developmentios - Assertion failed: (aliasSectionNum == sectionNum && "alias and its goal...

ios – Assertion failed: (aliasSectionNum == sectionNum && “alias and its goal should be situated in the identical part”), operate assignAliasAtomOffsetInSecti


when i attempted to run ionic app in ios actual gadget or make archive then this occur.
in (https://i.stack.imgur.com/y1dnu.png) simulator its working high-quality

I am growing an Ionic app and I’ve encountered a construct difficulty when operating it on an actual iOS gadget or making an attempt to make an archive. Whereas the app runs high-quality within the simulator, it fails with a linker command error on an actual gadget.

Right here is the error that seems:

Assertion failed: (aliasSectionNum == sectionNum && “alias and its goal should be situated in the identical part”), operate assignAliasAtomOffsetInSection, file Structure.cpp, line 3248.
The complete error output will be seen on this screenshot: y1dnu.png

Primarily based on analysis and solutions from different builders, I attempted enabling core gadget 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.
Positioned 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 challenge 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.
Surroundings:

Xcode Model: 15
Questions:

Has anybody efficiently resolved an identical Xcode linker command error?
Might this difficulty be associated to particular challenge settings that differ between simulator builds and gadget/archive builds?
Is there an alternate method to the -ld64 linker flag that may very well be more practical?
Any assist or perception from those that have confronted and conquered this difficulty could be immensely appreciated.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments