iOS Build Environment Help Center

Error when building for iOS 15.2

append delete kane1220@gmail.com

Windows 10
3.57
15.2

I updated iOS Builder to 3.57 and when I compile my project now I am getting this error.

https://pmbaty.com/paste/?1c2fdb1987b7bda7#5o7A2HrpC8BQA32oZQvqGSVWbwD43wfJSikqgV2tZSg8

Reply RSS

Replies

append delete #1. Pierre-Marie Baty

Hello

Your paste is incomplete. It looks like it exceeded the console's scroll buffer. To avoid this, you can provide the log from the build.log file that's created at the root of your Xcode project.

Anyway, these look like Swift errors, so I'd be tempted to guess that you reused an old SDK with this new version. Unfortunately for this version you need to migrate your iOS SDK again with the updated assistants. There are times where you can't just reuse the old SDK, because of internal changes, and this release is one of them.

Let me know if it goes better after that, I'm 80% confident I guessed right.

append delete #2. kane1220@gmail.com

Okay so I bought a new macbook pro since I sold my old one and I went through the process again with migrating everything over from my new macbook pro to my windows laptop. So I was at iOS 15.2 and now at iOS 16.4. So I updated the the iOS Builder from 3.57 to 3.58. But when I run the iOS Builder now I get this error in the cmd prompt:

https://paste-bin.xyz/988728

I tried to get the build.log in the project but the folder was empty.

Thanks,
Derrick D

append delete #3. kane1220@gmail.com
append delete #4. Pierre-Marie Baty

A quick search on Google for these missing symbols indicate that they're not part of the iOS SDK. Since your project has references to them, it implies that at least one library (probably provided by a Unity asset) is missing.

This can happen if for example your Unity project is corrupt or bogus, like when an asset you no longer use was incompletely removed from it and its remains prevent the generated Xcode project to compile correctly.

The other possibility is that the missing library is here but the builder fails to pick it up during the build process. If you're 100% confident the project is correctly set up (i.e. it can be built with Xcode without problems) then please send it to me (by e-mail: pm at this domain) so that I can study the problem and find out why that library isn't detected by the builder. Confidentiality guaranteed.

:: @Pierre-Marie Baty added on 15 Jul ’23 · 10:59

*edit* They seem to belong to an asset called "EasyMovieTexture". If that may help.

append delete #5. kane1220@gmail.com

How did you figure out that it came from EasyMovieTexture? I don’t see that in the log. But yes it does make sense, it’s an old version of the plug-in that I meant to remove years ago lol! I want to get better at finding errors in the logs, so please tell how you found that out. Thanks!!

append delete #6. kane1220@gmail.com

I did another search and I found it. Sorry about that I must of over looked it earlier. Thanks for the help!

append delete #7. Pierre-Marie Baty

You're welcome. How did I find it ? By entering the name of the first missing symbol reported by the linker in a Google search webpage and looking at the results :-)

E.g. if the first error says:

% builder output
ld64.lld: error: undefined symbol: VideoPlayerPluginCreateInstance
%

Simply enter "VideoPlayerPluginCreateInstance" in Google Search (with the quotes, so that it's not tempted to put a space between each word). The second result says: vr-movie-theater/Assets/*EasyMovieTexture*/Scripts ...

Happy testing :-)

append delete #8. kane1220@gmail.com

Sorry I ran into another error. This time I can't find anything on this. First I had to add JavascriptCore to the extra framework to get pass the google mobile ads dependencies. Now I ran into this error:

https://pmbaty.com/paste/?fb205666404a3689#GwktYY5tgLFro78yqFevS16t7wPLKF4yP3uFbPubQr7f

I am stumped on this one. It seems like it is an issue with the rdc.m in the toolchain within the iOS Plugin. But I feel like this is the last obstacle to get passed lol!

append delete #9. Pierre-Marie Baty
append delete #10. kane1220@gmail.com

Thanks for replying. It worked perfectly! Thank you again for helping with all my issues and making such a great plug-in! I definitely didn’t want to build my project on my new Mac lol!

append delete #11. Pierre-Marie Baty

You're welcome. Happy building !

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