Log in or register to post comments

ios 6.0 building error with unity 3.5.2f2

September 25, 2012 - 4:30am #1

Hi guys!

i can't build my project on my ipad with ios 6.0 with unity 3.5.2f2 + xcode 4.5

errors:

 

Ld /Users/Home/Library/Developer/Xcode/DerivedData/Unity-iPhone-bgtzgvyxjfcdyjhfayasijpgqwow/Build/Products/logoloop.app/logoloop normal armv7

    cd /Users/Home/Desktop/INIMAN/AR/LAVORI/LOGOLOOP_AR/BUILDS/LOGOLOOP00

    setenv IPHONEOS_DEPLOYMENT_TARGET 5.0

    setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"

    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -L/Users/Home/Library/Developer/Xcode/DerivedData/Unity-iPhone-bgtzgvyxjfcdyjhfayasijpgqwow/Build/Products -L/Users/Home/Desktop/INIMAN/AR/LAVORI/LOGOLOOP_AR/BUILDS/LOGOLOOP00 -L/Users/Home/Desktop/INIMAN/AR/LAVORI/LOGOLOOP_AR/BUILDS/LOGOLOOP00/Libraries -F/Users/Home/Library/Developer/Xcode/DerivedData/Unity-iPhone-bgtzgvyxjfcdyjhfayasijpgqwow/Build/Products -filelist /Users/Home/Library/Developer/Xcode/DerivedData/Unity-iPhone-bgtzgvyxjfcdyjhfayasijpgqwow/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/logoloop.LinkFileList -dead_strip -all_load -weak_framework CoreMotion -weak-lSystem -fobjc-link-runtime -miphoneos-version-min=5.0 -framework Security -framework Foundation -framework UIKit -framework OpenGLES -framework QuartzCore -framework OpenAL -liconv.2 -lQCAR -lQCARUnityPlayer -lVuforiaMedia -liPhone-lib -framework AudioToolbox -framework CFNetwork -framework MediaPlayer -framework CoreLocation -framework SystemConfiguration -weak_framework iAd -framework CoreMedia -framework CoreVideo -weak_framework AVFoundation -framework CoreGraphics -weak_framework CoreMotion -weak_framework GameKit -o /Users/Home/Library/Developer/Xcode/DerivedData/Unity-iPhone-bgtzgvyxjfcdyjhfayasijpgqwow/Build/Products/logoloop.app/logoloop

 

Undefined symbols for architecture armv7:

  "ConvertToUnityScreenOrientation(int, EnabledOrientation*)", referenced from:

      -[UnityViewController shouldAutorotateToInterfaceOrientation:] in AppController.o

      -[UnityViewController willRotateToInterfaceOrientation:duration:] in AppController.o

      -[UnityViewController didRotateFromInterfaceOrientation:] in AppController.o

ld: symbol(s) not found for architecture armv7

clang: error: linker command failed with exit code 1 (use -v to see invocation)

 

 "ConvertToUnityScreenOrientation(int, EnabledOrientation*)", referenced from:

 

 -[UnityViewController shouldAutorotateToInterfaceOrientation:] in AppController.o

 

 -[UnityViewController willRotateToInterfaceOrientation:duration:] in AppController.o

 

 -[UnityViewController didRotateFromInterfaceOrientation:] in AppController.o

 

 Symbol(s) not found for architecture armv7

 

 Linker command failed with exit code 1 (use -v to see invocation)

 

 

could it be the old unity version?

any suggestions?

 

thanks a lot guys

 

Francesco

 

 

 

 

 

 

 

 

 

 

ios 6.0 building error with unity 3.5.2f2

September 27, 2012 - 7:30am #8

Yes this should fix it.

N

ios 6.0 building error with unity 3.5.2f2

September 27, 2012 - 5:46am #7

Unity 3.5.6 has just been released, the spalsh screen issue is supposedly fixed with xcode 4.5.  Downloading it now.

ios 6.0 building error with unity 3.5.2f2

September 27, 2012 - 3:39am #6

HI guys,

thanks a lot for informations.. i've updated to 3.5.5f3 and i can easily build....  but with my ios base licences i came across the splashscreen error that i solved setting the Compress PNG to "No" ...and it goes!! thanks guys!

 

