Skip to content

iOS linker related problem - Undefined symbols for architecture armv7 #7

@naviln

Description

@naviln

Hi buddy,

First off, thanks for writing this great library!

I was wondering if you could help me with a problem though.

The code works fine on Windows, but I am having problems getting my iOS (xCode) project to build.
Note: For the xCode build, I made sure to copy your Clipper.m class to the xCode Classes directory.
I'm also using Unity 2019.2.10f1.

I'm getting what i think is a linker related problem, with the below error message when compiling a build:


**Undefined symbols for architecture armv7:**
  "_GetText_", referenced from:
      _IOSBoard_GetText__mA13281C8A5A65250167530FBB150264D041AB6E7 in Assembly-CSharp5.o
      _IOSBoard_GetText_mF78C1DC7C37548EADD02058A637EF76C5911C6E7 in Assembly-CSharp5.o
     (maybe you meant: _DownloadHandlerAssetBundle_GetText_m0144E0707A55ADBBC66C19DC5D6221D3223F84A6
....(etc)

and 

  "_SetText_", referenced from:
      _IOSBoard_SetText__m7FBF011174C431B25DD980E66548A7986C11A6D4 in Assembly-CSharp5.o
      _IOSBoard_SetText_m0AC57A1A382A2C63858031C8C4FCEF19F908E640 in Assembly-CSharp5.o
     (maybe you meant: _InputField_SetText_mEF14F85B3A852C7BB42625B5982DB4BFEBAF313F
, _TMP_Text_SetText_mE31395C5506EA24624808AC2B8F97E23088E7CA7 , _TMP_Text_SetText_m81695E980F258FE71614F039212E0E13735E71CA , _TMP_Text_SetText_m019D59D1F9793BFFBD1FD19528417B703B6493DA 
, _TMP_InputField_SetText_m443EDC83FCAD9F1151E238C7A1C03888C2F461FE 
...(etc)
, _StandardBoard_SetText_m703CE0C4095C8CBB2827A864B830D2DB62D33C17_MetadataUsageId 
, _UniClipboard_SetText_mC68D9BFBF3BB1294141A9C489F0F30C936C8810E_MetadataUsageId 
, _UniClipboard_SetText_mC68D9BFBF3BB1294141A9C489F0F30C936C8810E 
)
**ld: symbol(s) not found for architecture armv7**
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Do you have any suggestions on what I am doing wrong? How can i fix this?

Cheers!
Navil

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions