Search Unity

Unknown iOS build error

Discussion in 'Unity Build Automation' started by DNSavar, Sep 15, 2014.

  1. DNSavar

    DNSavar

    Joined:
    Jun 21, 2010
    Posts:
    16
    Hi, I don't really understand where the error is... I am able to build it locally on my MAC with XCode but not with the Unity Cloud Build...

    Somebody can light my lantern ? :)

    Here the ending of the log:

    (...)
    21823: [xcode] 4 warnings generated.
    21824: [xcode] CompileC build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/ScriptIntegration.o Classes/Unity/ScriptIntegration.mm normal armv7 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
    21825: [xcode] export LANG=en_US.US-ASCII
    21826: [xcode] CompileC build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/iAD_Scripting.o Classes/UI/iAD_Scripting.mm normal armv7 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
    21827: [xcode] export LANG=en_US.US-ASCII
    21828: [xcode] CompileC build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/LifeCycleListener.o Classes/PluginBase/LifeCycleListener.mm normal armv7 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
    21829: [xcode] export LANG=en_US.US-ASCII
    21830: [xcode] CompileC build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/RenderPluginDelegate.o Classes/PluginBase/RenderPluginDelegate.mm normal armv7 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
    21831: [xcode] export LANG=en_US.US-ASCII
    21832: [xcode] CompileC build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/AppDelegateListener.o Classes/PluginBase/AppDelegateListener.mm normal armv7 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
    21833: [xcode] export LANG=en_US.US-ASCII
    21834: [xcode] CompileC build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/DeviceSettings.o Classes/Unity/DeviceSettings.mm normal armv7 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
    21835: [xcode] export LANG=en_US.US-ASCII
    21836: [xcode] CompileC build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/FbUnityInterface.o Assets/Facebook/Editor/iOS/FbUnityInterface.mm normal armv7 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
    21837: [xcode] export LANG=en_US.US-ASCII
    21838: [xcode] @implementation FbUnityInterface
    21839: [xcode] ^
    21840: [xcode] -(id)initWithCookie:(bool)cookie logging:(bool)_logging status:(bool)_status frictionlessRequests:(bool)_frictionlessRequests urlSuffix:(const char *)urlSuffix;
    21841: [xcode] ^
    21842: [xcode] FBShareDialogParams *dialogParams = [[[FBShareDialogParams alloc] init] autorelease];
    21843: [xcode] ^
    21844: [xcode] @interface FBShareDialogParams : FBLinkShareParams
    21845: [xcode] ^
    21846: [xcode] FBShareDialogParams *dialogParams = [[[FBShareDialogParams alloc] init] autorelease];
    21847: [xcode] ^
    21848: [xcode] @interface FBShareDialogParams : FBLinkShareParams
    21849: [xcode] ^
    21850: [xcode] dialogParams.description = [NSString stringWithUTF8String:linkDescription];
    21851: [xcode] ^
    21852: [xcode] @property (nonatomic, copy, getter = linkDescription, setter = setLinkDescription:) NSString *description __attribute__ ((deprecated("use linkDescription instead")));
    21853: [xcode] ^
    21854: [xcode] [FBSettings publishInstall:[NSString stringWithUTF8String:appId] withHandler:
    21855: [xcode] ^
    21856: [xcode] + (void)publishInstall:(NSString *)appID
    21857: [xcode] ^
    21858: [xcode] [FBAppEvents setLimitEventUsage:limitEventUsage];
    21859: [xcode] ^
    21860: [xcode] + (void)setLimitEventUsage:(BOOL)limitEventUsage __attribute__ ((deprecated("use [FBSettings setLimitEventAndDataUsage] instead")));
    21861: [xcode] ^
    21862: [xcode] 6 warnings generated.
    21863: [xcode] CompileC build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/SocialGate.o Assets/Plugins/StansAssets/IOS/SocialGate.mm normal armv7 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
    21864: [xcode] export LANG=en_US.US-ASCII
    21865: [xcode] CompileC build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/ISNDataConvertor.o Assets/Plugins/StansAssets/IOS/ISNDataConvertor.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    21866: [xcode] export LANG=en_US.US-ASCII
    21867: [xcode] export IPHONEOS_DEPLOYMENT_TARGET=4.3
    21868: [xcode] ** BUILD FAILED **
    21869: [xcode] The following build commands failed:
    21870: [xcode] (1 failure)
    21871: ! build of 'default-ios' failed. compile failed
    21872: uninstalling com.EpiqGames.ScribeWar - com.EpiqGames.ScribeWar.defaultP12
    21873: MAC verified OK
    21874: Removing certificate...
    21875: uninstalling com.EpiqGames.ScribeWar - com.EpiqGames.ScribeWar.defaultMobileprovision
    21876: Build step 'Execute shell' marked build as failure
    21877: postbuildstatus finished successfully.
    21878: Deleting project workspace...
    21879: Finished: FAILURE
    Status: FAILED
     
  2. DNSavar

    DNSavar

    Joined:
    Jun 21, 2010
    Posts:
    16
    Finally I found the problem...

    My project is on a svn server and by default, svn ignore .a file...

    I needed Facebook.a in my xcode linked libraries... So, the error was not clear at all!
     
    hypeNate likes this.
  3. hypeNate

    hypeNate

    Unity Technologies

    Joined:
    Apr 4, 2014
    Posts:
    272
    @dNSavar - great! Glad you found the problem. Please let us know how your experience with Unity Cloud Build goes. Thanks for trying it out!