[Unity]Error when building Jenkins on iOS

920 views
Skip to first unread message

Yasuhiro Takatori

unread,
Apr 20, 2017, 9:52:40 AM4/20/17
to Firebase Google Group
Hello I am using Firebase 3.0.1 and Unity 5.6. I use Jenkins to build the iOS project, but a build error occurs in Firebase 3.0.1.
There was no build error when Firebase 1.0.1. I have succeeded in building Unity, but it seems that the necessary files were not imported when building Xcode.
When Build and Run was done with Unity, it was able to build normally, but it seems that building with Jenkins does not work well.
I do not know why this happens with Firebase 3.0.1 and I would like to tell you how to solve it.
The following is a build error that occurred in Jenkins build.

Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_FIRGoogleAuthProvider", referenced from:
      objc-class-ref in libAuth.a(credential_ios_de0c3e1fa34e9a30835a63e195323a0f.o)
  "_OBJC_CLASS_$_FIRGitHubAuthProvider", referenced from:
      objc-class-ref in libAuth.a(credential_ios_de0c3e1fa34e9a30835a63e195323a0f.o)
  "_OBJC_CLASS_$_FIREmailPasswordAuthProvider", referenced from:
      objc-class-ref in libAuth.a(credential_ios_de0c3e1fa34e9a30835a63e195323a0f.o)
  "_OBJC_CLASS_$_FIRFacebookAuthProvider", referenced from:
      objc-class-ref in libAuth.a(credential_ios_de0c3e1fa34e9a30835a63e195323a0f.o)
  "_OBJC_CLASS_$_FIRApp", referenced from:
      objc-class-ref in libApp.a(app_ios_3c1f2f5540e3edfbae8c7bf918ae5900.o)
  "_OBJC_CLASS_$_FIRAuth", referenced from:
      objc-class-ref in libAuth.a(auth_ios_7d6b9e9ddb5f240ff95f510fddebba51.o)
  "_OBJC_CLASS_$_FIRTwitterAuthProvider", referenced from:
      objc-class-ref in libAuth.a(credential_ios_de0c3e1fa34e9a30835a63e195323a0f.o)

** ARCHIVE FAILED **

Best regards!

Stewart Miles

unread,
Apr 20, 2017, 10:47:45 AM4/20/17
to fireba...@googlegroups.com
It looks like Cocoapods required by the project are not being installed.  Please make sure you have Cocoapod installation enabled in the project:




To enable very verbose log output goto the "Assets > Play Services Resolver > iOS Resolver > Settings" menu option and check the "Verbose Logging" box.  This should generate a load of debug information to help diagnose the issue.  Please reply with your build logs from Unity and we'll take a look at what's going wrong.


Cheers,
Stewart


--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/996e1445-c75e-4f86-8770-3daba51655ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Yasuhiro Takatori

unread,
May 1, 2017, 10:35:31 AM5/1/17
to Firebase Google Group
Thank you Stewart!

I solve the problem that I can not build using Jenkins so I report it !

The cause of prebrem is that iOSResolver was ignoroed when jenkins build.

So I solved the problem by selecting iOS in the [Include platform] item of Google.iOSResolver and Apply.

I hope this report will help someone else.


I hope this report will help someone else.

Thunk you :D

2017年4月20日木曜日 23時47分45秒 UTC+9 Stewart Miles:
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages