- Home /
U3DXT : xcode fails to compile with unity 4.6.7
The xcode project generated with Unity 4.6.7 failed to compile; it is missing frameworks and libraries.
How do I get access to mod_pbxproj.py & post_process.py? so I can fix the problem.
I can fix the project manually but is a pain.
thanks,
Any chance you could post the steps for fixing the compile problem manually? Someone may be able to set-up new post-build python scripts based on those instructions. Thanks!
Answer by inwoods · Aug 03, 2015 at 06:16 PM
Here's what I need to fix to get the project.pbxproj file to compile and link.
update to Unity 4.6.7 (>4.6.2)
update to U3DXT 1.7.1.2 (64 bit support)
Unity Player Settings
check unity player setting graphics API : Automatic
check unity version : 4.6.7
check scripting backend : IL2CPP
Xcode .xcodeproj
Build Settings -> Architectures -> ARCH = Standard Architectures
- add missing U3DXT iOS Libraries
core
coreextra
social
add missing iOS frameworks
assets library
mobile core services
security
messageUI
social
twitter
Hey, Thanks for posting this - it looks like you have solved a big problem for me compiling U3DXT. However I'm struggling with the first two steps, where should I add the missing U3DXT iOS Libraries? and what exactly do you mean by the architectures?
EDIT: I believe adding libraries means adding the files in U3DXT/Editor/libs and dragging them into the linked frameworks
I added the frameworks just fine
When compiling I get 200 errors which read like this:
Apple $$anonymous$$ach-O Linker Error "_UP_SpeechXT_init" referenced from:
Thanks!
You have it right for the .a files but it looks like you are using more that just core, core extras and social. Update all libraries that you are using.
for ARCHS, you find that in Xcode. In the Project Editor window select the Project. In the tabs select "Build Settings". In the collapsable gridview you'll see Architectures and under that you'll see ARCHS. It needs to be set to Standard to compile for 64 bit.
inwoods and Carpet_Head - Can one of you give more details on what it means to add the frameworks? eg do I drag the .a files from the examples into xcode somewhere? Thanks.
unity 5.1.3p1 adds support for xcode 6.4 and seems to fix all issues for me
Your answer

Follow this Question
Related Questions
U3DXT Bug: Zooming into Annotations on MapKit Crashes App 0 Answers
iOS TurnBased with U3DXT - Removing games in invalid state 1 Answer
U3DXT - How to scan for BLE devices with u3dxt.ios.native.corebluetooth? 0 Answers
TurnChanged is not fired always. 1 Answer
Attention U3DXT - Help Needed Urgently 0 Answers