-1.9 C
New York
Saturday, January 11, 2025

ios – Unity, XCode: Nonexistant IL2CPP file when archiving


I am an entire newbie with XCode and app improvement for iOS (as in, I actually solely had to consider this drawback beginning this month), so this has stumped me enormously. I’ve this augmented actuality app developed in Unity, utilizing Home windows. It has compiled for Android no drawback; in truth, the app has been within the App Retailer for a number of months now. I am now making an attempt to compile that very same challenge for iOS. To that impact, I’ve adopted these steps, after following primary tutorials:

  • Used Unity’s compiler to generate the XCode bundle;
  • Zipped your complete bundle and despatched it to a MacBook Professional during which XCode is working;
  • Opened Unity-iPhone.xcodeproj on XCode, went by means of a primary setup, and proceeded to Product -> Archive.

Nonetheless, within the UnityFramework construct section (or so I perceive), I get this error:

clang++: error: no such file or listing: '/Customers/[User]/Downloads/Unity-iPhone/DerivedData/Unity-iPhone/Construct/Intermediates.noIndex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Launch-iphoneos/il2cpp.a

Command Ld failed with a nonzero exit code

The file certainly does not exist, however I do not know the place within the constructing course of it is generated, if I’ve the constructing phases flawed or if there’s one thing I must be doing in Unity previous to making an attempt to run this. I’ve appeared for those that might have had related troubles, however the one factor I managed to seek out was somebody with the identical challenge that flagged it as Solved after discovering it out for themselves with out providing the answer. I might be extraordinarily grateful for any assist, and may present different data/screenshots if wanted.

TL;DR: I’ve tried to export an Unity challenge in-built Home windows to a MacBook so to Archive it by means of XCode. The result’s a construct failure due to a file that does not exist that, I assume, ought to’ve been generated throughout construct.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles