Welcome! › Forums › Unity Plugins › In-App Web Browser › iOS UCB Failure
Tagged: iOS UCB armv7
- This topic has 5 replies, 2 voices, and was last updated 5 years ago by Chad.
-
AuthorPosts
-
November 15, 2019 at 3:50 pm #1844ChadParticipant
Hello Piotr, I recently tried upgrading to 2.0.1 (I’m using Unity 2019.1.14f1) and I keep getting a build error in the Unity Cloud Builder (using Xcode 10.2) and in my own builds with Xcode 10:
18619: ▸ Linking athena
18620: ❌; ld: symbol(s) not found for architecture armv7
18621: ❌; clang: error: linker command failed with exit code 1 (use -v to see invocation)
18622: ▸ Compiling mscorlib3.cpp
18623: ▸ Compiling mscorlib21.cpp
18624: ❌; Undefined symbols for architecture armv7
18625: > mscorlib3.o
18626: > mscorlib21.o
18627: ▸ Compiling mscorlib20.cpp
18628: ▸ Compiling mscorlib2.cpp
18629: ▸ Compiling mscorlib19.cpp
18630: ▸ Compiling mscorlib18.cpp
18631: ▸ Compiling mscorlib17.cpp
18632: ** ARCHIVE FAILED **
18633: The following build commands failed:
18634: Ld /BUILD_PATH/Library/Developer/Xcode/DerivedData/Unity-iPhone-fnflmxwkhslymdcsndbvtomyogqa/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/athena normal armv7
18635: (1 failure)
18636: Exit status: 65I did find some old files in the iOS Plugins directory from the previous version and removed those, but I still see this build error.
Any thoughts what I could try?
Thank you!
November 15, 2019 at 4:09 pm #1845PiotrKeymasterHi,
Logs should put details of those “undefined symbols”, like here:
Undefined symbols for architecture armv7
What’s listed under it?
November 16, 2019 at 3:36 pm #1847ChadParticipantApologies – I just realized UCB doesn’t output that information for some odd reason. Here’s the output directly from Xcode:
Undefined symbols for architecture armv7: "___isPlatformVersionAtLeast", referenced from: -[WebKitInAppBrowserViewController startLoadingWebView] in InAppWebBrowser.a(WebKitInAppBrowserViewController.o) -[WebKitInAppBrowserViewController webView:decidePolicyForNavigationAction:decisionHandler:] in InAppWebBrowser.a(WebKitInAppBrowserViewController.o) ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)
November 17, 2019 at 1:23 am #1848ChadParticipantIt sounds like this could be an issue with Xcode 11, so it is likely that we won’t see the error if we build our projects with Xcode 11. Unfortunately, Unity Cloud Builder is still on 10, so that will be broken for the time being.
November 19, 2019 at 6:41 pm #1861PiotrKeymasterChad,
I created different version which is not using@available
API. All should be working in exact same way.Could you try it out and let me know about results?
Download .a file here.
And then replace file fromPlugins/iOS
. Do not forget to regenerate xcode project.November 22, 2019 at 7:21 am #1878ChadParticipantJust tested with the latest version on UCB and everything built great. Thank you for fixing this!
-
AuthorPosts
- You must be logged in to reply to this topic.