iOS Build Environment Help Center

undefined symbol: _swift_FORCE_LOAD_$_swiftXPC

append delete Pedro Crispim

•Windows: 11
• Builder: 3.64
• ios: 17
Logs:
https://pmbaty.com/paste/?10b3af1b608107e0#FhUeT14HMUPUytzJBtePZHRLoFXWp1p1Wqcq1yHWuoMy

Hello, hope everything is well.
The builder had been building Ironsource correctly since the last update but for some reason, after I updated Levelplay to version 8.2, there seems to be an error "ld64.lld: error: undefined symbol: _swift_FORCE_LOAD_$_swiftXPC"

Do you have any idea of a workaround? Thank.

Reply RSS

Replies

append delete #1. Pierre-Marie Baty

Hello there,

I suppose it's way too late for you specifically, but I can nonetheless answer for others.

The procedure to solve undefined symbols is given in the help files, but in case you followed it without success, and assuming you did provide all the libraries and frameworks your app needs to the builder, such errors generally mean the concerned code requires a function from a library or framework that hasn't been found in the SDK with which you are building.

In such cases updating your iOS SDK has great chances to solve the problem.

Take care meanwhile that other parts of your app's code don't use functions or APIs that would be deprecated by Apple in this new SDK.

If it does not, it might mean that one of the precompiled libraries or frameworks you use requires an exact match with the rest of the system, as indicated here (and you see it's not a problem directly related with the builder): https://forums.developer.apple.com/forums/thread/749915

append delete #2. Pedro Crispim

Actually not too late! I stopped trying to solve and actually just downgraded LevelPlay to an older version (8.1.0).
I'm extracting a new IOS sdk so I'll be able to find out if it solves the problem tonight.

Reply

(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Moderators: Pierre-Marie Baty