Search Unity

failed to build in 3.5.1.f2 iOS 5 Xcode 4.3

Discussion in 'iOS and tvOS' started by vrgz, Apr 27, 2012.

  1. vrgz

    vrgz

    Joined:
    Apr 20, 2011
    Posts:
    34
    Ld /Users/vrgzdotcom/Library/Developer/Xcode/DerivedData/Unity-iPhone-fkghharyahykfzcqthozccfqwdsg/Build/Products/momopush.app/momopush normal armv7
    cd /Users/vrgzdotcom/Desktop/555
    setenv IPHONEOS_DEPLOYMENT_TARGET 3.2
    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/iPhoneOS5.0.sdk -L/Users/vrgzdotcom/Library/Developer/Xcode/DerivedData/Unity-iPhone-fkghharyahykfzcqthozccfqwdsg/Build/Products -L/Users/vrgzdotcom/Desktop/momopush3.5/Assets/Editor/StoreKit -L/Users/vrgzdotcom/Desktop/momopush3.5/Assets/Editor/GameCenter -L/Users/vrgzdotcom/Desktop/555 -L/Users/vrgzdotcom/Desktop/555/Libraries -F/Users/vrgzdotcom/Library/Developer/Xcode/DerivedData/Unity-iPhone-fkghharyahykfzcqthozccfqwdsg/Build/Products -filelist /Users/vrgzdotcom/Library/Developer/Xcode/DerivedData/Unity-iPhone-fkghharyahykfzcqthozccfqwdsg/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/momopush.LinkFileList -dead_strip -all_load -weak_framework CoreMotion -weak-lSystem -miphoneos-version-min=3.2 -framework Foundation -framework UIKit -framework OpenGLES -framework QuartzCore -framework OpenAL -liconv.2 -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 -weak_framework MessageUI -lz.1.2.3 -lP31MonoBridge -framework StoreKit -lStoreKit -o /Users/vrgzdotcom/Library/Developer/Xcode/DerivedData/Unity-iPhone-fkghharyahykfzcqthozccfqwdsg/Build/Products/momopush.app/momopush

    ld: library not found for -lz.1.2.3
    Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ failed with exit code 1


    what happen ?
    i use the prime31 plugins.
    anyone any idea?
     
    Last edited: Apr 27, 2012
  2. vrgz

    vrgz

    Joined:
    Apr 20, 2011
    Posts:
    34
    oh the unity3d version is 3.5.1.f2
    i type it wrong.
     
  3. JonnyHilly

    JonnyHilly

    Joined:
    Sep 4, 2009
    Posts:
    749
    if you copied your project from one folder to another folder to use it again.... often some files get left behind, as they are hidden system files, such as the library files (.a) this happens with version control, e.g. svn or on mac 'Versions' or depending on your pc/mac settings.
    Try re-importing the plugin again.