By Cypox
on Sun, 09/16/2012 - 18:24
Hello,before upgrading XCode and Unity all was ok, but since upgrades I'm unable to compile (IOS Build & Run from Unity) AR Apps, also the demo ones.I can't understand how to solve this problem,please help!This is my config:
- Unity extension for IOS, rel 1.5.8
- MacOS 10.7.4 Lion
- Xcode 4.4.1 (4F1003)
- Unity version 3.5.3f
- iPhone4, iPad New 3
- iOS 5.1.1
- No jailbreaks
Xcode 4.4.1 unable to compile Vuforia-Unity Extension
Hi cypox
Can you provide some more information?
What do the logs say etc.?
Also, I think the latest Unity is 3.5.5f3?
N
Xcode 4.4.1 unable to compile Vuforia-Unity Extension
Hi!
yes, Unity version 3.5.5f3, sorry :)
The real problem is that Unity process creates the IOS project folder properly, but when you try to compile the project the result is: "BUILD FAILED" and no other informations.
Xcode 4.4.1 unable to compile Vuforia-Unity Extension
Can you try starting from scratch as it seems like something has got confused somewhere?
Also, a screenshot of xcode might be useful as well to show the Build Failed message - not come across this before.
Xcode 4.4.1 unable to compile Vuforia-Unity Extension
1) Cleaned Xcode\DerivedData directory.
2) Created a new Unity project without Vuforia: compiled and deployed on IOS properly
3) Added Vuforia package, Added package for marker image.
After build, it gives me these messages, in linking phase:
Xcode 4.4.1 unable to compile Vuforia-Unity Extension
Hi Cypox
Can you check that the Security.framework has been added to your XCode project as it looks like it could be missing?
N
Xcode 4.4.1 unable to compile Vuforia-Unity Extension
Hi NalinS
I added Security.framework to xcode project, but errors still remain.
The very strange thing is that my old functioning projects now do not compile...
Xcode 4.4.1 unable to compile Vuforia-Unity Extension
Hi
One thing you could try is taking out armv6 compatibility as Vuforia does not support devices with these anyway.
There has to be an explanation, and hopefully it will be something very simple, like a flag or setting that has defaulted in a different way following your upgrades.
Xcode 4.4.1 unable to compile Vuforia-Unity Extension
Hi again,
I upgraded first XCode to 4.4.1, via AppStore.
After, I upgraded Unity from 3.5.2 to 3.5.3 and the day after to 3.5.5f3.
Problems were also in the 3.5.3
thanks for your patience.
F (Cypox)
Xcode 4.4.1 unable to compile Vuforia-Unity Extension
Hi cypox,
Sorry you are having problems.
If it helps I would be happy to try and build the project at my end and let you know what happens.
Just PM me with a link and I will see what I can do.
cheers,
N
Xcode 4.4.1 unable to compile Vuforia-Unity Extension
Just a thought, but I think it might be something to do with armv6 and deployment targets so you could try experimenting with various flags / settings in there
N
Xcode 4.4.1 unable to compile Vuforia-Unity Extension
thanks Nalin,
this evening I'll try various flags and I'll prepare a ZIP file to share with you.
Write you later!
Cypox
Xcode 4.4.1 unable to compile Vuforia-Unity Extension
You might wan to try remove armv6 in Unity build settings,
and in Xcode, remove armv6 from architecture.
Xcode 4.4.1 unable to compile Vuforia-Unity Extension
Hi all and Thanks very much,
all suggestions were right. Great job.
Now all it's ok!
Cypox