Sign In Register

How can we help you today?

Start a new topic

Unity iOS Build error

We just upgraded to 'V5.6.2.189' from an older version.  We noticed a few new files come in, in particular "IOSWebSocket.cs".  When building for iOS, we now get an error:


ndefined symbols for architecture armv7:
  "_GSExternalClose", referenced from:
      _IOSWebSocket_Close_m3080402176 in Bulk_Assembly-CSharp_4.o
      _IOSWebSocket_GSExternalClose_m1904465450 in Bulk_Assembly-CSharp_4.o
      _IOSWebSocket_Terminate_m2731885547 in Bulk_Assembly-CSharp_4.o
     (maybe you meant: _IOSWebSocket_GSExternalClose_m1904465450)
  "_GSExternalSend", referenced from:
      _IOSWebSocket_Send_m127356262 in Bulk_Assembly-CSharp_4.o
      _IOSWebSocket_GSExternalSend_m737613404 in Bulk_Assembly-CSharp_4.o
     (maybe you meant: _IOSWebSocket_GSExternalSend_m737613404)
  "_GSExternalOpen", referenced from:
      _IOSWebSocket_GSExternalOpen_m1186421726 in Bulk_Assembly-CSharp_4.o
     (maybe you meant: _IOSWebSocket_GSExternalOpen_m1186421726)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Do we need to do anything to the project to support this?  I can't seem to find much documentation on 'GSExternalOpen', etc?


Thanks!


1 person has this question

Hi Matthew


What version of Unity are you using?


Regards

Katie



We're currently using Unity 2017.2.0f3

 

Solved the issue, the old version had a few files that the new SDK didn't have and was left around in the project.  Deleting those made everything work again.  Thanks!

 

Confirmed this was the issue.


Thanks Matthew for pointing this out.


We also had to manually delete a nice bunch of file since opening a unity package doesn't delete files: could be a great idea to add this information to the release notes of the SDKs versions so people won't have this problem anymore.


Regards,

Hi, same problem here. Which are the files that need to be deleted?

Hi Antonio,


You may want to delete all files/directories that match the directories structure of the package : typically everything under GameSparks folders you didn't created. In case you have your own scripts under those directories, it would be safer to backup them before deletion so you can copy your scripts after package installation ;)


Regards,


1 person likes this
Login to post a comment