Log in or register to post comments

Apple mach-o linker error 38 errors

June 19, 2015 - 5:42am #1

Hello 

i have developed the app in unity 4.6 on windows pc.. transferred the files to mac unity 5 - 

Build the project for iphone.. after importing the xcode project i get 38 errors = "apple mach-o linker errors"

Any suggestions ? is the version difference causing the issues ? vuforia version is 3+.

 

 

Apple mach-o linker error 38 errors

June 30, 2015 - 1:33am #15

yeah.. so i guess i will start a new thread ..

Apple mach-o linker error 38 errors

June 30, 2015 - 1:31am #14

@lexiconcreations:

So, the linker / build errors are not occurring any more; which is the topic of this Thread;

now, if your App is crashing at runtime, this is probably a different issue (not related to this thread anymore).

 

You need to debug the app crash, check the logs, and then, after that, if you find something pointing to a potential Vuforia bug, please feel free to create a new Thread on the specific subject.

Apple mach-o linker error 38 errors

June 30, 2015 - 1:27am #13

hello.. thanks xcode did build it perfectly..

but it crashes on launch of app :(

Apple mach-o linker error 38 errors

June 23, 2015 - 11:36pm #12

okay my game work fine now on the IOS

the solution : JUST BUILD IT ON MAC

 

i feel stupid for wasting 2 days looking for fixing this error -_-

thank you mod :)

Apple mach-o linker error 38 errors

June 23, 2015 - 2:32am #11

AlessandroB wrote:

@keitaro3660: you need to build directly on Mac from Unity.

 

so vuforia not support cross platform IOS from windows build?

okay i'll try again when build on mac

Apple mach-o linker error 38 errors

June 23, 2015 - 2:07am #10

@keitaro3660: you need to build directly on Mac from Unity.

 

Apple mach-o linker error 38 errors

June 23, 2015 - 12:34am #9

i use unity 4.6.6 (said that it fix xcode 6.3 build), use vuforia 4.2.3 (latest)

Build on windows, import to mac 10.10

already use ILCPP and Universal

 

but i still got this tremendous Linker Error, i think it just from vuforia :'(

so what i did wrong? really confuse here :'(

Apple mach-o linker error 38 errors

June 22, 2015 - 3:51am #8

Oksie.. thanks

let me check..

Apple mach-o linker error 38 errors

June 22, 2015 - 3:47am #7

Oksie.. thanks

let me check..

Apple mach-o linker error 38 errors

June 22, 2015 - 3:22am #6

You mentioned in your first post this:

...i have developed the app in unity 4.6 on windows pc.. transferred the files to mac... 

so, I thought you were building the project on Windows and then copying the generated Xcode project to Mac.

But if you are now building the Unity project from Mac, then I guess the problem is that you are using Vuforia 3.0 on Unity 5;

Compatibility with Unity 5 has been introduced with Vuforia 4.0.105 and later versions (current version is Vuforia 4.2.3);

so, either you use Unity 4.6  OR   you upgrade to Vuforia 4.2.3.

Also, note that Vuforia 3.0 does not support 64bit builds on iOS, which is now mandatory for submitting Apps to Apple.

Vuforia 4.0 and 4.2.3 support iOS on both 32bit and 64bit modes.

 

So, either way, if you are targeting the iOS platform, the recommendation would be to upgrade to Vuforia 4.2.3

See also:

https://developer.vuforia.com/library/articles/Solution/How-To-Migrate-a-Unity-Project

https://developer.vuforia.com/library/articles/Release_Notes/Vuforia-40-SDK-Release-Notes

Apple mach-o linker error 38 errors

June 22, 2015 - 3:04am #5

The ios build is been done on MAC itself. using unity 5.

any specific settings required ?

Apple mach-o linker error 38 errors

June 22, 2015 - 1:54am #4

Yes, building in Unity will produce an Xcode project; but if you generate the Xcode project from Windows (and then copy it to the Mac), this may not compile or link correctly with Vuforia.

If you are building a Vuforia project for iOS, You need to open the project in Unity on Mac (not on Windows), and build the project on Mac; this will generate a valid Xcode project that should compile and link correctly.

 

Apple mach-o linker error 38 errors

June 22, 2015 - 1:50am #3

but ...Build in unity leads to the xcode project..

Apple mach-o linker error 38 errors

June 20, 2015 - 11:39pm #2

You should build the Unity project directly on Mac.

 

Log in or register to post comments