ios 6.0 building error with unity 3.5.2f2

September 25, 2012 - 1:12pm #5

iniman wrote:

Hi guys!

i can't build my project on my ipad with ios 6.0 with unity 3.5.2f2 + xcode 4.5

errors:

 

Ld /Users/Home/Library/Developer/Xcode/DerivedData/Unity-iPhone-bgtzgvyxjfcdyjhfayasijpgqwow/Build/Products/logoloop.app/logoloop normal armv7

    cd /Users/Home/Desktop/INIMAN/AR/LAVORI/LOGOLOOP_AR/BUILDS/LOGOLOOP00

    setenv IPHONEOS_DEPLOYMENT_TARGET 5.0

    setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"

    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -L/Users/Home/Library/Developer/Xcode/DerivedData/Unity-iPhone-bgtzgvyxjfcdyjhfayasijpgqwow/Build/Products -L/Users/Home/Desktop/INIMAN/AR/LAVORI/LOGOLOOP_AR/BUILDS/LOGOLOOP00 -L/Users/Home/Desktop/INIMAN/AR/LAVORI/LOGOLOOP_AR/BUILDS/LOGOLOOP00/Libraries -F/Users/Home/Library/Developer/Xcode/DerivedData/Unity-iPhone-bgtzgvyxjfcdyjhfayasijpgqwow/Build/Products -filelist /Users/Home/Library/Developer/Xcode/DerivedData/Unity-iPhone-bgtzgvyxjfcdyjhfayasijpgqwow/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/logoloop.LinkFileList -dead_strip -all_load -weak_framework CoreMotion -weak-lSystem -fobjc-link-runtime -miphoneos-version-min=5.0 -framework Security -framework Foundation -framework UIKit -framework OpenGLES -framework QuartzCore -framework OpenAL -liconv.2 -lQCAR -lQCARUnityPlayer -lVuforiaMedia -liPhone-lib -framework AudioToolbox -framework CFNetwork -framework MediaPlayer -framework CoreLocation -framework SystemConfiguration -weak_framework iAd -framework CoreMedia -framework CoreVideo -weak_framework AVFoundation -framework CoreGraphics -weak_framework CoreMotion -weak_framework GameKit -o /Users/Home/Library/Developer/Xcode/DerivedData/Unity-iPhone-bgtzgvyxjfcdyjhfayasijpgqwow/Build/Products/logoloop.app/logoloop

 

Undefined symbols for architecture armv7:

  "ConvertToUnityScreenOrientation(int, EnabledOrientation*)", referenced from:

      -[UnityViewController shouldAutorotateToInterfaceOrientation:] in AppController.o

      -[UnityViewController willRotateToInterfaceOrientation:duration:] in AppController.o

      -[UnityViewController didRotateFromInterfaceOrientation:] in AppController.o

ld: symbol(s) not found for architecture armv7

clang: error: linker command failed with exit code 1 (use -v to see invocation)

 

 "ConvertToUnityScreenOrientation(int, EnabledOrientation*)", referenced from:

 

 -[UnityViewController shouldAutorotateToInterfaceOrientation:] in AppController.o

 

 -[UnityViewController willRotateToInterfaceOrientation:duration:] in AppController.o

 

 -[UnityViewController didRotateFromInterfaceOrientation:] in AppController.o

 

 Symbol(s) not found for architecture armv7

 

 Linker command failed with exit code 1 (use -v to see invocation)

 

 

could it be the old unity version?

any suggestions?

 

thanks a lot guys

 

Francesco

 

 

 

 

 

 

 

 

 

 

 

Unity has not yet updated the engine. As a work around to build to your device. In Xcode: Select your App > Build Settings > Set Compress PNG under Package to "No". Then you'll be able to build. Apple should still accept your app. Works until Unity actually update their Engine. Best regard

 

Pixelboi

ios 6.0 building error with unity 3.5.2f2

September 25, 2012 - 1:12pm #4

iniman wrote:

Hi guys!

i can't build my project on my ipad with ios 6.0 with unity 3.5.2f2 + xcode 4.5

errors:

 

