Log in or register to post comments

Xcode build problem - il2cpp

April 26, 2019 - 3:07am #1

Hi,

 

first a disclaimer: I've also created a thread for the same problem in the Unity community because I don't really know if the problem is Unity or Vuforia related. If it does not fit here, I would kindly ask a moderator to close the topic.  

The problem:

i am developing an Vuforia AR App for Android and iOS. The app already works flawlessly on Android, but I have a hard time building it for iOS.

I've already tried:

Building the Xcode project on the Windows (Main Development) PC and copying it over to the Mac to build it there.

Opening the Project in Unity on the Mac, building the XCode project there and compiling it.



Regardless of 1. or 2. the problem stays the same, I can't get the app to build because of the linker (Log output is attached).

 

Unity Version: 2019.1.0f2

Vuforia Version: 8.1.7

Xcode Version: 10.2.1

I have experience in building Xamarin.Form Apps for iOS, but I never really used Xcode before. So, it would be nice if someone could point me in the right direction of how to fix this.

If you need further information, please let me know.

AttachmentSize
Plain text icon linkerlog.txt21.26 KB

Xcode build problem - il2cpp

April 29, 2019 - 1:16pm #8

SO neither of those fixed it. Any word vuforia people? I have a pretty big grade riding on this project so any word on why why it keeps converting to 32bit when I export it as a 64 bit.

 

PS.

OK, and THANK GOD, I got it to archive. Went to architecture and instead of selecting standard architecture I went to other. I clicked on armv7 and then hit the subtract button leaving only arm64. I can't believe this has been staring at me in the face for like 4 days. Is this what software developing is like? I'm glad I'm an art major lol. well fuck time to see if I can get it submitted to the store.

Xcode build problem - il2cpp

April 29, 2019 - 9:49am #7

cervesus wrote:

medabit wrote:

Hello,

Looking at the output provided by @crmcduff, I believe this may be related to support for 32-bit iOS devices being removed from 8.1.7 Engine SDK: https://library.vuforia.com/content/vuforia-library/en/articles/Release_Notes/Vuforia-SDK-Release-Notes.html

Quote:

Support for iOS 9, iOS 10 and 32-bit iOS devices has been removed. Developers should update their builds to target a minimum release of iOS 11 and remove references to 32-bit architectures (armv7, armv7s).

Thanks,

Vuforia Engine Support

 

Well, I've already tried that. But the interesting part is, that although I've set the "Target minimum iOS Version" to "11.0", the target is set to "9.0" again when opening the Xcode project. Manually changing it back to "11.0" and removing armv7/armv7s does not help/fix the problem.

 

P.S.:

 

I've solved the problem now (although the solution does not make much sense for me):

https://forum.unity.com/threads/xcode-build-problem-il2cpp.668350/#post-4480414

 

After that, the target iOS Versions of Unity and XCode matched.

 

 

 

I'll try turning off automatic signing. For me Clamp BlandShapes is already activated so I'll test it with it on and with it off to see which works.

Xcode build problem - il2cpp

April 28, 2019 - 11:06pm #6

medabit wrote:

Hello,

Looking at the output provided by @crmcduff, I believe this may be related to support for 32-bit iOS devices being removed from 8.1.7 Engine SDK: https://library.vuforia.com/content/vuforia-library/en/articles/Release_Notes/Vuforia-SDK-Release-Notes.html

Quote:

Support for iOS 9, iOS 10 and 32-bit iOS devices has been removed. Developers should update their builds to target a minimum release of iOS 11 and remove references to 32-bit architectures (armv7, armv7s).

Thanks,

Vuforia Engine Support

 

Well, I've already tried that. But the interesting part is, that although I've set the "Target minimum iOS Version" to "11.0", the target is set to "9.0" again when opening the Xcode project. Manually changing it back to "11.0" and removing armv7/armv7s does not help/fix the problem.

 

P.S.:

 

I've solved the problem now (although the solution does not make much sense for me):

https://forum.unity.com/threads/xcode-build-problem-il2cpp.668350/#post-4480414

 

After that, the target iOS Versions of Unity and XCode matched.

 

 

Xcode build problem - il2cpp

April 27, 2019 - 11:41am #5

medabit wrote:

Hello,

Looking at the output provided by @crmcduff, I believe this may be related to support for 32-bit iOS devices being removed from 8.1.7 Engine SDK: https://library.vuforia.com/content/vuforia-library/en/articles/Release_Notes/Vuforia-SDK-Release-Notes.html

Quote:

Support for iOS 9, iOS 10 and 32-bit iOS devices has been removed. Developers should update their builds to target a minimum release of iOS 11 and remove references to 32-bit architectures (armv7, armv7s).

Thanks,

Vuforia Engine Support

 

How do I fix that. I've tried exporting it in unity as a an 11.0 iOS. The dropdown menu in Unity doesn't even show the 32-bit iOS in the drop down menu for which architecture to build for. Only Arm64. 

Xcode build problem - il2cpp

April 26, 2019 - 3:11pm #4

How do I go about fixing that?

Xcode build problem - il2cpp

April 26, 2019 - 1:09pm #3

Hello,

Looking at the output provided by @crmcduff, I believe this may be related to support for 32-bit iOS devices being removed from 8.1.7 Engine SDK: https://library.vuforia.com/content/vuforia-library/en/articles/Release_Notes/Vuforia-SDK-Release-Notes.html

Quote:

Support for iOS 9, iOS 10 and 32-bit iOS devices has been removed. Developers should update their builds to target a minimum release of iOS 11 and remove references to 32-bit architectures (armv7, armv7s).

Thanks,

Vuforia Engine Support

Xcode build problem - il2cpp

April 26, 2019 - 11:02am #2

I am having this same problem with mine as well. It will build succesfully when testing but throws up this error when I try to archive it for app store submission. My app isn't even complex it just shows 3d models when pointed at some artwork of mine. Been trying multiple different export settings on unity on PC then opening it on one of my school's macs in xCode. It works fine on android as an apk file and will run on my iPad when I test build it.

AttachmentSize
Microsoft Office document icon Ld.doc149 KB
Log in or register to post comments