Ld /Users/Home/Library/Developer/Xcode/DerivedData/Unity-iPhone-bgtzgvyxjfcdyjhfayasijpgqwow/Build/Products/logoloop.app/logoloop normal armv7

    cd /Users/Home/Desktop/INIMAN/AR/LAVORI/LOGOLOOP_AR/BUILDS/LOGOLOOP00

    setenv IPHONEOS_DEPLOYMENT_TARGET 5.0

    setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"

    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -L/Users/Home/Library/Developer/Xcode/DerivedData/Unity-iPhone-bgtzgvyxjfcdyjhfayasijpgqwow/Build/Products -L/Users/Home/Desktop/INIMAN/AR/LAVORI/LOGOLOOP_AR/BUILDS/LOGOLOOP00 -L/Users/Home/Desktop/INIMAN/AR/LAVORI/LOGOLOOP_AR/BUILDS/LOGOLOOP00/Libraries -F/Users/Home/Library/Developer/Xcode/DerivedData/Unity-iPhone-bgtzgvyxjfcdyjhfayasijpgqwow/Build/Products -filelist /Users/Home/Library/Developer/Xcode/DerivedData/Unity-iPhone-bgtzgvyxjfcdyjhfayasijpgqwow/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/logoloop.LinkFileList -dead_strip -all_load -weak_framework CoreMotion -weak-lSystem -fobjc-link-runtime -miphoneos-version-min=5.0 -framework Security -framework Foundation -framework UIKit -framework OpenGLES -framework QuartzCore -framework OpenAL -liconv.2 -lQCAR -lQCARUnityPlayer -lVuforiaMedia -liPhone-lib -framework AudioToolbox -framework CFNetwork -framework MediaPlayer -framework CoreLocation -framework SystemConfiguration -weak_framework iAd -framework CoreMedia -framework CoreVideo -weak_framework AVFoundation -framework CoreGraphics -weak_framework CoreMotion -weak_framework GameKit -o /Users/Home/Library/Developer/Xcode/DerivedData/Unity-iPhone-bgtzgvyxjfcdyjhfayasijpgqwow/Build/Products/logoloop.app/logoloop

 

Undefined symbols for architecture armv7:

  "ConvertToUnityScreenOrientation(int, EnabledOrientation*)", referenced from:

      -[UnityViewController shouldAutorotateToInterfaceOrientation:] in AppController.o

      -[UnityViewController willRotateToInterfaceOrientation:duration:] in AppController.o

      -[UnityViewController didRotateFromInterfaceOrientation:] in AppController.o

ld: symbol(s) not found for architecture armv7

clang: error: linker command failed with exit code 1 (use -v to see invocation)

 

 "ConvertToUnityScreenOrientation(int, EnabledOrientation*)", referenced from:

 

 -[UnityViewController shouldAutorotateToInterfaceOrientation:] in AppController.o

 

 -[UnityViewController willRotateToInterfaceOrientation:duration:] in AppController.o

 

 -[UnityViewController didRotateFromInterfaceOrientation:] in AppController.o

 

 Symbol(s) not found for architecture armv7

 

 Linker command failed with exit code 1 (use -v to see invocation)

 

 

could it be the old unity version?

any suggestions?

 

thanks a lot guys

 

Francesco

 

 

 

 

 

 

 

 

 

 

 

Unity has not yet updated the engine. As a work around to build to your device. In Xcode: Select your App > Build Settings > Set Compress PNG under Package to "No". Then you'll be able to build. Apple should still accept your app. Works until Unity actually update their Engine. Best regard

 

Pixelboi

ios 6.0 building error with unity 3.5.2f2

September 25, 2012 - 6:08am #3

hi NalinS!

thanks for reply! i've already tried various architecture settings but it doesn't work...i'm going now to install latest version of unity and check it.

i'll let you know how it goes..thanks again

 

ios 6.0 building error with unity 3.5.2f2

September 25, 2012 - 5:51am #2

Hi iniman,

It could be Unity but the error does not suggest it, as it's complaining about a missing architecture for amrv7 in the Unity library.

When exactly did it stop working?

Also, have you tried experimenting with the architecture build settings in Unity?

The other thing you could try is the latest Unity?  You can keep your existing Unity by renaming the directory in Applications and then installing the latest one in its own directory.

N

Log in or register to post comments